@primer/react-brand 0.3.0 → 0.4.0-rc.420e2e9
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 +198 -0
- package/README.md +25 -9
- package/lib/Accordion/Accordion.d.ts +9 -9
- package/lib/Accordion/Accordion.visual.spec.d.ts +1 -0
- package/lib/Button/Button.d.ts +6 -2
- package/lib/Button/Button.visual.spec.d.ts +1 -0
- package/lib/ExpandableArrow/ExpandableArrow.visual.spec.d.ts +1 -0
- package/lib/FAQ/FAQ.d.ts +14 -15
- package/lib/FAQ/FAQ.visual.spec.d.ts +1 -0
- package/lib/Heading/Heading.d.ts +4 -3
- package/lib/Heading/Heading.visual.spec.d.ts +1 -0
- package/lib/Hero/Hero.d.ts +3 -3
- package/lib/Hero/Hero.visual.spec.d.ts +1 -0
- package/lib/InlineLink/InlineLink.d.ts +4 -7
- package/lib/InlineLink/InlineLink.visual.spec.d.ts +1 -0
- package/lib/Link/Link.visual.spec.d.ts +1 -0
- package/lib/MonaSans/MonaSans.visual.spec.d.ts +1 -0
- package/lib/River/River.d.ts +52 -16
- package/lib/River/River.visual.spec.d.ts +1 -0
- package/lib/Text/Text.visual.spec.d.ts +1 -0
- package/lib/ThemeProvider/ThemeProvider.visual.spec.d.ts +1 -0
- package/lib/component-helpers.d.ts +21 -3
- package/lib/css/main.css +788 -19
- package/lib/css/stylesheets.d.ts +1 -0
- package/lib/design-tokens/css/tokens/base/colors/color-scales-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/base/colors/color-scales.css +1 -1
- package/lib/design-tokens/css/tokens/base/size/size.css +1 -1
- package/lib/design-tokens/css/tokens/base/typography/typography.css +1 -1
- package/lib/design-tokens/css/tokens/functional/colors/global-with-modes.css +25 -1
- package/lib/design-tokens/css/tokens/functional/colors/global.css +9 -1
- package/lib/design-tokens/css/tokens/functional/components/accordion/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/button/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/control/base.css +18 -0
- package/lib/design-tokens/css/tokens/functional/components/control/colors-with-modes.css +55 -0
- package/lib/design-tokens/css/tokens/functional/components/faq/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/faq/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/faq/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/hero/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/inline-link/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/inline-link/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/river/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/size/border.css +1 -1
- package/lib/design-tokens/css/tokens/functional/size/breakpoints.css +1 -1
- package/lib/design-tokens/css/tokens/functional/size/size-coarse.css +1 -1
- package/lib/design-tokens/css/tokens/functional/size/size-fine.css +1 -1
- package/lib/design-tokens/css/tokens/functional/size/size.css +3 -5
- package/lib/design-tokens/css/tokens/functional/typography/typography-responsive.css +1 -1
- package/lib/design-tokens/css/tokens/functional/typography/typography.css +1 -1
- package/lib/design-tokens/js/module/tokens/base/colors/color-scales.js +1 -1
- package/lib/design-tokens/js/module/tokens/base/size/size.js +1 -1
- package/lib/design-tokens/js/module/tokens/base/typography/typography.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/colors/global.js +149 -1
- package/lib/design-tokens/js/module/tokens/functional/components/control/base.js +195 -0
- package/lib/design-tokens/js/module/tokens/functional/components/faq/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/faq/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/hero/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/inline-link/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/river/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/size/border.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/size/breakpoints.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/size/size-coarse.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/size/size-fine.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/size/size.js +3 -35
- package/lib/design-tokens/js/module/tokens/functional/size/viewport.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/typography/typography-responsive.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/typography/typography.js +1 -1
- package/lib/design-tokens/js/tokens/base/colors/color-scales.js +1 -1
- package/lib/design-tokens/js/tokens/base/size/size.js +1 -1
- package/lib/design-tokens/js/tokens/base/typography/typography.js +1 -1
- package/lib/design-tokens/js/tokens/functional/colors/global.js +9 -1
- package/lib/design-tokens/js/tokens/functional/components/control/base.js +16 -0
- package/lib/design-tokens/js/tokens/functional/components/faq/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/faq/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/hero/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/inline-link/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/river/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/size/border.js +1 -1
- package/lib/design-tokens/js/tokens/functional/size/breakpoints.js +1 -1
- package/lib/design-tokens/js/tokens/functional/size/size-coarse.js +1 -1
- package/lib/design-tokens/js/tokens/functional/size/size-fine.js +1 -1
- package/lib/design-tokens/js/tokens/functional/size/size.js +3 -5
- package/lib/design-tokens/js/tokens/functional/size/viewport.js +1 -1
- package/lib/design-tokens/js/tokens/functional/typography/typography-responsive.js +1 -1
- package/lib/design-tokens/js/tokens/functional/typography/typography.js +1 -1
- package/lib/design-tokens/ts/tokens/base/colors/color-scales.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/base/colors/color-scales.js +1 -1
- package/lib/design-tokens/ts/tokens/base/size/size.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/base/size/size.js +1 -1
- package/lib/design-tokens/ts/tokens/base/typography/typography.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/base/typography/typography.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/colors/global.d.ts +13 -1
- package/lib/design-tokens/ts/tokens/functional/colors/global.js +13 -1
- package/lib/design-tokens/ts/tokens/functional/components/control/base.d.ts +31 -0
- package/lib/design-tokens/ts/tokens/functional/components/control/base.js +30 -0
- package/lib/design-tokens/ts/tokens/functional/components/faq/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/faq/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/faq/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/faq/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/hero/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/hero/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/inline-link/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/inline-link/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/river/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/river/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/border.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/border.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/breakpoints.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/breakpoints.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/size-coarse.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/size-coarse.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/size-fine.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/size-fine.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/size.d.ts +1 -3
- package/lib/design-tokens/ts/tokens/functional/size/size.js +3 -5
- package/lib/design-tokens/ts/tokens/functional/size/viewport.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/viewport.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/typography/typography-responsive.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/typography/typography-responsive.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/typography/typography.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/typography/typography.js +1 -1
- package/lib/forms/Checkbox/Checkbox.d.ts +57 -0
- package/lib/forms/Checkbox/forms.visual.spec.d.ts +1 -0
- package/lib/forms/Checkbox/index.d.ts +1 -0
- package/lib/forms/FormControl/FormControl.d.ts +57 -0
- package/lib/forms/FormControl/forms.visual.spec.d.ts +1 -0
- package/lib/forms/FormControl/index.d.ts +1 -0
- package/lib/forms/Select/Select.d.ts +58 -0
- package/lib/forms/Select/index.d.ts +1 -0
- package/lib/forms/TextInput/TextInput.d.ts +87 -0
- package/lib/forms/TextInput/index.d.ts +1 -0
- package/lib/forms/form-types.d.ts +2 -0
- package/lib/forms/index.d.ts +10 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.js +1 -1
- package/package.json +26 -9
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly
|
|
3
|
+
* Generated on Mon, 12 Sep 2022 10:04:23 GMT
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
module.exports = {
|
|
7
|
+
"brand": {
|
|
8
|
+
"control": {
|
|
9
|
+
"medium": {
|
|
10
|
+
"size": {
|
|
11
|
+
"value": "2.5rem",
|
|
12
|
+
"filePath": "tokens/functional/components/control/base.json",
|
|
13
|
+
"isSource": true,
|
|
14
|
+
"original": {
|
|
15
|
+
"value": "40px"
|
|
16
|
+
},
|
|
17
|
+
"name": "size",
|
|
18
|
+
"attributes": {},
|
|
19
|
+
"path": [
|
|
20
|
+
"brand",
|
|
21
|
+
"control",
|
|
22
|
+
"medium",
|
|
23
|
+
"size"
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
"padding": {
|
|
27
|
+
"value": "0.625rem",
|
|
28
|
+
"filePath": "tokens/functional/components/control/base.json",
|
|
29
|
+
"isSource": true,
|
|
30
|
+
"original": {
|
|
31
|
+
"value": "10px"
|
|
32
|
+
},
|
|
33
|
+
"name": "padding",
|
|
34
|
+
"attributes": {},
|
|
35
|
+
"path": [
|
|
36
|
+
"brand",
|
|
37
|
+
"control",
|
|
38
|
+
"medium",
|
|
39
|
+
"padding"
|
|
40
|
+
]
|
|
41
|
+
},
|
|
42
|
+
"fontWeight": {
|
|
43
|
+
"value": "var(--brand-text-weight-200)",
|
|
44
|
+
"filePath": "tokens/functional/components/control/base.json",
|
|
45
|
+
"isSource": true,
|
|
46
|
+
"original": {
|
|
47
|
+
"value": "var(--brand-text-weight-200)"
|
|
48
|
+
},
|
|
49
|
+
"name": "fontWeight",
|
|
50
|
+
"attributes": {},
|
|
51
|
+
"path": [
|
|
52
|
+
"brand",
|
|
53
|
+
"control",
|
|
54
|
+
"medium",
|
|
55
|
+
"fontWeight"
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
"fontSize": {
|
|
59
|
+
"value": "var(--brand-text-size-200)",
|
|
60
|
+
"filePath": "tokens/functional/components/control/base.json",
|
|
61
|
+
"isSource": true,
|
|
62
|
+
"original": {
|
|
63
|
+
"value": "var(--brand-text-size-200)"
|
|
64
|
+
},
|
|
65
|
+
"name": "fontSize",
|
|
66
|
+
"attributes": {},
|
|
67
|
+
"path": [
|
|
68
|
+
"brand",
|
|
69
|
+
"control",
|
|
70
|
+
"medium",
|
|
71
|
+
"fontSize"
|
|
72
|
+
]
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"large": {
|
|
76
|
+
"size": {
|
|
77
|
+
"value": "var(--base-size-48)",
|
|
78
|
+
"filePath": "tokens/functional/components/control/base.json",
|
|
79
|
+
"isSource": true,
|
|
80
|
+
"original": {
|
|
81
|
+
"value": "var(--base-size-48)"
|
|
82
|
+
},
|
|
83
|
+
"name": "size",
|
|
84
|
+
"attributes": {},
|
|
85
|
+
"path": [
|
|
86
|
+
"brand",
|
|
87
|
+
"control",
|
|
88
|
+
"large",
|
|
89
|
+
"size"
|
|
90
|
+
]
|
|
91
|
+
},
|
|
92
|
+
"padding": {
|
|
93
|
+
"value": "var(--base-size-12)",
|
|
94
|
+
"filePath": "tokens/functional/components/control/base.json",
|
|
95
|
+
"isSource": true,
|
|
96
|
+
"original": {
|
|
97
|
+
"value": "var(--base-size-12)"
|
|
98
|
+
},
|
|
99
|
+
"name": "padding",
|
|
100
|
+
"attributes": {},
|
|
101
|
+
"path": [
|
|
102
|
+
"brand",
|
|
103
|
+
"control",
|
|
104
|
+
"large",
|
|
105
|
+
"padding"
|
|
106
|
+
]
|
|
107
|
+
},
|
|
108
|
+
"fontWeight": {
|
|
109
|
+
"value": "var(--brand-text-weight-300)",
|
|
110
|
+
"filePath": "tokens/functional/components/control/base.json",
|
|
111
|
+
"isSource": true,
|
|
112
|
+
"original": {
|
|
113
|
+
"value": "var(--brand-text-weight-300)"
|
|
114
|
+
},
|
|
115
|
+
"name": "fontWeight",
|
|
116
|
+
"attributes": {},
|
|
117
|
+
"path": [
|
|
118
|
+
"brand",
|
|
119
|
+
"control",
|
|
120
|
+
"large",
|
|
121
|
+
"fontWeight"
|
|
122
|
+
]
|
|
123
|
+
},
|
|
124
|
+
"fontSize": {
|
|
125
|
+
"value": "var(--brand-text-size-300)",
|
|
126
|
+
"filePath": "tokens/functional/components/control/base.json",
|
|
127
|
+
"isSource": true,
|
|
128
|
+
"original": {
|
|
129
|
+
"value": "var(--brand-text-size-300)"
|
|
130
|
+
},
|
|
131
|
+
"name": "fontSize",
|
|
132
|
+
"attributes": {},
|
|
133
|
+
"path": [
|
|
134
|
+
"brand",
|
|
135
|
+
"control",
|
|
136
|
+
"large",
|
|
137
|
+
"fontSize"
|
|
138
|
+
]
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
"border": {
|
|
142
|
+
"radius": {
|
|
143
|
+
"value": "var(--brand-borderRadius-medium)",
|
|
144
|
+
"filePath": "tokens/functional/components/control/base.json",
|
|
145
|
+
"isSource": true,
|
|
146
|
+
"original": {
|
|
147
|
+
"value": "var(--brand-borderRadius-medium)"
|
|
148
|
+
},
|
|
149
|
+
"name": "radius",
|
|
150
|
+
"attributes": {},
|
|
151
|
+
"path": [
|
|
152
|
+
"brand",
|
|
153
|
+
"control",
|
|
154
|
+
"border",
|
|
155
|
+
"radius"
|
|
156
|
+
]
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
"animation": {
|
|
160
|
+
"duration": {
|
|
161
|
+
"value": "80ms",
|
|
162
|
+
"filePath": "tokens/functional/components/control/base.json",
|
|
163
|
+
"isSource": true,
|
|
164
|
+
"original": {
|
|
165
|
+
"value": "80ms"
|
|
166
|
+
},
|
|
167
|
+
"name": "duration",
|
|
168
|
+
"attributes": {},
|
|
169
|
+
"path": [
|
|
170
|
+
"brand",
|
|
171
|
+
"control",
|
|
172
|
+
"animation",
|
|
173
|
+
"duration"
|
|
174
|
+
]
|
|
175
|
+
},
|
|
176
|
+
"easing": {
|
|
177
|
+
"value": "cubic-bezier(0.33, 1, 0.68, 1)",
|
|
178
|
+
"filePath": "tokens/functional/components/control/base.json",
|
|
179
|
+
"isSource": true,
|
|
180
|
+
"original": {
|
|
181
|
+
"value": "cubic-bezier(0.33, 1, 0.68, 1)"
|
|
182
|
+
},
|
|
183
|
+
"name": "easing",
|
|
184
|
+
"attributes": {},
|
|
185
|
+
"path": [
|
|
186
|
+
"brand",
|
|
187
|
+
"control",
|
|
188
|
+
"animation",
|
|
189
|
+
"easing"
|
|
190
|
+
]
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Mon, 12 Sep 2022 10:04:23 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
module.exports = {
|
|
@@ -262,22 +262,6 @@ module.exports = {
|
|
|
262
262
|
}
|
|
263
263
|
},
|
|
264
264
|
"medium": {
|
|
265
|
-
"size": {
|
|
266
|
-
"value": "2rem",
|
|
267
|
-
"filePath": "tokens/functional/size/size.json",
|
|
268
|
-
"isSource": true,
|
|
269
|
-
"original": {
|
|
270
|
-
"value": "{base.size.32}"
|
|
271
|
-
},
|
|
272
|
-
"name": "size",
|
|
273
|
-
"attributes": {},
|
|
274
|
-
"path": [
|
|
275
|
-
"brand",
|
|
276
|
-
"control",
|
|
277
|
-
"medium",
|
|
278
|
-
"size"
|
|
279
|
-
]
|
|
280
|
-
},
|
|
281
265
|
"lineBoxHeight": {
|
|
282
266
|
"value": "1.25rem",
|
|
283
267
|
"filePath": "tokens/functional/size/size.json",
|
|
@@ -295,7 +279,7 @@ module.exports = {
|
|
|
295
279
|
]
|
|
296
280
|
},
|
|
297
281
|
"paddingBlock": {
|
|
298
|
-
"value": "calc((
|
|
282
|
+
"value": "calc((2.5rem - 1.25rem) / 2)",
|
|
299
283
|
"filePath": "tokens/functional/size/size.json",
|
|
300
284
|
"isSource": true,
|
|
301
285
|
"original": {
|
|
@@ -381,22 +365,6 @@ module.exports = {
|
|
|
381
365
|
}
|
|
382
366
|
},
|
|
383
367
|
"large": {
|
|
384
|
-
"size": {
|
|
385
|
-
"value": "2.5rem",
|
|
386
|
-
"filePath": "tokens/functional/size/size.json",
|
|
387
|
-
"isSource": true,
|
|
388
|
-
"original": {
|
|
389
|
-
"value": "{base.size.40}"
|
|
390
|
-
},
|
|
391
|
-
"name": "size",
|
|
392
|
-
"attributes": {},
|
|
393
|
-
"path": [
|
|
394
|
-
"brand",
|
|
395
|
-
"control",
|
|
396
|
-
"large",
|
|
397
|
-
"size"
|
|
398
|
-
]
|
|
399
|
-
},
|
|
400
368
|
"lineBoxHeight": {
|
|
401
369
|
"value": "1.25rem",
|
|
402
370
|
"filePath": "tokens/functional/size/size.json",
|
|
@@ -414,7 +382,7 @@ module.exports = {
|
|
|
414
382
|
]
|
|
415
383
|
},
|
|
416
384
|
"paddingBlock": {
|
|
417
|
-
"value": "calc((
|
|
385
|
+
"value": "calc((var(--base-size-48) - 1.25rem) / 2)",
|
|
418
386
|
"filePath": "tokens/functional/size/size.json",
|
|
419
387
|
"isSource": true,
|
|
420
388
|
"original": {
|
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Mon, 12 Sep 2022 10:04:23 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
+
export const BrandColorSuccessFg = "var(--base-color-scale-green-5)";
|
|
7
|
+
export const BrandColorSuccessEmphasis = "var(--base-color-scale-green-4)";
|
|
8
|
+
export const BrandColorSuccessMuted = "hsl(var(--base-color-scale-green-3-hsl) / 60%)";
|
|
9
|
+
export const BrandColorSuccessSubtle = "var(--base-color-scale-green-0)";
|
|
10
|
+
export const BrandColorErrorFg = "var(--base-color-scale-red-5)";
|
|
11
|
+
export const BrandColorErrorEmphasis = "var(--base-color-scale-red-5)";
|
|
12
|
+
export const BrandColorErrorMuted = "hsl(var(--base-color-scale-red-3-hsl) / 60%)";
|
|
13
|
+
export const BrandColorErrorSubtle = "var(--base-color-scale-red-0)";
|
|
6
14
|
export const BrandColorAccentFg = "var(--base-color-scale-pink-5)";
|
|
7
15
|
export const BrandColorAccentEmphasis = "var(--base-color-scale-pink-5)";
|
|
8
16
|
export const BrandColorAccentMuted = "hsl(var(--base-color-scale-pink-3-hsl) / 60%)";
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly
|
|
3
|
+
* Generated on Mon, 12 Sep 2022 10:04:23 GMT
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
export const BrandControlMediumSize = "2.5rem";
|
|
7
|
+
export const BrandControlMediumPadding = "0.625rem";
|
|
8
|
+
export const BrandControlMediumFontWeight = "var(--brand-text-weight-200)";
|
|
9
|
+
export const BrandControlMediumFontSize = "var(--brand-text-size-200)";
|
|
10
|
+
export const BrandControlLargeSize = "var(--base-size-48)";
|
|
11
|
+
export const BrandControlLargePadding = "var(--base-size-12)";
|
|
12
|
+
export const BrandControlLargeFontWeight = "var(--brand-text-weight-300)";
|
|
13
|
+
export const BrandControlLargeFontSize = "var(--brand-text-size-300)";
|
|
14
|
+
export const BrandControlBorderRadius = "var(--brand-borderRadius-medium)";
|
|
15
|
+
export const BrandControlAnimationDuration = "80ms";
|
|
16
|
+
export const BrandControlAnimationEasing = "cubic-bezier(0.33, 1, 0.68, 1)";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Mon, 12 Sep 2022 10:04:23 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
export const BrandControlMinTargetFine = "1rem";
|
|
@@ -18,16 +18,14 @@ export const BrandControlSmallPaddingBlock = "calc((1.75rem - 1.25rem) / 2)";
|
|
|
18
18
|
export const BrandControlSmallPaddingInlineCondensed = "0.5rem";
|
|
19
19
|
export const BrandControlSmallPaddingInlineNormal = "0.75rem";
|
|
20
20
|
export const BrandControlSmallGap = "0.25rem";
|
|
21
|
-
export const BrandControlMediumSize = "2rem";
|
|
22
21
|
export const BrandControlMediumLineBoxHeight = "1.25rem";
|
|
23
|
-
export const BrandControlMediumPaddingBlock = "calc((
|
|
22
|
+
export const BrandControlMediumPaddingBlock = "calc((2.5rem - 1.25rem) / 2)";
|
|
24
23
|
export const BrandControlMediumPaddingInlineCondensed = "0.5rem";
|
|
25
24
|
export const BrandControlMediumPaddingInlineNormal = "0.75rem";
|
|
26
25
|
export const BrandControlMediumPaddingInlineSpacious = "1rem";
|
|
27
26
|
export const BrandControlMediumGap = "0.5rem";
|
|
28
|
-
export const BrandControlLargeSize = "2.5rem";
|
|
29
27
|
export const BrandControlLargeLineBoxHeight = "1.25rem";
|
|
30
|
-
export const BrandControlLargePaddingBlock = "calc((
|
|
28
|
+
export const BrandControlLargePaddingBlock = "calc((var(--base-size-48) - 1.25rem) / 2)";
|
|
31
29
|
export const BrandControlLargePaddingInlineNormal = "0.75rem";
|
|
32
30
|
export const BrandControlLargePaddingInlineSpacious = "1rem";
|
|
33
31
|
export const BrandControlLargeGap = "0.5rem";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Mon, 12 Sep 2022 10:04:23 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
export const BrandFontStackSystem = "-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'";
|