@atlaskit/tokens 0.10.4 → 0.10.7
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/.eslintrc.js +35 -0
- package/CHANGELOG.md +39 -0
- package/README.md +1 -1
- package/css/atlassian-dark.css +9 -1
- package/css/atlassian-light.css +9 -1
- package/dist/cjs/artifacts/rename-mapping.js +10 -10
- package/dist/cjs/artifacts/token-default-values.js +9 -1
- package/dist/cjs/artifacts/token-names.js +9 -1
- package/dist/cjs/artifacts/tokens-raw/atlassian-dark.js +211 -25
- package/dist/cjs/artifacts/tokens-raw/atlassian-light.js +211 -25
- package/dist/cjs/babel-plugin/plugin.js +57 -53
- package/dist/cjs/get-token.js +1 -1
- package/dist/cjs/tokens/atlassian-dark/color/accent.js +28 -0
- package/dist/cjs/tokens/atlassian-light/color/accent.js +28 -0
- package/dist/cjs/tokens/default/color/accent.js +70 -2
- package/dist/cjs/tokens/default/deprecated/deprecated.js +19 -10
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/artifacts/rename-mapping.js +10 -10
- package/dist/es2019/artifacts/token-default-values.js +9 -1
- package/dist/es2019/artifacts/token-names.js +9 -1
- package/dist/es2019/artifacts/tokens-raw/atlassian-dark.js +211 -25
- package/dist/es2019/artifacts/tokens-raw/atlassian-light.js +211 -25
- package/dist/es2019/babel-plugin/plugin.js +50 -45
- package/dist/es2019/get-token.js +1 -1
- package/dist/es2019/tokens/atlassian-dark/color/accent.js +28 -0
- package/dist/es2019/tokens/atlassian-light/color/accent.js +28 -0
- package/dist/es2019/tokens/default/color/accent.js +70 -2
- package/dist/es2019/tokens/default/deprecated/deprecated.js +19 -10
- package/dist/es2019/version.json +1 -1
- package/dist/esm/artifacts/rename-mapping.js +10 -10
- package/dist/esm/artifacts/token-default-values.js +9 -1
- package/dist/esm/artifacts/token-names.js +9 -1
- package/dist/esm/artifacts/tokens-raw/atlassian-dark.js +211 -25
- package/dist/esm/artifacts/tokens-raw/atlassian-light.js +211 -25
- package/dist/esm/babel-plugin/plugin.js +57 -53
- package/dist/esm/get-token.js +1 -1
- package/dist/esm/tokens/atlassian-dark/color/accent.js +28 -0
- package/dist/esm/tokens/atlassian-light/color/accent.js +28 -0
- package/dist/esm/tokens/default/color/accent.js +70 -2
- package/dist/esm/tokens/default/deprecated/deprecated.js +19 -10
- package/dist/esm/version.json +1 -1
- package/dist/types/artifacts/rename-mapping.d.ts +1 -1
- package/dist/types/artifacts/token-default-values.d.ts +9 -1
- package/dist/types/artifacts/token-names.d.ts +17 -1
- package/dist/types/artifacts/tokens-raw/atlassian-dark.d.ts +1 -28
- package/dist/types/artifacts/tokens-raw/atlassian-light.d.ts +1 -28
- package/dist/types/artifacts/types-internal.d.ts +2 -2
- package/dist/types/artifacts/types.d.ts +2 -2
- package/dist/types/babel-plugin/plugin.d.ts +5 -5
- package/dist/types/types.d.ts +12 -0
- package/package.json +4 -1
|
@@ -65,6 +65,14 @@ var color = {
|
|
|
65
65
|
bolder: {
|
|
66
66
|
value: 'M900'
|
|
67
67
|
}
|
|
68
|
+
},
|
|
69
|
+
gray: {
|
|
70
|
+
'[default]': {
|
|
71
|
+
value: 'N800'
|
|
72
|
+
},
|
|
73
|
+
bolder: {
|
|
74
|
+
value: 'N1000'
|
|
75
|
+
}
|
|
68
76
|
}
|
|
69
77
|
}
|
|
70
78
|
},
|
|
@@ -93,6 +101,9 @@ var color = {
|
|
|
93
101
|
},
|
|
94
102
|
magenta: {
|
|
95
103
|
value: 'M600'
|
|
104
|
+
},
|
|
105
|
+
gray: {
|
|
106
|
+
value: 'N600'
|
|
96
107
|
}
|
|
97
108
|
}
|
|
98
109
|
},
|
|
@@ -121,6 +132,9 @@ var color = {
|
|
|
121
132
|
},
|
|
122
133
|
magenta: {
|
|
123
134
|
value: 'M600'
|
|
135
|
+
},
|
|
136
|
+
gray: {
|
|
137
|
+
value: 'N600'
|
|
124
138
|
}
|
|
125
139
|
}
|
|
126
140
|
},
|
|
@@ -237,6 +251,20 @@ var color = {
|
|
|
237
251
|
bolder: {
|
|
238
252
|
value: 'M700'
|
|
239
253
|
}
|
|
254
|
+
},
|
|
255
|
+
gray: {
|
|
256
|
+
subtlest: {
|
|
257
|
+
value: 'N200'
|
|
258
|
+
},
|
|
259
|
+
subtler: {
|
|
260
|
+
value: 'N300'
|
|
261
|
+
},
|
|
262
|
+
subtle: {
|
|
263
|
+
value: 'N500'
|
|
264
|
+
},
|
|
265
|
+
bolder: {
|
|
266
|
+
value: 'N700'
|
|
267
|
+
}
|
|
240
268
|
}
|
|
241
269
|
}
|
|
242
270
|
}
|
|
@@ -145,6 +145,24 @@ var color = {
|
|
|
145
145
|
description: 'Use on bold magenta accent backgrounds.'
|
|
146
146
|
}
|
|
147
147
|
}
|
|
148
|
+
},
|
|
149
|
+
gray: {
|
|
150
|
+
'[default]': {
|
|
151
|
+
attributes: {
|
|
152
|
+
group: 'paint',
|
|
153
|
+
state: 'active',
|
|
154
|
+
introduced: '0.10.5',
|
|
155
|
+
description: 'Use for text on non-bold gray accent backgrounds, such as colored tags.'
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
bolder: {
|
|
159
|
+
attributes: {
|
|
160
|
+
group: 'paint',
|
|
161
|
+
state: 'active',
|
|
162
|
+
introduced: '0.10.5',
|
|
163
|
+
description: 'Use for text and icons on gray subtle accent backgrounds.'
|
|
164
|
+
}
|
|
165
|
+
}
|
|
148
166
|
}
|
|
149
167
|
}
|
|
150
168
|
},
|
|
@@ -213,6 +231,14 @@ var color = {
|
|
|
213
231
|
introduced: '0.6.0',
|
|
214
232
|
description: 'Use for magenta icons on non-bold backgrounds when there is no meaning tied to the color, such as file type icons.'
|
|
215
233
|
}
|
|
234
|
+
},
|
|
235
|
+
gray: {
|
|
236
|
+
attributes: {
|
|
237
|
+
group: 'paint',
|
|
238
|
+
state: 'active',
|
|
239
|
+
introduced: '0.10.5',
|
|
240
|
+
description: 'Use for icons on non-bold gray accent backgrounds, such as file type icons.'
|
|
241
|
+
}
|
|
216
242
|
}
|
|
217
243
|
}
|
|
218
244
|
},
|
|
@@ -281,6 +307,14 @@ var color = {
|
|
|
281
307
|
introduced: '0.6.0',
|
|
282
308
|
description: 'Use for magenta borders on non-bold backgrounds when there is no meaning tied to the color.'
|
|
283
309
|
}
|
|
310
|
+
},
|
|
311
|
+
gray: {
|
|
312
|
+
attributes: {
|
|
313
|
+
group: 'paint',
|
|
314
|
+
state: 'active',
|
|
315
|
+
introduced: '0.10.5',
|
|
316
|
+
description: 'Use for borders on non-bold gray accent backgrounds.'
|
|
317
|
+
}
|
|
284
318
|
}
|
|
285
319
|
}
|
|
286
320
|
},
|
|
@@ -300,7 +334,7 @@ var color = {
|
|
|
300
334
|
group: 'paint',
|
|
301
335
|
state: 'active',
|
|
302
336
|
introduced: '0.7.0',
|
|
303
|
-
description: 'Use for blue backgrounds when there is no meaning tied to the color, such as
|
|
337
|
+
description: 'Use for blue backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
304
338
|
}
|
|
305
339
|
},
|
|
306
340
|
subtle: {
|
|
@@ -308,7 +342,7 @@ var color = {
|
|
|
308
342
|
group: 'paint',
|
|
309
343
|
state: 'active',
|
|
310
344
|
introduced: '0.7.0',
|
|
311
|
-
description: 'Use for vibrant blue backgrounds when there is no meaning tied to the color, such as
|
|
345
|
+
description: 'Use for vibrant blue backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
312
346
|
}
|
|
313
347
|
},
|
|
314
348
|
bolder: {
|
|
@@ -557,6 +591,40 @@ var color = {
|
|
|
557
591
|
description: 'Use for magenta backgrounds when there is no meaning tied to the color, and the background needs to pass min 3:1 contrast requirements.'
|
|
558
592
|
}
|
|
559
593
|
}
|
|
594
|
+
},
|
|
595
|
+
gray: {
|
|
596
|
+
subtlest: {
|
|
597
|
+
attributes: {
|
|
598
|
+
group: 'paint',
|
|
599
|
+
state: 'active',
|
|
600
|
+
introduced: '0.7.0',
|
|
601
|
+
description: 'Use for gray backgrounds when there is no meaning tied to the color. Reserved for when you only want a hint of color.'
|
|
602
|
+
}
|
|
603
|
+
},
|
|
604
|
+
subtler: {
|
|
605
|
+
attributes: {
|
|
606
|
+
group: 'paint',
|
|
607
|
+
state: 'active',
|
|
608
|
+
introduced: '0.7.0',
|
|
609
|
+
description: 'Use for gray backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
610
|
+
}
|
|
611
|
+
},
|
|
612
|
+
subtle: {
|
|
613
|
+
attributes: {
|
|
614
|
+
group: 'paint',
|
|
615
|
+
state: 'active',
|
|
616
|
+
introduced: '0.7.0',
|
|
617
|
+
description: 'Use for vibrant gray backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
618
|
+
}
|
|
619
|
+
},
|
|
620
|
+
bolder: {
|
|
621
|
+
attributes: {
|
|
622
|
+
group: 'paint',
|
|
623
|
+
state: 'active',
|
|
624
|
+
introduced: '0.7.0',
|
|
625
|
+
description: 'Use for gray backgrounds when there is no meaning tied to the color, and the background needs to pass min 3:1 contrast requirements.'
|
|
626
|
+
}
|
|
627
|
+
}
|
|
560
628
|
}
|
|
561
629
|
}
|
|
562
630
|
}
|
|
@@ -156,7 +156,7 @@ var color = {
|
|
|
156
156
|
deprecated: '0.7.0',
|
|
157
157
|
deleted: '0.8.0',
|
|
158
158
|
replacement: 'color.background.accent.blue.subtler',
|
|
159
|
-
description: 'Use for blue backgrounds when there is no meaning tied to the color, such as
|
|
159
|
+
description: 'Use for blue backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
160
160
|
}
|
|
161
161
|
},
|
|
162
162
|
bold: {
|
|
@@ -356,9 +356,10 @@ var color = {
|
|
|
356
356
|
'[default]': {
|
|
357
357
|
attributes: {
|
|
358
358
|
group: 'paint',
|
|
359
|
-
state: '
|
|
359
|
+
state: 'deleted',
|
|
360
360
|
introduced: '0.6.0',
|
|
361
361
|
deprecated: '0.6.2',
|
|
362
|
+
deleted: '0.10.5',
|
|
362
363
|
replacement: 'color.background.selected.[default].[default]',
|
|
363
364
|
description: 'Use for the background of elements used to reinforce our brand.'
|
|
364
365
|
}
|
|
@@ -366,9 +367,10 @@ var color = {
|
|
|
366
367
|
hovered: {
|
|
367
368
|
attributes: {
|
|
368
369
|
group: 'paint',
|
|
369
|
-
state: '
|
|
370
|
+
state: 'deleted',
|
|
370
371
|
introduced: '0.6.0',
|
|
371
372
|
deprecated: '0.6.2',
|
|
373
|
+
deleted: '0.10.5',
|
|
372
374
|
replacement: 'color.background.selected.[default].hovered',
|
|
373
375
|
description: 'Hovered state for color.background.brand'
|
|
374
376
|
}
|
|
@@ -376,9 +378,10 @@ var color = {
|
|
|
376
378
|
pressed: {
|
|
377
379
|
attributes: {
|
|
378
380
|
group: 'paint',
|
|
379
|
-
state: '
|
|
381
|
+
state: 'deleted',
|
|
380
382
|
introduced: '0.6.0',
|
|
381
383
|
deprecated: '0.6.2',
|
|
384
|
+
deleted: '0.10.5',
|
|
382
385
|
replacement: 'color.background.selected.[default].pressed',
|
|
383
386
|
description: 'Pressed state for color.background.brand'
|
|
384
387
|
}
|
|
@@ -621,9 +624,10 @@ var color = {
|
|
|
621
624
|
'[default]': {
|
|
622
625
|
attributes: {
|
|
623
626
|
group: 'paint',
|
|
624
|
-
state: '
|
|
627
|
+
state: 'deleted',
|
|
625
628
|
introduced: '0.1.0',
|
|
626
629
|
deprecated: '0.8.3',
|
|
630
|
+
deleted: '0.10.5',
|
|
627
631
|
replacement: 'color.background.inverse.subtle.[default]',
|
|
628
632
|
description: 'Use for backgrounds of elements on a bold background, such as in the buttons on spotlight cards.'
|
|
629
633
|
}
|
|
@@ -644,9 +648,10 @@ var color = {
|
|
|
644
648
|
resting: {
|
|
645
649
|
attributes: {
|
|
646
650
|
group: 'paint',
|
|
647
|
-
state: '
|
|
651
|
+
state: 'deleted',
|
|
648
652
|
introduced: '0.1.0',
|
|
649
653
|
deprecated: '0.6.0',
|
|
654
|
+
deleted: '0.10.5',
|
|
650
655
|
replacement: 'color.background.selected.[default].[default]',
|
|
651
656
|
description: 'Use for backgrounds of elements in a selected state'
|
|
652
657
|
}
|
|
@@ -654,9 +659,10 @@ var color = {
|
|
|
654
659
|
hover: {
|
|
655
660
|
attributes: {
|
|
656
661
|
group: 'paint',
|
|
657
|
-
state: '
|
|
662
|
+
state: 'deleted',
|
|
658
663
|
introduced: '0.1.0',
|
|
659
664
|
deprecated: '0.6.0',
|
|
665
|
+
deleted: '0.10.5',
|
|
660
666
|
replacement: 'color.background.selected.[default].hovered',
|
|
661
667
|
description: 'Hover state for color.background.selected'
|
|
662
668
|
}
|
|
@@ -690,9 +696,10 @@ var color = {
|
|
|
690
696
|
hover: {
|
|
691
697
|
attributes: {
|
|
692
698
|
group: 'paint',
|
|
693
|
-
state: '
|
|
699
|
+
state: 'deleted',
|
|
694
700
|
introduced: '0.0.15',
|
|
695
701
|
deprecated: '0.6.0',
|
|
702
|
+
deleted: '0.10.5',
|
|
696
703
|
replacement: 'color.background.selected.[default].hovered',
|
|
697
704
|
description: 'Hover state for background.subtleBrand'
|
|
698
705
|
}
|
|
@@ -700,9 +707,10 @@ var color = {
|
|
|
700
707
|
pressed: {
|
|
701
708
|
attributes: {
|
|
702
709
|
group: 'paint',
|
|
703
|
-
state: '
|
|
710
|
+
state: 'deleted',
|
|
704
711
|
introduced: '0.0.15',
|
|
705
712
|
deprecated: '0.6.0',
|
|
713
|
+
deleted: '0.10.5',
|
|
706
714
|
replacement: 'color.background.selected.[default].pressed',
|
|
707
715
|
description: 'Pressed state for background.subtleBrand'
|
|
708
716
|
}
|
|
@@ -710,9 +718,10 @@ var color = {
|
|
|
710
718
|
resting: {
|
|
711
719
|
attributes: {
|
|
712
720
|
group: 'paint',
|
|
713
|
-
state: '
|
|
721
|
+
state: 'deleted',
|
|
714
722
|
introduced: '0.0.15',
|
|
715
723
|
deprecated: '0.6.0',
|
|
724
|
+
deleted: '0.10.5',
|
|
716
725
|
replacement: 'color.background.selected.[default].[default]',
|
|
717
726
|
description: 'Use for subdued backgrounds of UI elements like information section messages and in progress lozenges.'
|
|
718
727
|
}
|
package/dist/esm/version.json
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* These changes will then be picked up by our tooling which will attempt to
|
|
13
13
|
* migrate as many of these renames as possible.
|
|
14
14
|
*
|
|
15
|
-
* @codegen <<SignedSource::
|
|
15
|
+
* @codegen <<SignedSource::51fbaf5510a3fead6a2844d4df866a77>>
|
|
16
16
|
* @codegenCommand yarn build tokens
|
|
17
17
|
*/
|
|
18
18
|
import tokens from './token-names';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Token names mapped to their value in the default Atlassian theme ('light')
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::a819b31f00d394be417445acd67bd024>>
|
|
7
7
|
* @codegenCommand yarn build tokens
|
|
8
8
|
*/
|
|
9
9
|
declare const defaultTokenValues: {
|
|
@@ -23,6 +23,8 @@ declare const defaultTokenValues: {
|
|
|
23
23
|
readonly 'color.text.accent.teal.bolder': "#1D474C";
|
|
24
24
|
readonly 'color.text.accent.magenta': "#943D73";
|
|
25
25
|
readonly 'color.text.accent.magenta.bolder': "#50253F";
|
|
26
|
+
readonly 'color.text.accent.gray': "#44546F";
|
|
27
|
+
readonly 'color.text.accent.gray.bolder': "#172B4D";
|
|
26
28
|
readonly 'color.text': "#172B4D";
|
|
27
29
|
readonly 'color.text.subtle': "#44546F";
|
|
28
30
|
readonly 'color.text.subtlest': "#626F86";
|
|
@@ -51,6 +53,7 @@ declare const defaultTokenValues: {
|
|
|
51
53
|
readonly 'color.icon.accent.purple': "#8270DB";
|
|
52
54
|
readonly 'color.icon.accent.teal': "#1D9AAA";
|
|
53
55
|
readonly 'color.icon.accent.magenta': "#CD519D";
|
|
56
|
+
readonly 'color.icon.accent.gray': "#758195";
|
|
54
57
|
readonly 'color.icon': "#44546F";
|
|
55
58
|
readonly 'color.icon.subtle': "#626F86";
|
|
56
59
|
readonly 'color.icon.inverse': "#FFFFFF";
|
|
@@ -71,6 +74,7 @@ declare const defaultTokenValues: {
|
|
|
71
74
|
readonly 'color.border.accent.purple': "#8270DB";
|
|
72
75
|
readonly 'color.border.accent.teal': "#1D9AAA";
|
|
73
76
|
readonly 'color.border.accent.magenta': "#CD519D";
|
|
77
|
+
readonly 'color.border.accent.gray': "#758195";
|
|
74
78
|
readonly 'color.border': "#091E4224";
|
|
75
79
|
readonly 'color.border.inverse': "#FFFFFF";
|
|
76
80
|
readonly 'color.border.focused': "#388BFF";
|
|
@@ -133,6 +137,10 @@ declare const defaultTokenValues: {
|
|
|
133
137
|
readonly 'color.background.accent.magenta.bolder': "#AE4787";
|
|
134
138
|
readonly 'color.background.accent.magenta': "#FDD0EC";
|
|
135
139
|
readonly 'color.background.accent.magenta.bold': "#E774BB";
|
|
140
|
+
readonly 'color.background.accent.gray.subtlest': "#F1F2F4";
|
|
141
|
+
readonly 'color.background.accent.gray.subtler': "#DCDFE4";
|
|
142
|
+
readonly 'color.background.accent.gray.subtle': "#8993A5";
|
|
143
|
+
readonly 'color.background.accent.gray.bolder': "#626F86";
|
|
136
144
|
readonly 'color.background.disabled': "#091E420F";
|
|
137
145
|
readonly 'color.background.inverse.subtle': "#00000029";
|
|
138
146
|
readonly 'color.background.inverse.subtle.hovered': "#0000003D";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::b251fc1793ba7f689b4c3707310c1556>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
declare const tokens: {
|
|
@@ -20,6 +20,8 @@ declare const tokens: {
|
|
|
20
20
|
readonly 'color.text.accent.teal.bolder': "--ds-text-accent-teal-bolder";
|
|
21
21
|
readonly 'color.text.accent.magenta': "--ds-text-accent-magenta";
|
|
22
22
|
readonly 'color.text.accent.magenta.bolder': "--ds-text-accent-magenta-bolder";
|
|
23
|
+
readonly 'color.text.accent.gray': "--ds-text-accent-gray";
|
|
24
|
+
readonly 'color.text.accent.gray.bolder': "--ds-text-accent-gray-bolder";
|
|
23
25
|
readonly 'color.text': "--ds-text";
|
|
24
26
|
readonly 'color.text.subtle': "--ds-text-subtle";
|
|
25
27
|
readonly 'color.text.subtlest': "--ds-text-subtlest";
|
|
@@ -48,6 +50,7 @@ declare const tokens: {
|
|
|
48
50
|
readonly 'color.icon.accent.purple': "--ds-icon-accent-purple";
|
|
49
51
|
readonly 'color.icon.accent.teal': "--ds-icon-accent-teal";
|
|
50
52
|
readonly 'color.icon.accent.magenta': "--ds-icon-accent-magenta";
|
|
53
|
+
readonly 'color.icon.accent.gray': "--ds-icon-accent-gray";
|
|
51
54
|
readonly 'color.icon': "--ds-icon";
|
|
52
55
|
readonly 'color.icon.subtle': "--ds-icon-subtle";
|
|
53
56
|
readonly 'color.icon.inverse': "--ds-icon-inverse";
|
|
@@ -68,6 +71,7 @@ declare const tokens: {
|
|
|
68
71
|
readonly 'color.border.accent.purple': "--ds-border-accent-purple";
|
|
69
72
|
readonly 'color.border.accent.teal': "--ds-border-accent-teal";
|
|
70
73
|
readonly 'color.border.accent.magenta': "--ds-border-accent-magenta";
|
|
74
|
+
readonly 'color.border.accent.gray': "--ds-border-accent-gray";
|
|
71
75
|
readonly 'color.border': "--ds-border";
|
|
72
76
|
readonly 'color.border.inverse': "--ds-border-inverse";
|
|
73
77
|
readonly 'color.border.focused': "--ds-border-focused";
|
|
@@ -130,6 +134,10 @@ declare const tokens: {
|
|
|
130
134
|
readonly 'color.background.accent.magenta.bolder': "--ds-background-accent-magenta-bolder";
|
|
131
135
|
readonly 'color.background.accent.magenta': "--ds-background-accent-magenta";
|
|
132
136
|
readonly 'color.background.accent.magenta.bold': "--ds-background-accent-magenta-bold";
|
|
137
|
+
readonly 'color.background.accent.gray.subtlest': "--ds-background-accent-gray-subtlest";
|
|
138
|
+
readonly 'color.background.accent.gray.subtler': "--ds-background-accent-gray-subtler";
|
|
139
|
+
readonly 'color.background.accent.gray.subtle': "--ds-background-accent-gray-subtle";
|
|
140
|
+
readonly 'color.background.accent.gray.bolder': "--ds-background-accent-gray-bolder";
|
|
133
141
|
readonly 'color.background.disabled': "--ds-background-disabled";
|
|
134
142
|
readonly 'color.background.inverse.subtle': "--ds-background-inverse-subtle";
|
|
135
143
|
readonly 'color.background.inverse.subtle.hovered': "--ds-background-inverse-subtle-hovered";
|
|
@@ -296,6 +304,8 @@ export declare type CSSTokenMap = {
|
|
|
296
304
|
'color.text.accent.teal.bolder': 'var(--ds-text-accent-teal-bolder)';
|
|
297
305
|
'color.text.accent.magenta': 'var(--ds-text-accent-magenta)';
|
|
298
306
|
'color.text.accent.magenta.bolder': 'var(--ds-text-accent-magenta-bolder)';
|
|
307
|
+
'color.text.accent.gray': 'var(--ds-text-accent-gray)';
|
|
308
|
+
'color.text.accent.gray.bolder': 'var(--ds-text-accent-gray-bolder)';
|
|
299
309
|
'color.text': 'var(--ds-text)';
|
|
300
310
|
'color.text.subtle': 'var(--ds-text-subtle)';
|
|
301
311
|
'color.text.subtlest': 'var(--ds-text-subtlest)';
|
|
@@ -324,6 +334,7 @@ export declare type CSSTokenMap = {
|
|
|
324
334
|
'color.icon.accent.purple': 'var(--ds-icon-accent-purple)';
|
|
325
335
|
'color.icon.accent.teal': 'var(--ds-icon-accent-teal)';
|
|
326
336
|
'color.icon.accent.magenta': 'var(--ds-icon-accent-magenta)';
|
|
337
|
+
'color.icon.accent.gray': 'var(--ds-icon-accent-gray)';
|
|
327
338
|
'color.icon': 'var(--ds-icon)';
|
|
328
339
|
'color.icon.subtle': 'var(--ds-icon-subtle)';
|
|
329
340
|
'color.icon.inverse': 'var(--ds-icon-inverse)';
|
|
@@ -344,6 +355,7 @@ export declare type CSSTokenMap = {
|
|
|
344
355
|
'color.border.accent.purple': 'var(--ds-border-accent-purple)';
|
|
345
356
|
'color.border.accent.teal': 'var(--ds-border-accent-teal)';
|
|
346
357
|
'color.border.accent.magenta': 'var(--ds-border-accent-magenta)';
|
|
358
|
+
'color.border.accent.gray': 'var(--ds-border-accent-gray)';
|
|
347
359
|
'color.border': 'var(--ds-border)';
|
|
348
360
|
'color.border.inverse': 'var(--ds-border-inverse)';
|
|
349
361
|
'color.border.focused': 'var(--ds-border-focused)';
|
|
@@ -406,6 +418,10 @@ export declare type CSSTokenMap = {
|
|
|
406
418
|
'color.background.accent.magenta.bolder': 'var(--ds-background-accent-magenta-bolder)';
|
|
407
419
|
'color.background.accent.magenta': 'var(--ds-background-accent-magenta)';
|
|
408
420
|
'color.background.accent.magenta.bold': 'var(--ds-background-accent-magenta-bold)';
|
|
421
|
+
'color.background.accent.gray.subtlest': 'var(--ds-background-accent-gray-subtlest)';
|
|
422
|
+
'color.background.accent.gray.subtler': 'var(--ds-background-accent-gray-subtler)';
|
|
423
|
+
'color.background.accent.gray.subtle': 'var(--ds-background-accent-gray-subtle)';
|
|
424
|
+
'color.background.accent.gray.bolder': 'var(--ds-background-accent-gray-bolder)';
|
|
409
425
|
'color.background.disabled': 'var(--ds-background-disabled)';
|
|
410
426
|
'color.background.inverse.subtle': 'var(--ds-background-inverse-subtle)';
|
|
411
427
|
'color.background.inverse.subtle.hovered': 'var(--ds-background-inverse-subtle-hovered)';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::3354689a803bcf6799054d3faa65df85>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
declare const tokens: ({
|
|
@@ -57,33 +57,6 @@ declare const tokens: ({
|
|
|
57
57
|
};
|
|
58
58
|
name: string;
|
|
59
59
|
path: string[];
|
|
60
|
-
} | {
|
|
61
|
-
attributes: {
|
|
62
|
-
group: string;
|
|
63
|
-
state: string;
|
|
64
|
-
introduced: string;
|
|
65
|
-
deprecated: string;
|
|
66
|
-
replacement: string;
|
|
67
|
-
description: string;
|
|
68
|
-
deleted?: undefined;
|
|
69
|
-
};
|
|
70
|
-
value: string;
|
|
71
|
-
filePath: string;
|
|
72
|
-
isSource: boolean;
|
|
73
|
-
original: {
|
|
74
|
-
attributes: {
|
|
75
|
-
group: string;
|
|
76
|
-
state: string;
|
|
77
|
-
introduced: string;
|
|
78
|
-
deprecated: string;
|
|
79
|
-
replacement: string;
|
|
80
|
-
description: string;
|
|
81
|
-
deleted?: undefined;
|
|
82
|
-
};
|
|
83
|
-
value: string;
|
|
84
|
-
};
|
|
85
|
-
name: string;
|
|
86
|
-
path: string[];
|
|
87
60
|
} | {
|
|
88
61
|
attributes: {
|
|
89
62
|
group: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::9b6960398363032e220473a356d04712>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
declare const tokens: ({
|
|
@@ -57,33 +57,6 @@ declare const tokens: ({
|
|
|
57
57
|
};
|
|
58
58
|
name: string;
|
|
59
59
|
path: string[];
|
|
60
|
-
} | {
|
|
61
|
-
attributes: {
|
|
62
|
-
group: string;
|
|
63
|
-
state: string;
|
|
64
|
-
introduced: string;
|
|
65
|
-
deprecated: string;
|
|
66
|
-
replacement: string;
|
|
67
|
-
description: string;
|
|
68
|
-
deleted?: undefined;
|
|
69
|
-
};
|
|
70
|
-
value: string;
|
|
71
|
-
filePath: string;
|
|
72
|
-
isSource: boolean;
|
|
73
|
-
original: {
|
|
74
|
-
attributes: {
|
|
75
|
-
group: string;
|
|
76
|
-
state: string;
|
|
77
|
-
introduced: string;
|
|
78
|
-
deprecated: string;
|
|
79
|
-
replacement: string;
|
|
80
|
-
description: string;
|
|
81
|
-
deleted?: undefined;
|
|
82
|
-
};
|
|
83
|
-
value: string;
|
|
84
|
-
};
|
|
85
|
-
name: string;
|
|
86
|
-
path: string[];
|
|
87
60
|
} | {
|
|
88
61
|
attributes: {
|
|
89
62
|
group: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::1e50fa12ffb87ed9192ae36dd8a7e6e7>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
|
-
export declare type InternalTokenIds = 'color.text.accent.blue.[default]' | 'color.text.accent.blue.bolder' | 'color.text.accent.red.[default]' | 'color.text.accent.red.bolder' | 'color.text.accent.orange.[default]' | 'color.text.accent.orange.bolder' | 'color.text.accent.yellow.[default]' | 'color.text.accent.yellow.bolder' | 'color.text.accent.green.[default]' | 'color.text.accent.green.bolder' | 'color.text.accent.purple.[default]' | 'color.text.accent.purple.bolder' | 'color.text.accent.teal.[default]' | 'color.text.accent.teal.bolder' | 'color.text.accent.magenta.[default]' | 'color.text.accent.magenta.bolder' | 'color.text.[default]' | 'color.text.subtle' | 'color.text.subtlest' | 'color.text.disabled' | 'color.text.inverse' | 'color.text.brand' | 'color.text.selected' | 'color.text.danger' | 'color.text.warning.[default]' | 'color.text.warning.inverse' | 'color.text.success' | 'color.text.discovery' | 'color.text.information' | 'color.icon.accent.blue' | 'color.icon.accent.red' | 'color.icon.accent.orange' | 'color.icon.accent.yellow' | 'color.icon.accent.green' | 'color.icon.accent.purple' | 'color.icon.accent.teal' | 'color.icon.accent.magenta' | 'color.icon.[default]' | 'color.icon.subtle' | 'color.icon.inverse' | 'color.icon.disabled' | 'color.icon.brand' | 'color.icon.selected' | 'color.icon.danger' | 'color.icon.warning.[default]' | 'color.icon.warning.inverse' | 'color.icon.success' | 'color.icon.discovery' | 'color.icon.information' | 'color.border.accent.blue' | 'color.border.accent.red' | 'color.border.accent.orange' | 'color.border.accent.yellow' | 'color.border.accent.green' | 'color.border.accent.purple' | 'color.border.accent.teal' | 'color.border.accent.magenta' | 'color.border.[default]' | 'color.border.inverse' | 'color.border.focused' | 'color.border.input' | 'color.border.disabled' | 'color.border.brand' | 'color.border.selected' | 'color.border.danger' | 'color.border.warning' | 'color.border.success' | 'color.border.discovery' | 'color.border.information' | 'color.background.accent.blue.subtlest' | 'color.background.accent.blue.subtler' | 'color.background.accent.blue.subtle' | 'color.background.accent.blue.bolder' | 'color.background.accent.red.subtlest' | 'color.background.accent.red.subtler' | 'color.background.accent.red.subtle' | 'color.background.accent.red.bolder' | 'color.background.accent.orange.subtlest' | 'color.background.accent.orange.subtler' | 'color.background.accent.orange.subtle' | 'color.background.accent.orange.bolder' | 'color.background.accent.yellow.subtlest' | 'color.background.accent.yellow.subtler' | 'color.background.accent.yellow.subtle' | 'color.background.accent.yellow.bolder' | 'color.background.accent.green.subtlest' | 'color.background.accent.green.subtler' | 'color.background.accent.green.subtle' | 'color.background.accent.green.bolder' | 'color.background.accent.teal.subtlest' | 'color.background.accent.teal.subtler' | 'color.background.accent.teal.subtle' | 'color.background.accent.teal.bolder' | 'color.background.accent.purple.subtlest' | 'color.background.accent.purple.subtler' | 'color.background.accent.purple.subtle' | 'color.background.accent.purple.bolder' | 'color.background.accent.magenta.subtlest' | 'color.background.accent.magenta.subtler' | 'color.background.accent.magenta.subtle' | 'color.background.accent.magenta.bolder' | 'color.background.disabled' | 'color.background.inverse.subtle.[default]' | 'color.background.inverse.subtle.hovered' | 'color.background.inverse.subtle.pressed' | 'color.background.input.[default]' | 'color.background.input.hovered' | 'color.background.input.pressed' | 'color.background.neutral.[default].[default]' | 'color.background.neutral.[default].hovered' | 'color.background.neutral.[default].pressed' | 'color.background.neutral.subtle.[default]' | 'color.background.neutral.subtle.hovered' | 'color.background.neutral.subtle.pressed' | 'color.background.neutral.bold.[default]' | 'color.background.neutral.bold.hovered' | 'color.background.neutral.bold.pressed' | 'color.background.brand.bold.[default]' | 'color.background.brand.bold.hovered' | 'color.background.brand.bold.pressed' | 'color.background.selected.[default].[default]' | 'color.background.selected.[default].hovered' | 'color.background.selected.[default].pressed' | 'color.background.selected.bold.[default]' | 'color.background.selected.bold.hovered' | 'color.background.selected.bold.pressed' | 'color.background.danger.[default].[default]' | 'color.background.danger.[default].hovered' | 'color.background.danger.[default].pressed' | 'color.background.danger.bold.[default]' | 'color.background.danger.bold.hovered' | 'color.background.danger.bold.pressed' | 'color.background.warning.[default].[default]' | 'color.background.warning.[default].hovered' | 'color.background.warning.[default].pressed' | 'color.background.warning.bold.[default]' | 'color.background.warning.bold.hovered' | 'color.background.warning.bold.pressed' | 'color.background.success.[default].[default]' | 'color.background.success.[default].hovered' | 'color.background.success.[default].pressed' | 'color.background.success.bold.[default]' | 'color.background.success.bold.hovered' | 'color.background.success.bold.pressed' | 'color.background.discovery.[default].[default]' | 'color.background.discovery.[default].hovered' | 'color.background.discovery.[default].pressed' | 'color.background.discovery.bold.[default]' | 'color.background.discovery.bold.hovered' | 'color.background.discovery.bold.pressed' | 'color.background.information.[default].[default]' | 'color.background.information.[default].hovered' | 'color.background.information.[default].pressed' | 'color.background.information.bold.[default]' | 'color.background.information.bold.hovered' | 'color.background.information.bold.pressed' | 'color.blanket.[default]' | 'color.blanket.selected' | 'color.blanket.danger' | 'color.interaction.hovered' | 'color.interaction.pressed' | 'color.interaction.inverse.hovered' | 'color.interaction.inverse.pressed' | 'color.skeleton.[default]' | 'color.skeleton.subtle' | 'color.link.[default]' | 'color.link.pressed' | 'elevation.shadow.raised' | 'elevation.shadow.overflow' | 'elevation.shadow.overlay' | 'elevation.surface.[default]' | 'elevation.surface.sunken' | 'elevation.surface.raised' | 'elevation.surface.overlay' | 'utility.UNSAFE_util.transparent' | 'utility.UNSAFE_util.MISSING_TOKEN';
|
|
6
|
+
export declare type InternalTokenIds = 'color.text.accent.blue.[default]' | 'color.text.accent.blue.bolder' | 'color.text.accent.red.[default]' | 'color.text.accent.red.bolder' | 'color.text.accent.orange.[default]' | 'color.text.accent.orange.bolder' | 'color.text.accent.yellow.[default]' | 'color.text.accent.yellow.bolder' | 'color.text.accent.green.[default]' | 'color.text.accent.green.bolder' | 'color.text.accent.purple.[default]' | 'color.text.accent.purple.bolder' | 'color.text.accent.teal.[default]' | 'color.text.accent.teal.bolder' | 'color.text.accent.magenta.[default]' | 'color.text.accent.magenta.bolder' | 'color.text.accent.gray.[default]' | 'color.text.accent.gray.bolder' | 'color.text.[default]' | 'color.text.subtle' | 'color.text.subtlest' | 'color.text.disabled' | 'color.text.inverse' | 'color.text.brand' | 'color.text.selected' | 'color.text.danger' | 'color.text.warning.[default]' | 'color.text.warning.inverse' | 'color.text.success' | 'color.text.discovery' | 'color.text.information' | 'color.icon.accent.blue' | 'color.icon.accent.red' | 'color.icon.accent.orange' | 'color.icon.accent.yellow' | 'color.icon.accent.green' | 'color.icon.accent.purple' | 'color.icon.accent.teal' | 'color.icon.accent.magenta' | 'color.icon.accent.gray' | 'color.icon.[default]' | 'color.icon.subtle' | 'color.icon.inverse' | 'color.icon.disabled' | 'color.icon.brand' | 'color.icon.selected' | 'color.icon.danger' | 'color.icon.warning.[default]' | 'color.icon.warning.inverse' | 'color.icon.success' | 'color.icon.discovery' | 'color.icon.information' | 'color.border.accent.blue' | 'color.border.accent.red' | 'color.border.accent.orange' | 'color.border.accent.yellow' | 'color.border.accent.green' | 'color.border.accent.purple' | 'color.border.accent.teal' | 'color.border.accent.magenta' | 'color.border.accent.gray' | 'color.border.[default]' | 'color.border.inverse' | 'color.border.focused' | 'color.border.input' | 'color.border.disabled' | 'color.border.brand' | 'color.border.selected' | 'color.border.danger' | 'color.border.warning' | 'color.border.success' | 'color.border.discovery' | 'color.border.information' | 'color.background.accent.blue.subtlest' | 'color.background.accent.blue.subtler' | 'color.background.accent.blue.subtle' | 'color.background.accent.blue.bolder' | 'color.background.accent.red.subtlest' | 'color.background.accent.red.subtler' | 'color.background.accent.red.subtle' | 'color.background.accent.red.bolder' | 'color.background.accent.orange.subtlest' | 'color.background.accent.orange.subtler' | 'color.background.accent.orange.subtle' | 'color.background.accent.orange.bolder' | 'color.background.accent.yellow.subtlest' | 'color.background.accent.yellow.subtler' | 'color.background.accent.yellow.subtle' | 'color.background.accent.yellow.bolder' | 'color.background.accent.green.subtlest' | 'color.background.accent.green.subtler' | 'color.background.accent.green.subtle' | 'color.background.accent.green.bolder' | 'color.background.accent.teal.subtlest' | 'color.background.accent.teal.subtler' | 'color.background.accent.teal.subtle' | 'color.background.accent.teal.bolder' | 'color.background.accent.purple.subtlest' | 'color.background.accent.purple.subtler' | 'color.background.accent.purple.subtle' | 'color.background.accent.purple.bolder' | 'color.background.accent.magenta.subtlest' | 'color.background.accent.magenta.subtler' | 'color.background.accent.magenta.subtle' | 'color.background.accent.magenta.bolder' | 'color.background.accent.gray.subtlest' | 'color.background.accent.gray.subtler' | 'color.background.accent.gray.subtle' | 'color.background.accent.gray.bolder' | 'color.background.disabled' | 'color.background.inverse.subtle.[default]' | 'color.background.inverse.subtle.hovered' | 'color.background.inverse.subtle.pressed' | 'color.background.input.[default]' | 'color.background.input.hovered' | 'color.background.input.pressed' | 'color.background.neutral.[default].[default]' | 'color.background.neutral.[default].hovered' | 'color.background.neutral.[default].pressed' | 'color.background.neutral.subtle.[default]' | 'color.background.neutral.subtle.hovered' | 'color.background.neutral.subtle.pressed' | 'color.background.neutral.bold.[default]' | 'color.background.neutral.bold.hovered' | 'color.background.neutral.bold.pressed' | 'color.background.brand.bold.[default]' | 'color.background.brand.bold.hovered' | 'color.background.brand.bold.pressed' | 'color.background.selected.[default].[default]' | 'color.background.selected.[default].hovered' | 'color.background.selected.[default].pressed' | 'color.background.selected.bold.[default]' | 'color.background.selected.bold.hovered' | 'color.background.selected.bold.pressed' | 'color.background.danger.[default].[default]' | 'color.background.danger.[default].hovered' | 'color.background.danger.[default].pressed' | 'color.background.danger.bold.[default]' | 'color.background.danger.bold.hovered' | 'color.background.danger.bold.pressed' | 'color.background.warning.[default].[default]' | 'color.background.warning.[default].hovered' | 'color.background.warning.[default].pressed' | 'color.background.warning.bold.[default]' | 'color.background.warning.bold.hovered' | 'color.background.warning.bold.pressed' | 'color.background.success.[default].[default]' | 'color.background.success.[default].hovered' | 'color.background.success.[default].pressed' | 'color.background.success.bold.[default]' | 'color.background.success.bold.hovered' | 'color.background.success.bold.pressed' | 'color.background.discovery.[default].[default]' | 'color.background.discovery.[default].hovered' | 'color.background.discovery.[default].pressed' | 'color.background.discovery.bold.[default]' | 'color.background.discovery.bold.hovered' | 'color.background.discovery.bold.pressed' | 'color.background.information.[default].[default]' | 'color.background.information.[default].hovered' | 'color.background.information.[default].pressed' | 'color.background.information.bold.[default]' | 'color.background.information.bold.hovered' | 'color.background.information.bold.pressed' | 'color.blanket.[default]' | 'color.blanket.selected' | 'color.blanket.danger' | 'color.interaction.hovered' | 'color.interaction.pressed' | 'color.interaction.inverse.hovered' | 'color.interaction.inverse.pressed' | 'color.skeleton.[default]' | 'color.skeleton.subtle' | 'color.link.[default]' | 'color.link.pressed' | 'elevation.shadow.raised' | 'elevation.shadow.overflow' | 'elevation.shadow.overlay' | 'elevation.surface.[default]' | 'elevation.surface.sunken' | 'elevation.surface.raised' | 'elevation.surface.overlay' | 'utility.UNSAFE_util.transparent' | 'utility.UNSAFE_util.MISSING_TOKEN';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::0c60c851ecd817e78931dc713608d150>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
|
-
export declare type ActiveTokens = 'color.text.accent.blue' | 'color.text.accent.blue.bolder' | 'color.text.accent.red' | 'color.text.accent.red.bolder' | 'color.text.accent.orange' | 'color.text.accent.orange.bolder' | 'color.text.accent.yellow' | 'color.text.accent.yellow.bolder' | 'color.text.accent.green' | 'color.text.accent.green.bolder' | 'color.text.accent.purple' | 'color.text.accent.purple.bolder' | 'color.text.accent.teal' | 'color.text.accent.teal.bolder' | 'color.text.accent.magenta' | 'color.text.accent.magenta.bolder' | 'color.text' | 'color.text.subtle' | 'color.text.subtlest' | 'color.text.disabled' | 'color.text.inverse' | 'color.text.brand' | 'color.text.selected' | 'color.text.danger' | 'color.text.warning' | 'color.text.warning.inverse' | 'color.text.success' | 'color.text.discovery' | 'color.text.information' | 'color.icon.accent.blue' | 'color.icon.accent.red' | 'color.icon.accent.orange' | 'color.icon.accent.yellow' | 'color.icon.accent.green' | 'color.icon.accent.purple' | 'color.icon.accent.teal' | 'color.icon.accent.magenta' | 'color.icon' | 'color.icon.subtle' | 'color.icon.inverse' | 'color.icon.disabled' | 'color.icon.brand' | 'color.icon.selected' | 'color.icon.danger' | 'color.icon.warning' | 'color.icon.warning.inverse' | 'color.icon.success' | 'color.icon.discovery' | 'color.icon.information' | 'color.border.accent.blue' | 'color.border.accent.red' | 'color.border.accent.orange' | 'color.border.accent.yellow' | 'color.border.accent.green' | 'color.border.accent.purple' | 'color.border.accent.teal' | 'color.border.accent.magenta' | 'color.border' | 'color.border.inverse' | 'color.border.focused' | 'color.border.input' | 'color.border.disabled' | 'color.border.brand' | 'color.border.selected' | 'color.border.danger' | 'color.border.warning' | 'color.border.success' | 'color.border.discovery' | 'color.border.information' | 'color.background.accent.blue.subtlest' | 'color.background.accent.blue.subtler' | 'color.background.accent.blue.subtle' | 'color.background.accent.blue.bolder' | 'color.background.accent.red.subtlest' | 'color.background.accent.red.subtler' | 'color.background.accent.red.subtle' | 'color.background.accent.red.bolder' | 'color.background.accent.orange.subtlest' | 'color.background.accent.orange.subtler' | 'color.background.accent.orange.subtle' | 'color.background.accent.orange.bolder' | 'color.background.accent.yellow.subtlest' | 'color.background.accent.yellow.subtler' | 'color.background.accent.yellow.subtle' | 'color.background.accent.yellow.bolder' | 'color.background.accent.green.subtlest' | 'color.background.accent.green.subtler' | 'color.background.accent.green.subtle' | 'color.background.accent.green.bolder' | 'color.background.accent.teal.subtlest' | 'color.background.accent.teal.subtler' | 'color.background.accent.teal.subtle' | 'color.background.accent.teal.bolder' | 'color.background.accent.purple.subtlest' | 'color.background.accent.purple.subtler' | 'color.background.accent.purple.subtle' | 'color.background.accent.purple.bolder' | 'color.background.accent.magenta.subtlest' | 'color.background.accent.magenta.subtler' | 'color.background.accent.magenta.subtle' | 'color.background.accent.magenta.bolder' | 'color.background.disabled' | 'color.background.inverse.subtle' | 'color.background.inverse.subtle.hovered' | 'color.background.inverse.subtle.pressed' | 'color.background.input' | 'color.background.input.hovered' | 'color.background.input.pressed' | 'color.background.neutral' | 'color.background.neutral.hovered' | 'color.background.neutral.pressed' | 'color.background.neutral.subtle' | 'color.background.neutral.subtle.hovered' | 'color.background.neutral.subtle.pressed' | 'color.background.neutral.bold' | 'color.background.neutral.bold.hovered' | 'color.background.neutral.bold.pressed' | 'color.background.brand.bold' | 'color.background.brand.bold.hovered' | 'color.background.brand.bold.pressed' | 'color.background.selected' | 'color.background.selected.hovered' | 'color.background.selected.pressed' | 'color.background.selected.bold' | 'color.background.selected.bold.hovered' | 'color.background.selected.bold.pressed' | 'color.background.danger' | 'color.background.danger.hovered' | 'color.background.danger.pressed' | 'color.background.danger.bold' | 'color.background.danger.bold.hovered' | 'color.background.danger.bold.pressed' | 'color.background.warning' | 'color.background.warning.hovered' | 'color.background.warning.pressed' | 'color.background.warning.bold' | 'color.background.warning.bold.hovered' | 'color.background.warning.bold.pressed' | 'color.background.success' | 'color.background.success.hovered' | 'color.background.success.pressed' | 'color.background.success.bold' | 'color.background.success.bold.hovered' | 'color.background.success.bold.pressed' | 'color.background.discovery' | 'color.background.discovery.hovered' | 'color.background.discovery.pressed' | 'color.background.discovery.bold' | 'color.background.discovery.bold.hovered' | 'color.background.discovery.bold.pressed' | 'color.background.information' | 'color.background.information.hovered' | 'color.background.information.pressed' | 'color.background.information.bold' | 'color.background.information.bold.hovered' | 'color.background.information.bold.pressed' | 'color.blanket' | 'color.blanket.selected' | 'color.blanket.danger' | 'color.interaction.hovered' | 'color.interaction.pressed' | 'color.interaction.inverse.hovered' | 'color.interaction.inverse.pressed' | 'color.skeleton' | 'color.skeleton.subtle' | 'color.link' | 'color.link.pressed' | 'elevation.shadow.raised' | 'elevation.shadow.overflow' | 'elevation.shadow.overlay' | 'elevation.surface' | 'elevation.surface.sunken' | 'elevation.surface.raised' | 'elevation.surface.overlay' | 'utility.UNSAFE_util.transparent' | 'utility.UNSAFE_util.MISSING_TOKEN';
|
|
6
|
+
export declare type ActiveTokens = 'color.text.accent.blue' | 'color.text.accent.blue.bolder' | 'color.text.accent.red' | 'color.text.accent.red.bolder' | 'color.text.accent.orange' | 'color.text.accent.orange.bolder' | 'color.text.accent.yellow' | 'color.text.accent.yellow.bolder' | 'color.text.accent.green' | 'color.text.accent.green.bolder' | 'color.text.accent.purple' | 'color.text.accent.purple.bolder' | 'color.text.accent.teal' | 'color.text.accent.teal.bolder' | 'color.text.accent.magenta' | 'color.text.accent.magenta.bolder' | 'color.text.accent.gray' | 'color.text.accent.gray.bolder' | 'color.text' | 'color.text.subtle' | 'color.text.subtlest' | 'color.text.disabled' | 'color.text.inverse' | 'color.text.brand' | 'color.text.selected' | 'color.text.danger' | 'color.text.warning' | 'color.text.warning.inverse' | 'color.text.success' | 'color.text.discovery' | 'color.text.information' | 'color.icon.accent.blue' | 'color.icon.accent.red' | 'color.icon.accent.orange' | 'color.icon.accent.yellow' | 'color.icon.accent.green' | 'color.icon.accent.purple' | 'color.icon.accent.teal' | 'color.icon.accent.magenta' | 'color.icon.accent.gray' | 'color.icon' | 'color.icon.subtle' | 'color.icon.inverse' | 'color.icon.disabled' | 'color.icon.brand' | 'color.icon.selected' | 'color.icon.danger' | 'color.icon.warning' | 'color.icon.warning.inverse' | 'color.icon.success' | 'color.icon.discovery' | 'color.icon.information' | 'color.border.accent.blue' | 'color.border.accent.red' | 'color.border.accent.orange' | 'color.border.accent.yellow' | 'color.border.accent.green' | 'color.border.accent.purple' | 'color.border.accent.teal' | 'color.border.accent.magenta' | 'color.border.accent.gray' | 'color.border' | 'color.border.inverse' | 'color.border.focused' | 'color.border.input' | 'color.border.disabled' | 'color.border.brand' | 'color.border.selected' | 'color.border.danger' | 'color.border.warning' | 'color.border.success' | 'color.border.discovery' | 'color.border.information' | 'color.background.accent.blue.subtlest' | 'color.background.accent.blue.subtler' | 'color.background.accent.blue.subtle' | 'color.background.accent.blue.bolder' | 'color.background.accent.red.subtlest' | 'color.background.accent.red.subtler' | 'color.background.accent.red.subtle' | 'color.background.accent.red.bolder' | 'color.background.accent.orange.subtlest' | 'color.background.accent.orange.subtler' | 'color.background.accent.orange.subtle' | 'color.background.accent.orange.bolder' | 'color.background.accent.yellow.subtlest' | 'color.background.accent.yellow.subtler' | 'color.background.accent.yellow.subtle' | 'color.background.accent.yellow.bolder' | 'color.background.accent.green.subtlest' | 'color.background.accent.green.subtler' | 'color.background.accent.green.subtle' | 'color.background.accent.green.bolder' | 'color.background.accent.teal.subtlest' | 'color.background.accent.teal.subtler' | 'color.background.accent.teal.subtle' | 'color.background.accent.teal.bolder' | 'color.background.accent.purple.subtlest' | 'color.background.accent.purple.subtler' | 'color.background.accent.purple.subtle' | 'color.background.accent.purple.bolder' | 'color.background.accent.magenta.subtlest' | 'color.background.accent.magenta.subtler' | 'color.background.accent.magenta.subtle' | 'color.background.accent.magenta.bolder' | 'color.background.accent.gray.subtlest' | 'color.background.accent.gray.subtler' | 'color.background.accent.gray.subtle' | 'color.background.accent.gray.bolder' | 'color.background.disabled' | 'color.background.inverse.subtle' | 'color.background.inverse.subtle.hovered' | 'color.background.inverse.subtle.pressed' | 'color.background.input' | 'color.background.input.hovered' | 'color.background.input.pressed' | 'color.background.neutral' | 'color.background.neutral.hovered' | 'color.background.neutral.pressed' | 'color.background.neutral.subtle' | 'color.background.neutral.subtle.hovered' | 'color.background.neutral.subtle.pressed' | 'color.background.neutral.bold' | 'color.background.neutral.bold.hovered' | 'color.background.neutral.bold.pressed' | 'color.background.brand.bold' | 'color.background.brand.bold.hovered' | 'color.background.brand.bold.pressed' | 'color.background.selected' | 'color.background.selected.hovered' | 'color.background.selected.pressed' | 'color.background.selected.bold' | 'color.background.selected.bold.hovered' | 'color.background.selected.bold.pressed' | 'color.background.danger' | 'color.background.danger.hovered' | 'color.background.danger.pressed' | 'color.background.danger.bold' | 'color.background.danger.bold.hovered' | 'color.background.danger.bold.pressed' | 'color.background.warning' | 'color.background.warning.hovered' | 'color.background.warning.pressed' | 'color.background.warning.bold' | 'color.background.warning.bold.hovered' | 'color.background.warning.bold.pressed' | 'color.background.success' | 'color.background.success.hovered' | 'color.background.success.pressed' | 'color.background.success.bold' | 'color.background.success.bold.hovered' | 'color.background.success.bold.pressed' | 'color.background.discovery' | 'color.background.discovery.hovered' | 'color.background.discovery.pressed' | 'color.background.discovery.bold' | 'color.background.discovery.bold.hovered' | 'color.background.discovery.bold.pressed' | 'color.background.information' | 'color.background.information.hovered' | 'color.background.information.pressed' | 'color.background.information.bold' | 'color.background.information.bold.hovered' | 'color.background.information.bold.pressed' | 'color.blanket' | 'color.blanket.selected' | 'color.blanket.danger' | 'color.interaction.hovered' | 'color.interaction.pressed' | 'color.interaction.inverse.hovered' | 'color.interaction.inverse.pressed' | 'color.skeleton' | 'color.skeleton.subtle' | 'color.link' | 'color.link.pressed' | 'elevation.shadow.raised' | 'elevation.shadow.overflow' | 'elevation.shadow.overlay' | 'elevation.surface' | 'elevation.surface.sunken' | 'elevation.surface.raised' | 'elevation.surface.overlay' | 'utility.UNSAFE_util.transparent' | 'utility.UNSAFE_util.MISSING_TOKEN';
|
|
@@ -2,12 +2,12 @@ import { NodePath } from '@babel/traverse';
|
|
|
2
2
|
import * as t from '@babel/types';
|
|
3
3
|
export default function plugin(): {
|
|
4
4
|
visitor: {
|
|
5
|
-
CallExpression(path: NodePath<t.CallExpression>, state: {
|
|
6
|
-
opts: {
|
|
7
|
-
shouldUseAutoFallback?: boolean;
|
|
8
|
-
};
|
|
9
|
-
}): void;
|
|
10
5
|
Program: {
|
|
6
|
+
enter(path: NodePath<t.Program>, state: {
|
|
7
|
+
opts: {
|
|
8
|
+
shouldUseAutoFallback?: boolean;
|
|
9
|
+
};
|
|
10
|
+
}): void;
|
|
11
11
|
exit(path: NodePath<t.Program>): void;
|
|
12
12
|
};
|
|
13
13
|
};
|
package/dist/types/types.d.ts
CHANGED
|
@@ -423,6 +423,10 @@ export interface AccentColorTokenSchema {
|
|
|
423
423
|
'[default]': PaintToken;
|
|
424
424
|
bolder: PaintToken;
|
|
425
425
|
};
|
|
426
|
+
gray: {
|
|
427
|
+
'[default]': PaintToken;
|
|
428
|
+
bolder: PaintToken;
|
|
429
|
+
};
|
|
426
430
|
};
|
|
427
431
|
};
|
|
428
432
|
icon: {
|
|
@@ -435,6 +439,7 @@ export interface AccentColorTokenSchema {
|
|
|
435
439
|
purple: PaintToken;
|
|
436
440
|
teal: PaintToken;
|
|
437
441
|
magenta: PaintToken;
|
|
442
|
+
gray: PaintToken;
|
|
438
443
|
};
|
|
439
444
|
};
|
|
440
445
|
border: {
|
|
@@ -447,6 +452,7 @@ export interface AccentColorTokenSchema {
|
|
|
447
452
|
purple: PaintToken;
|
|
448
453
|
teal: PaintToken;
|
|
449
454
|
magenta: PaintToken;
|
|
455
|
+
gray: PaintToken;
|
|
450
456
|
};
|
|
451
457
|
};
|
|
452
458
|
background: {
|
|
@@ -499,6 +505,12 @@ export interface AccentColorTokenSchema {
|
|
|
499
505
|
subtle: PaintToken;
|
|
500
506
|
bolder: PaintToken;
|
|
501
507
|
};
|
|
508
|
+
gray: {
|
|
509
|
+
subtlest: PaintToken;
|
|
510
|
+
subtler: PaintToken;
|
|
511
|
+
subtle: PaintToken;
|
|
512
|
+
bolder: PaintToken;
|
|
513
|
+
};
|
|
502
514
|
};
|
|
503
515
|
};
|
|
504
516
|
};
|