@primer/react-brand 0.0.4-rc.f3728d0 → 0.1.0-rc.0c7d40e
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -2
- package/lib/Hero/Hero.d.ts +2 -1
- package/lib/css/gh-variables.color.css +32 -8
- package/lib/css/main.css +23 -4
- package/lib/design-tokens/css/tokens/base/size/size.css +24 -0
- package/lib/design-tokens/css/tokens/base/typography/typography.css +11 -0
- package/lib/design-tokens/css/tokens/functional/size/border.css +17 -0
- package/lib/design-tokens/css/tokens/functional/size/breakpoints.css +13 -0
- package/lib/design-tokens/css/tokens/functional/size/size-coarse.css +10 -0
- package/lib/design-tokens/css/tokens/functional/size/size-fine.css +10 -0
- package/lib/design-tokens/css/tokens/functional/size/size.css +54 -0
- package/lib/design-tokens/css/tokens/functional/size/viewport.css +6 -0
- package/lib/design-tokens/css/tokens/functional/typography/typography.css +8 -0
- package/lib/design-tokens/js/module/tokens/base/size/size.js +266 -0
- package/lib/design-tokens/js/module/tokens/base/typography/typography.js +77 -0
- package/lib/design-tokens/js/module/tokens/functional/size/border.js +165 -0
- package/lib/design-tokens/js/module/tokens/functional/size/breakpoints.js +101 -0
- package/lib/design-tokens/js/module/tokens/functional/size/size-coarse.js +73 -0
- package/lib/design-tokens/js/module/tokens/functional/size/size-fine.js +73 -0
- package/lib/design-tokens/js/module/tokens/functional/size/size.js +824 -0
- package/lib/design-tokens/js/module/tokens/functional/size/viewport.js +101 -0
- package/lib/design-tokens/js/module/tokens/functional/typography/typography.js +26 -0
- package/lib/design-tokens/js/tokens/base/size/size.js +22 -0
- package/lib/design-tokens/js/tokens/base/typography/typography.js +9 -0
- package/lib/design-tokens/js/tokens/functional/size/border.js +15 -0
- package/lib/design-tokens/js/tokens/functional/size/breakpoints.js +11 -0
- package/lib/design-tokens/js/tokens/functional/size/size-coarse.js +8 -0
- package/lib/design-tokens/js/tokens/functional/size/size-fine.js +8 -0
- package/lib/design-tokens/js/tokens/functional/size/size.js +52 -0
- package/lib/design-tokens/js/tokens/functional/size/viewport.js +11 -0
- package/lib/design-tokens/js/tokens/functional/typography/typography.js +6 -0
- package/lib/design-tokens/ts/tokens/base/size/size.d.ts +29 -0
- package/lib/design-tokens/ts/tokens/base/size/size.js +28 -0
- package/lib/design-tokens/ts/tokens/base/typography/typography.d.ts +18 -0
- package/lib/design-tokens/ts/tokens/base/typography/typography.js +17 -0
- package/lib/design-tokens/ts/tokens/functional/size/border.d.ts +26 -0
- package/lib/design-tokens/ts/tokens/functional/size/border.js +25 -0
- package/lib/design-tokens/ts/tokens/functional/size/breakpoints.d.ts +18 -0
- package/lib/design-tokens/ts/tokens/functional/size/breakpoints.js +17 -0
- package/lib/design-tokens/ts/tokens/functional/size/size-coarse.d.ts +27 -0
- package/lib/design-tokens/ts/tokens/functional/size/size-coarse.js +26 -0
- package/lib/design-tokens/ts/tokens/functional/size/size-fine.d.ts +27 -0
- package/lib/design-tokens/ts/tokens/functional/size/size-fine.js +26 -0
- package/lib/design-tokens/ts/tokens/functional/size/size.d.ts +101 -0
- package/lib/design-tokens/ts/tokens/functional/size/size.js +100 -0
- package/lib/design-tokens/ts/tokens/functional/size/viewport.d.ts +18 -0
- package/lib/design-tokens/ts/tokens/functional/size/viewport.js +17 -0
- package/lib/design-tokens/ts/tokens/functional/typography/typography.d.ts +13 -0
- package/lib/design-tokens/ts/tokens/functional/typography/typography.js +12 -0
- package/lib/index.js +1 -1
- package/package.json +11 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
# @primer/react-brand
|
|
2
2
|
|
|
3
|
-
## 0.0
|
|
3
|
+
## 0.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#19](https://github.com/primer/react-brand/pull/19) [`3b22e9e`](https://github.com/primer/react-brand/commit/3b22e9e0823401104d6e33b3c4f8664b755ea6ba) Thanks [@colebemis](https://github.com/colebemis)! - Add `size` prop to `Hero` component
|
|
4
8
|
|
|
5
9
|
### Patch Changes
|
|
6
10
|
|
|
7
|
-
- [#
|
|
11
|
+
- [#25](https://github.com/primer/react-brand/pull/25) [`4b00b72`](https://github.com/primer/react-brand/commit/4b00b72f5dbf5e578351ea77e1e74cddc69833e7) Thanks [@rezrah](https://github.com/rezrah)! - adds baseline tokens
|
|
12
|
+
|
|
13
|
+
* [#21](https://github.com/primer/react-brand/pull/21) [`ab06cce`](https://github.com/primer/react-brand/commit/ab06cceb6ed3b2eaca70f9738b9708343b4e6db9) Thanks [@rezrah](https://github.com/rezrah)! - Remove fixed background color from `Hero` to allow underlying customisation to be surfaced.
|
|
8
14
|
|
|
9
15
|
## 0.0.3
|
|
10
16
|
|
package/lib/Hero/Hero.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export declare type HeroProps = {
|
|
|
9
9
|
primaryAction: Action;
|
|
10
10
|
secondaryAction?: Action;
|
|
11
11
|
align?: 'start' | 'center';
|
|
12
|
+
size?: 'small' | 'large';
|
|
12
13
|
};
|
|
13
|
-
export declare function Hero({ heading, description, primaryAction, secondaryAction, align }: HeroProps): JSX.Element;
|
|
14
|
+
export declare function Hero({ heading, description, primaryAction, secondaryAction, align, size }: HeroProps): JSX.Element;
|
|
14
15
|
export {};
|
|
@@ -275,6 +275,14 @@
|
|
|
275
275
|
--gh-color-actionListItem-danger-hoverBg: rgba(255, 235, 233, 0.64);
|
|
276
276
|
--gh-color-actionListItem-danger-activeBg: #ffebe9;
|
|
277
277
|
--gh-color-actionListItem-danger-hoverText: #cf222e;
|
|
278
|
+
--gh-color-switchTrack-bg: #eaeef2;
|
|
279
|
+
--gh-color-switchTrack-border: #afb8c1;
|
|
280
|
+
--gh-color-switchTrack-checked-bg: #ddf4ff;
|
|
281
|
+
--gh-color-switchTrack-checked-hoverBg: #b6e3ff;
|
|
282
|
+
--gh-color-switchTrack-checked-activeBg: #80ccff;
|
|
283
|
+
--gh-color-switchTrack-checked-border: #54aeff;
|
|
284
|
+
--gh-color-switchKnob-checked-bg: #0969da;
|
|
285
|
+
--gh-color-switchKnob-checked-disabledBg: #6e7781;
|
|
278
286
|
--gh-color-fg-default: #24292f;
|
|
279
287
|
--gh-color-fg-muted: #57606a;
|
|
280
288
|
--gh-color-fg-subtle: #6e7781;
|
|
@@ -617,6 +625,14 @@
|
|
|
617
625
|
--gh-color-actionListItem-danger-hoverBg: rgba(255, 235, 233, 0.64);
|
|
618
626
|
--gh-color-actionListItem-danger-activeBg: #ffebe9;
|
|
619
627
|
--gh-color-actionListItem-danger-hoverText: #cf222e;
|
|
628
|
+
--gh-color-switchTrack-bg: #eaeef2;
|
|
629
|
+
--gh-color-switchTrack-border: #afb8c1;
|
|
630
|
+
--gh-color-switchTrack-checked-bg: #ddf4ff;
|
|
631
|
+
--gh-color-switchTrack-checked-hoverBg: #b6e3ff;
|
|
632
|
+
--gh-color-switchTrack-checked-activeBg: #80ccff;
|
|
633
|
+
--gh-color-switchTrack-checked-border: #54aeff;
|
|
634
|
+
--gh-color-switchKnob-checked-bg: #0969da;
|
|
635
|
+
--gh-color-switchKnob-checked-disabledBg: #6e7781;
|
|
620
636
|
--gh-color-fg-default: #24292f;
|
|
621
637
|
--gh-color-fg-muted: #57606a;
|
|
622
638
|
--gh-color-fg-subtle: #6e7781;
|
|
@@ -738,7 +754,7 @@
|
|
|
738
754
|
--gh-color-codemirror-bg: #0d1117;
|
|
739
755
|
--gh-color-codemirror-guttersBg: #0d1117;
|
|
740
756
|
--gh-color-codemirror-guttermarkerText: #0d1117;
|
|
741
|
-
--gh-color-codemirror-guttermarkerSubtleText: #
|
|
757
|
+
--gh-color-codemirror-guttermarkerSubtleText: #6e7681;
|
|
742
758
|
--gh-color-codemirror-linenumberText: #8b949e;
|
|
743
759
|
--gh-color-codemirror-cursor: #c9d1d9;
|
|
744
760
|
--gh-color-codemirror-selectionBg: rgba(56, 139, 253, 0.4);
|
|
@@ -763,7 +779,7 @@
|
|
|
763
779
|
--gh-color-checks-btnHoverIcon: #c9d1d9;
|
|
764
780
|
--gh-color-checks-btnHoverBg: rgba(110, 118, 129, 0.1);
|
|
765
781
|
--gh-color-checks-inputText: #8b949e;
|
|
766
|
-
--gh-color-checks-inputPlaceholderText: #
|
|
782
|
+
--gh-color-checks-inputPlaceholderText: #6e7681;
|
|
767
783
|
--gh-color-checks-inputFocusText: #c9d1d9;
|
|
768
784
|
--gh-color-checks-inputBg: #161b22;
|
|
769
785
|
--gh-color-checks-inputShadow: 0 0 0 1px (obj) => get_1.default(obj, path);
|
|
@@ -785,8 +801,8 @@
|
|
|
785
801
|
--gh-color-checks-headerBorder: #21262d;
|
|
786
802
|
--gh-color-checks-headerIcon: #8b949e;
|
|
787
803
|
--gh-color-checks-lineText: #8b949e;
|
|
788
|
-
--gh-color-checks-lineNumText: #
|
|
789
|
-
--gh-color-checks-lineTimestampText: #
|
|
804
|
+
--gh-color-checks-lineNumText: #6e7681;
|
|
805
|
+
--gh-color-checks-lineTimestampText: #6e7681;
|
|
790
806
|
--gh-color-checks-lineHoverBg: rgba(110, 118, 129, 0.1);
|
|
791
807
|
--gh-color-checks-lineSelectedBg: rgba(56, 139, 253, 0.15);
|
|
792
808
|
--gh-color-checks-lineSelectedNumText: #58a6ff;
|
|
@@ -799,10 +815,10 @@
|
|
|
799
815
|
--gh-color-checks-stepErrorText: #f85149;
|
|
800
816
|
--gh-color-checks-stepWarningText: #d29922;
|
|
801
817
|
--gh-color-checks-loglineText: #8b949e;
|
|
802
|
-
--gh-color-checks-loglineNumText: #
|
|
818
|
+
--gh-color-checks-loglineNumText: #6e7681;
|
|
803
819
|
--gh-color-checks-loglineDebugText: #a371f7;
|
|
804
820
|
--gh-color-checks-loglineErrorText: #8b949e;
|
|
805
|
-
--gh-color-checks-loglineErrorNumText: #
|
|
821
|
+
--gh-color-checks-loglineErrorNumText: #6e7681;
|
|
806
822
|
--gh-color-checks-loglineErrorBg: rgba(248, 81, 73, 0.15);
|
|
807
823
|
--gh-color-checks-loglineWarningText: #8b949e;
|
|
808
824
|
--gh-color-checks-loglineWarningNumText: #d29922;
|
|
@@ -948,7 +964,7 @@
|
|
|
948
964
|
--gh-color-btn-danger-focusShadow: 0 0 0 3px rgba(248, 81, 73, 0.4);
|
|
949
965
|
--gh-color-btn-danger-counterBg: rgba(218, 54, 51, 0.1);
|
|
950
966
|
--gh-color-btn-danger-icon: #f85149;
|
|
951
|
-
--gh-color-underlinenav-icon: #
|
|
967
|
+
--gh-color-underlinenav-icon: #6e7681;
|
|
952
968
|
--gh-color-underlinenav-borderHover: rgba(110, 118, 129, 0.4);
|
|
953
969
|
--gh-color-actionListItem-inlineDivider: rgba(48, 54, 61, 0.48);
|
|
954
970
|
--gh-color-actionListItem-default-hoverBg: rgba(177, 186, 196, 0.12);
|
|
@@ -959,9 +975,17 @@
|
|
|
959
975
|
--gh-color-actionListItem-danger-hoverBg: rgba(248, 81, 73, 0.16);
|
|
960
976
|
--gh-color-actionListItem-danger-activeBg: rgba(248, 81, 73, 0.24);
|
|
961
977
|
--gh-color-actionListItem-danger-hoverText: #ff7b72;
|
|
978
|
+
--gh-color-switchTrack-bg: #010409;
|
|
979
|
+
--gh-color-switchTrack-border: #6e7681;
|
|
980
|
+
--gh-color-switchTrack-checked-bg: rgba(31, 111, 235, 0.35);
|
|
981
|
+
--gh-color-switchTrack-checked-hoverBg: rgba(31, 111, 235, 0.5);
|
|
982
|
+
--gh-color-switchTrack-checked-activeBg: rgba(31, 111, 235, 0.65);
|
|
983
|
+
--gh-color-switchTrack-checked-border: #58a6ff;
|
|
984
|
+
--gh-color-switchKnob-checked-bg: #1f6feb;
|
|
985
|
+
--gh-color-switchKnob-checked-disabledBg: #484f58;
|
|
962
986
|
--gh-color-fg-default: #c9d1d9;
|
|
963
987
|
--gh-color-fg-muted: #8b949e;
|
|
964
|
-
--gh-color-fg-subtle: #
|
|
988
|
+
--gh-color-fg-subtle: #6e7681;
|
|
965
989
|
--gh-color-fg-onEmphasis: #ffffff;
|
|
966
990
|
--gh-color-canvas-default: #0d1117;
|
|
967
991
|
--gh-color-canvas-overlay: #161b22;
|
package/lib/css/main.css
CHANGED
|
@@ -24,13 +24,20 @@ body {
|
|
|
24
24
|
|
|
25
25
|
.Hero-module__Hero-heading___Ns\+oe {
|
|
26
26
|
margin: 0;
|
|
27
|
-
font-size: 2.5rem;
|
|
28
27
|
font-weight: 700;
|
|
29
28
|
line-height: 1.1;
|
|
30
|
-
max-width:
|
|
29
|
+
max-width: 18ch;
|
|
31
30
|
color: var(--gh-color-fg-default);
|
|
32
31
|
}
|
|
33
32
|
|
|
33
|
+
.Hero-module__Hero--size-small___lTdu6 .Hero-module__Hero-heading___Ns\+oe {
|
|
34
|
+
font-size: 2.5rem;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.Hero-module__Hero--size-large___LjSYu .Hero-module__Hero-heading___Ns\+oe {
|
|
38
|
+
font-size: 3rem;
|
|
39
|
+
}
|
|
40
|
+
|
|
34
41
|
.Hero-module__Hero-description___5DYuI {
|
|
35
42
|
margin: 1.5rem 0 0;
|
|
36
43
|
font-size: 1rem;
|
|
@@ -56,10 +63,14 @@ body {
|
|
|
56
63
|
padding: 10.75rem 0;
|
|
57
64
|
}
|
|
58
65
|
|
|
59
|
-
.Hero-module__Hero-heading___Ns\+oe {
|
|
66
|
+
.Hero-module__Hero--size-small___lTdu6 .Hero-module__Hero-heading___Ns\+oe {
|
|
60
67
|
font-size: 3.5rem;
|
|
61
68
|
}
|
|
62
69
|
|
|
70
|
+
.Hero-module__Hero--size-large___LjSYu .Hero-module__Hero-heading___Ns\+oe {
|
|
71
|
+
font-size: 4.5rem;
|
|
72
|
+
}
|
|
73
|
+
|
|
63
74
|
.Hero-module__Hero-description___5DYuI {
|
|
64
75
|
font-size: 1.25rem;
|
|
65
76
|
}
|
|
@@ -76,9 +87,17 @@ body {
|
|
|
76
87
|
|
|
77
88
|
/* Medium breakpoint and up */
|
|
78
89
|
@media screen and (min-width: 768px) {
|
|
79
|
-
.Hero-module__Hero-heading___Ns\+oe {
|
|
90
|
+
.Hero-module__Hero--size-small___lTdu6 .Hero-module__Hero-heading___Ns\+oe {
|
|
80
91
|
font-size: 4.5rem;
|
|
81
92
|
}
|
|
93
|
+
|
|
94
|
+
.Hero-module__Hero--size-large___LjSYu .Hero-module__Hero-heading___Ns\+oe {
|
|
95
|
+
font-size: 6rem;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.Hero-module__Hero--size-large___LjSYu .Hero-module__Hero-description___5DYuI {
|
|
99
|
+
font-size: 1.5rem;
|
|
100
|
+
}
|
|
82
101
|
}
|
|
83
102
|
|
|
84
103
|
.ExpandableArrow-module__ExpandableArrow___Zzb6R {
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly
|
|
3
|
+
* Generated on Thu, 28 Apr 2022 09:17:16 GMT
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
:root {
|
|
7
|
+
--base-size-128: 8rem;
|
|
8
|
+
--base-size-112: 7rem;
|
|
9
|
+
--base-size-96: 6rem;
|
|
10
|
+
--base-size-80: 5rem;
|
|
11
|
+
--base-size-64: 4rem;
|
|
12
|
+
--base-size-48: 3rem;
|
|
13
|
+
--base-size-44: 2.75rem;
|
|
14
|
+
--base-size-40: 2.5rem;
|
|
15
|
+
--base-size-36: 2.25rem;
|
|
16
|
+
--base-size-32: 2rem;
|
|
17
|
+
--base-size-28: 1.75rem;
|
|
18
|
+
--base-size-24: 1.5rem;
|
|
19
|
+
--base-size-20: 1.25rem;
|
|
20
|
+
--base-size-16: 1rem;
|
|
21
|
+
--base-size-12: 0.75rem;
|
|
22
|
+
--base-size-8: 0.5rem;
|
|
23
|
+
--base-size-4: 0.25rem;
|
|
24
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly
|
|
3
|
+
* Generated on Thu, 28 Apr 2022 09:17:15 GMT
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
:root {
|
|
7
|
+
--brand-borderRadius-full: 100vh;
|
|
8
|
+
--brand-borderRadius-large: 0.75rem;
|
|
9
|
+
--brand-borderRadius-medium: 0.375rem;
|
|
10
|
+
--brand-borderRadius-small: 0.1875rem;
|
|
11
|
+
--brand-borderWidth-thick: max(4px, 0.25rem);
|
|
12
|
+
--brand-borderWidth-normal: max(2px, 0.125rem);
|
|
13
|
+
--brand-borderWidth-thin: max(1px, 0.0625rem);
|
|
14
|
+
--brand-borderInset-thick: inset 0 0 0 var(--brand-borderWidth-thick);
|
|
15
|
+
--brand-borderInset-normal: inset 0 0 0 var(--brand-borderWidth-normal);
|
|
16
|
+
--brand-borderInset-thin: inset 0 0 0 var(--brand-borderWidth-thin);
|
|
17
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly
|
|
3
|
+
* Generated on Thu, 28 Apr 2022 09:17:15 GMT
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
:root {
|
|
7
|
+
--brand-breakpoint-xxlarge: 90rem;
|
|
8
|
+
--brand-breakpoint-xlarge: 80rem;
|
|
9
|
+
--brand-breakpoint-large: 63.25rem;
|
|
10
|
+
--brand-breakpoint-medium: 48rem;
|
|
11
|
+
--brand-breakpoint-small: 34rem;
|
|
12
|
+
--brand-breakpoint-xsmall: 20rem;
|
|
13
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly
|
|
3
|
+
* Generated on Thu, 28 Apr 2022 09:17:16 GMT
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
@media (pointer: coarse) { :root {
|
|
7
|
+
--brand-controlStack-medium-gap-auto: var(--base-size-12);
|
|
8
|
+
--brand-controlStack-small-gap-auto: var(--base-size-16);
|
|
9
|
+
--brand-control-minTarget-auto: var(--base-size-44);
|
|
10
|
+
}}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly
|
|
3
|
+
* Generated on Thu, 28 Apr 2022 09:17:16 GMT
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
@media (pointer: fine) { :root {
|
|
7
|
+
--brand-controlStack-medium-gap-auto: var(--base-size-8);
|
|
8
|
+
--brand-controlStack-small-gap-auto: var(--base-size-8);
|
|
9
|
+
--brand-control-minTarget-auto: var(--base-size-16);
|
|
10
|
+
}}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly
|
|
3
|
+
* Generated on Thu, 28 Apr 2022 09:17:15 GMT
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
:root {
|
|
7
|
+
--brand-controlStack-large-gap-spacious: var(--base-size-12);
|
|
8
|
+
--brand-controlStack-large-gap-condensed: var(--base-size-8);
|
|
9
|
+
--brand-controlStack-large-gap-auto: var(--base-size-8);
|
|
10
|
+
--brand-controlStack-medium-gap-spacious: var(--base-size-12);
|
|
11
|
+
--brand-controlStack-medium-gap-condensed: var(--base-size-8);
|
|
12
|
+
--brand-controlStack-small-gap-spacious: var(--base-size-16);
|
|
13
|
+
--brand-controlStack-small-gap-condensed: var(--base-size-8);
|
|
14
|
+
--brand-stack-gap-spacious: var(--base-size-24);
|
|
15
|
+
--brand-stack-gap-normal: var(--base-size-16);
|
|
16
|
+
--brand-stack-gap-condensed: var(--base-size-8);
|
|
17
|
+
--brand-stack-padding-spacious: var(--base-size-24);
|
|
18
|
+
--brand-stack-padding-normal: var(--base-size-16);
|
|
19
|
+
--brand-stack-padding-condensed: var(--base-size-8);
|
|
20
|
+
--brand-control-xlarge-gap: var(--base-size-8);
|
|
21
|
+
--brand-control-xlarge-paddingInline-spacious: var(--base-size-16);
|
|
22
|
+
--brand-control-xlarge-paddingInline-normal: var(--base-size-12);
|
|
23
|
+
--brand-control-xlarge-lineBoxHeight: var(--base-size-20);
|
|
24
|
+
--brand-control-xlarge-size: var(--base-size-48);
|
|
25
|
+
--brand-control-large-gap: var(--base-size-8);
|
|
26
|
+
--brand-control-large-paddingInline-spacious: var(--base-size-16);
|
|
27
|
+
--brand-control-large-paddingInline-normal: var(--base-size-12);
|
|
28
|
+
--brand-control-large-lineBoxHeight: var(--base-size-20);
|
|
29
|
+
--brand-control-large-size: var(--base-size-40);
|
|
30
|
+
--brand-control-medium-gap: var(--base-size-8);
|
|
31
|
+
--brand-control-medium-paddingInline-spacious: var(--base-size-16);
|
|
32
|
+
--brand-control-medium-paddingInline-normal: var(--base-size-12);
|
|
33
|
+
--brand-control-medium-paddingInline-condensed: var(--base-size-8);
|
|
34
|
+
--brand-control-medium-lineBoxHeight: var(--base-size-20);
|
|
35
|
+
--brand-control-medium-size: var(--base-size-32);
|
|
36
|
+
--brand-control-small-gap: var(--base-size-4);
|
|
37
|
+
--brand-control-small-paddingInline-normal: var(--base-size-12);
|
|
38
|
+
--brand-control-small-paddingInline-condensed: var(--base-size-8);
|
|
39
|
+
--brand-control-small-lineBoxHeight: var(--base-size-20);
|
|
40
|
+
--brand-control-small-size: var(--base-size-28);
|
|
41
|
+
--brand-control-xsmall-gap: var(--base-size-4);
|
|
42
|
+
--brand-control-xsmall-paddingInline-spacious: var(--base-size-12);
|
|
43
|
+
--brand-control-xsmall-paddingInline-normal: var(--base-size-8);
|
|
44
|
+
--brand-control-xsmall-paddingInline-condensed: var(--base-size-4);
|
|
45
|
+
--brand-control-xsmall-lineBoxHeight: var(--base-size-20);
|
|
46
|
+
--brand-control-xsmall-size: var(--base-size-24);
|
|
47
|
+
--brand-control-minTarget-coarse: var(--base-size-44);
|
|
48
|
+
--brand-control-minTarget-fine: var(--base-size-16);
|
|
49
|
+
--brand-control-xlarge-paddingBlock: calc((var(--brand-control-xlarge-size) - var(--brand-control-xlarge-lineBoxHeight)) / 2);
|
|
50
|
+
--brand-control-large-paddingBlock: calc((var(--brand-control-large-size) - var(--brand-control-large-lineBoxHeight)) / 2);
|
|
51
|
+
--brand-control-medium-paddingBlock: calc((var(--brand-control-medium-size) - var(--brand-control-medium-lineBoxHeight)) / 2);
|
|
52
|
+
--brand-control-small-paddingBlock: calc((var(--brand-control-small-size) - var(--brand-control-small-lineBoxHeight)) / 2);
|
|
53
|
+
--brand-control-xsmall-paddingBlock: calc((var(--brand-control-xsmall-size) - var(--brand-control-xsmall-lineBoxHeight)) / 2);
|
|
54
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
@custom-media --brand-viewportRange-narrow-viewport (max-width: calc(48rem - 0.02px));
|
|
2
|
+
@custom-media --brand-viewportRange-narrowLandscape-viewport (max-width: calc(63.25rem - 0.02px) and (max-height: calc(34rem - 0.02px)) and (orientation: landscape));
|
|
3
|
+
@custom-media --brand-viewportRange-regular-viewport (min-width: 48rem);
|
|
4
|
+
@custom-media --brand-viewportRange-wide-viewport (min-width: 90rem);
|
|
5
|
+
@custom-media --brand-viewportRange-portrait-viewport (orientation: portrait);
|
|
6
|
+
@custom-media --brand-viewportRange-landscape-viewport (orientation: landscape);
|
|
@@ -0,0 +1,266 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly
|
|
3
|
+
* Generated on Thu, 28 Apr 2022 09:17:16 GMT
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
module.exports = {
|
|
7
|
+
"base": {
|
|
8
|
+
"size": {
|
|
9
|
+
"4": {
|
|
10
|
+
"value": "0.25rem",
|
|
11
|
+
"filePath": "tokens/base/size/size.json",
|
|
12
|
+
"isSource": true,
|
|
13
|
+
"original": {
|
|
14
|
+
"value": "4px"
|
|
15
|
+
},
|
|
16
|
+
"name": "4",
|
|
17
|
+
"attributes": {},
|
|
18
|
+
"path": [
|
|
19
|
+
"base",
|
|
20
|
+
"size",
|
|
21
|
+
"4"
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
"8": {
|
|
25
|
+
"value": "0.5rem",
|
|
26
|
+
"filePath": "tokens/base/size/size.json",
|
|
27
|
+
"isSource": true,
|
|
28
|
+
"original": {
|
|
29
|
+
"value": "8px"
|
|
30
|
+
},
|
|
31
|
+
"name": "8",
|
|
32
|
+
"attributes": {},
|
|
33
|
+
"path": [
|
|
34
|
+
"base",
|
|
35
|
+
"size",
|
|
36
|
+
"8"
|
|
37
|
+
]
|
|
38
|
+
},
|
|
39
|
+
"12": {
|
|
40
|
+
"value": "0.75rem",
|
|
41
|
+
"filePath": "tokens/base/size/size.json",
|
|
42
|
+
"isSource": true,
|
|
43
|
+
"original": {
|
|
44
|
+
"value": "12px"
|
|
45
|
+
},
|
|
46
|
+
"name": "12",
|
|
47
|
+
"attributes": {},
|
|
48
|
+
"path": [
|
|
49
|
+
"base",
|
|
50
|
+
"size",
|
|
51
|
+
"12"
|
|
52
|
+
]
|
|
53
|
+
},
|
|
54
|
+
"16": {
|
|
55
|
+
"value": "1rem",
|
|
56
|
+
"filePath": "tokens/base/size/size.json",
|
|
57
|
+
"isSource": true,
|
|
58
|
+
"original": {
|
|
59
|
+
"value": "16px"
|
|
60
|
+
},
|
|
61
|
+
"name": "16",
|
|
62
|
+
"attributes": {},
|
|
63
|
+
"path": [
|
|
64
|
+
"base",
|
|
65
|
+
"size",
|
|
66
|
+
"16"
|
|
67
|
+
]
|
|
68
|
+
},
|
|
69
|
+
"20": {
|
|
70
|
+
"value": "1.25rem",
|
|
71
|
+
"filePath": "tokens/base/size/size.json",
|
|
72
|
+
"isSource": true,
|
|
73
|
+
"original": {
|
|
74
|
+
"value": "20px"
|
|
75
|
+
},
|
|
76
|
+
"name": "20",
|
|
77
|
+
"attributes": {},
|
|
78
|
+
"path": [
|
|
79
|
+
"base",
|
|
80
|
+
"size",
|
|
81
|
+
"20"
|
|
82
|
+
]
|
|
83
|
+
},
|
|
84
|
+
"24": {
|
|
85
|
+
"value": "1.5rem",
|
|
86
|
+
"filePath": "tokens/base/size/size.json",
|
|
87
|
+
"isSource": true,
|
|
88
|
+
"original": {
|
|
89
|
+
"value": "24px"
|
|
90
|
+
},
|
|
91
|
+
"name": "24",
|
|
92
|
+
"attributes": {},
|
|
93
|
+
"path": [
|
|
94
|
+
"base",
|
|
95
|
+
"size",
|
|
96
|
+
"24"
|
|
97
|
+
]
|
|
98
|
+
},
|
|
99
|
+
"28": {
|
|
100
|
+
"value": "1.75rem",
|
|
101
|
+
"filePath": "tokens/base/size/size.json",
|
|
102
|
+
"isSource": true,
|
|
103
|
+
"original": {
|
|
104
|
+
"value": "28px"
|
|
105
|
+
},
|
|
106
|
+
"name": "28",
|
|
107
|
+
"attributes": {},
|
|
108
|
+
"path": [
|
|
109
|
+
"base",
|
|
110
|
+
"size",
|
|
111
|
+
"28"
|
|
112
|
+
]
|
|
113
|
+
},
|
|
114
|
+
"32": {
|
|
115
|
+
"value": "2rem",
|
|
116
|
+
"filePath": "tokens/base/size/size.json",
|
|
117
|
+
"isSource": true,
|
|
118
|
+
"original": {
|
|
119
|
+
"value": "32px"
|
|
120
|
+
},
|
|
121
|
+
"name": "32",
|
|
122
|
+
"attributes": {},
|
|
123
|
+
"path": [
|
|
124
|
+
"base",
|
|
125
|
+
"size",
|
|
126
|
+
"32"
|
|
127
|
+
]
|
|
128
|
+
},
|
|
129
|
+
"36": {
|
|
130
|
+
"value": "2.25rem",
|
|
131
|
+
"filePath": "tokens/base/size/size.json",
|
|
132
|
+
"isSource": true,
|
|
133
|
+
"original": {
|
|
134
|
+
"value": "36px"
|
|
135
|
+
},
|
|
136
|
+
"name": "36",
|
|
137
|
+
"attributes": {},
|
|
138
|
+
"path": [
|
|
139
|
+
"base",
|
|
140
|
+
"size",
|
|
141
|
+
"36"
|
|
142
|
+
]
|
|
143
|
+
},
|
|
144
|
+
"40": {
|
|
145
|
+
"value": "2.5rem",
|
|
146
|
+
"filePath": "tokens/base/size/size.json",
|
|
147
|
+
"isSource": true,
|
|
148
|
+
"original": {
|
|
149
|
+
"value": "40px"
|
|
150
|
+
},
|
|
151
|
+
"name": "40",
|
|
152
|
+
"attributes": {},
|
|
153
|
+
"path": [
|
|
154
|
+
"base",
|
|
155
|
+
"size",
|
|
156
|
+
"40"
|
|
157
|
+
]
|
|
158
|
+
},
|
|
159
|
+
"44": {
|
|
160
|
+
"value": "2.75rem",
|
|
161
|
+
"filePath": "tokens/base/size/size.json",
|
|
162
|
+
"isSource": true,
|
|
163
|
+
"original": {
|
|
164
|
+
"value": "44px"
|
|
165
|
+
},
|
|
166
|
+
"name": "44",
|
|
167
|
+
"attributes": {},
|
|
168
|
+
"path": [
|
|
169
|
+
"base",
|
|
170
|
+
"size",
|
|
171
|
+
"44"
|
|
172
|
+
]
|
|
173
|
+
},
|
|
174
|
+
"48": {
|
|
175
|
+
"value": "3rem",
|
|
176
|
+
"filePath": "tokens/base/size/size.json",
|
|
177
|
+
"isSource": true,
|
|
178
|
+
"original": {
|
|
179
|
+
"value": "48px"
|
|
180
|
+
},
|
|
181
|
+
"name": "48",
|
|
182
|
+
"attributes": {},
|
|
183
|
+
"path": [
|
|
184
|
+
"base",
|
|
185
|
+
"size",
|
|
186
|
+
"48"
|
|
187
|
+
]
|
|
188
|
+
},
|
|
189
|
+
"64": {
|
|
190
|
+
"value": "4rem",
|
|
191
|
+
"filePath": "tokens/base/size/size.json",
|
|
192
|
+
"isSource": true,
|
|
193
|
+
"original": {
|
|
194
|
+
"value": "64px"
|
|
195
|
+
},
|
|
196
|
+
"name": "64",
|
|
197
|
+
"attributes": {},
|
|
198
|
+
"path": [
|
|
199
|
+
"base",
|
|
200
|
+
"size",
|
|
201
|
+
"64"
|
|
202
|
+
]
|
|
203
|
+
},
|
|
204
|
+
"80": {
|
|
205
|
+
"value": "5rem",
|
|
206
|
+
"filePath": "tokens/base/size/size.json",
|
|
207
|
+
"isSource": true,
|
|
208
|
+
"original": {
|
|
209
|
+
"value": "80px"
|
|
210
|
+
},
|
|
211
|
+
"name": "80",
|
|
212
|
+
"attributes": {},
|
|
213
|
+
"path": [
|
|
214
|
+
"base",
|
|
215
|
+
"size",
|
|
216
|
+
"80"
|
|
217
|
+
]
|
|
218
|
+
},
|
|
219
|
+
"96": {
|
|
220
|
+
"value": "6rem",
|
|
221
|
+
"filePath": "tokens/base/size/size.json",
|
|
222
|
+
"isSource": true,
|
|
223
|
+
"original": {
|
|
224
|
+
"value": "96px"
|
|
225
|
+
},
|
|
226
|
+
"name": "96",
|
|
227
|
+
"attributes": {},
|
|
228
|
+
"path": [
|
|
229
|
+
"base",
|
|
230
|
+
"size",
|
|
231
|
+
"96"
|
|
232
|
+
]
|
|
233
|
+
},
|
|
234
|
+
"112": {
|
|
235
|
+
"value": "7rem",
|
|
236
|
+
"filePath": "tokens/base/size/size.json",
|
|
237
|
+
"isSource": true,
|
|
238
|
+
"original": {
|
|
239
|
+
"value": "112px"
|
|
240
|
+
},
|
|
241
|
+
"name": "112",
|
|
242
|
+
"attributes": {},
|
|
243
|
+
"path": [
|
|
244
|
+
"base",
|
|
245
|
+
"size",
|
|
246
|
+
"112"
|
|
247
|
+
]
|
|
248
|
+
},
|
|
249
|
+
"128": {
|
|
250
|
+
"value": "8rem",
|
|
251
|
+
"filePath": "tokens/base/size/size.json",
|
|
252
|
+
"isSource": true,
|
|
253
|
+
"original": {
|
|
254
|
+
"value": "128px"
|
|
255
|
+
},
|
|
256
|
+
"name": "128",
|
|
257
|
+
"attributes": {},
|
|
258
|
+
"path": [
|
|
259
|
+
"base",
|
|
260
|
+
"size",
|
|
261
|
+
"128"
|
|
262
|
+
]
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
};
|