@atlaskit/tokens 1.7.0 → 1.8.0
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 +21 -0
- package/dist/cjs/artifacts/generated-pairs.js +313 -1
- package/dist/cjs/artifacts/palettes-raw/palette.js +171 -1
- package/dist/cjs/artifacts/themes/atlassian-dark.js +2 -2
- package/dist/cjs/artifacts/themes/atlassian-legacy-dark.js +2 -2
- package/dist/cjs/artifacts/themes/atlassian-legacy-light.js +2 -2
- package/dist/cjs/artifacts/themes/atlassian-light.js +2 -2
- package/dist/cjs/artifacts/token-default-values.js +15 -1
- package/dist/cjs/artifacts/token-names.js +15 -1
- package/dist/cjs/artifacts/tokens-raw/atlassian-dark.js +309 -1
- package/dist/cjs/artifacts/tokens-raw/atlassian-legacy-dark.js +309 -1
- package/dist/cjs/artifacts/tokens-raw/atlassian-legacy-light.js +309 -1
- package/dist/cjs/artifacts/tokens-raw/atlassian-light.js +309 -1
- package/dist/cjs/get-token-value.js +1 -1
- package/dist/cjs/get-token.js +1 -1
- package/dist/cjs/palettes/palette.js +70 -0
- package/dist/cjs/tokens/atlassian-dark/color/accent.js +28 -0
- package/dist/cjs/tokens/atlassian-dark/color/chart.js +26 -0
- package/dist/cjs/tokens/atlassian-legacy-dark/color/accent.js +36 -0
- package/dist/cjs/tokens/atlassian-legacy-dark/color/chart.js +32 -0
- package/dist/cjs/tokens/atlassian-legacy-light/color/accent.js +36 -0
- package/dist/cjs/tokens/atlassian-legacy-light/color/chart.js +32 -0
- package/dist/cjs/tokens/atlassian-light/color/accent.js +28 -0
- package/dist/cjs/tokens/atlassian-light/color/chart.js +26 -0
- package/dist/cjs/tokens/default/color/accent.js +68 -0
- package/dist/cjs/tokens/default/color/chart.js +56 -0
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/artifacts/generated-pairs.js +313 -1
- package/dist/es2019/artifacts/palettes-raw/palette.js +171 -1
- package/dist/es2019/artifacts/themes/atlassian-dark.js +15 -1
- package/dist/es2019/artifacts/themes/atlassian-legacy-dark.js +15 -1
- package/dist/es2019/artifacts/themes/atlassian-legacy-light.js +15 -1
- package/dist/es2019/artifacts/themes/atlassian-light.js +15 -1
- package/dist/es2019/artifacts/token-default-values.js +15 -1
- package/dist/es2019/artifacts/token-names.js +15 -1
- package/dist/es2019/artifacts/tokens-raw/atlassian-dark.js +309 -1
- package/dist/es2019/artifacts/tokens-raw/atlassian-legacy-dark.js +309 -1
- package/dist/es2019/artifacts/tokens-raw/atlassian-legacy-light.js +309 -1
- package/dist/es2019/artifacts/tokens-raw/atlassian-light.js +309 -1
- package/dist/es2019/get-token-value.js +1 -1
- package/dist/es2019/get-token.js +1 -1
- package/dist/es2019/palettes/palette.js +70 -0
- package/dist/es2019/tokens/atlassian-dark/color/accent.js +28 -0
- package/dist/es2019/tokens/atlassian-dark/color/chart.js +26 -0
- package/dist/es2019/tokens/atlassian-legacy-dark/color/accent.js +36 -0
- package/dist/es2019/tokens/atlassian-legacy-dark/color/chart.js +32 -0
- package/dist/es2019/tokens/atlassian-legacy-light/color/accent.js +36 -0
- package/dist/es2019/tokens/atlassian-legacy-light/color/chart.js +32 -0
- package/dist/es2019/tokens/atlassian-light/color/accent.js +28 -0
- package/dist/es2019/tokens/atlassian-light/color/chart.js +26 -0
- package/dist/es2019/tokens/default/color/accent.js +68 -0
- package/dist/es2019/tokens/default/color/chart.js +56 -0
- package/dist/es2019/version.json +1 -1
- package/dist/esm/artifacts/generated-pairs.js +313 -1
- package/dist/esm/artifacts/palettes-raw/palette.js +171 -1
- package/dist/esm/artifacts/themes/atlassian-dark.js +2 -2
- package/dist/esm/artifacts/themes/atlassian-legacy-dark.js +2 -2
- package/dist/esm/artifacts/themes/atlassian-legacy-light.js +2 -2
- package/dist/esm/artifacts/themes/atlassian-light.js +2 -2
- package/dist/esm/artifacts/token-default-values.js +15 -1
- package/dist/esm/artifacts/token-names.js +15 -1
- package/dist/esm/artifacts/tokens-raw/atlassian-dark.js +309 -1
- package/dist/esm/artifacts/tokens-raw/atlassian-legacy-dark.js +309 -1
- package/dist/esm/artifacts/tokens-raw/atlassian-legacy-light.js +309 -1
- package/dist/esm/artifacts/tokens-raw/atlassian-light.js +309 -1
- package/dist/esm/get-token-value.js +1 -1
- package/dist/esm/get-token.js +1 -1
- package/dist/esm/palettes/palette.js +70 -0
- package/dist/esm/tokens/atlassian-dark/color/accent.js +28 -0
- package/dist/esm/tokens/atlassian-dark/color/chart.js +26 -0
- package/dist/esm/tokens/atlassian-legacy-dark/color/accent.js +36 -0
- package/dist/esm/tokens/atlassian-legacy-dark/color/chart.js +32 -0
- package/dist/esm/tokens/atlassian-legacy-light/color/accent.js +36 -0
- package/dist/esm/tokens/atlassian-legacy-light/color/chart.js +32 -0
- package/dist/esm/tokens/atlassian-light/color/accent.js +28 -0
- package/dist/esm/tokens/atlassian-light/color/chart.js +26 -0
- package/dist/esm/tokens/default/color/accent.js +68 -0
- package/dist/esm/tokens/default/color/chart.js +56 -0
- package/dist/esm/version.json +1 -1
- package/dist/types/artifacts/generated-pairs.d.ts +1 -1
- package/dist/types/artifacts/palettes-raw/palette.d.ts +1 -1
- package/dist/types/artifacts/themes/atlassian-dark.d.ts +2 -2
- package/dist/types/artifacts/themes/atlassian-legacy-dark.d.ts +2 -2
- package/dist/types/artifacts/themes/atlassian-legacy-light.d.ts +2 -2
- package/dist/types/artifacts/themes/atlassian-light.d.ts +2 -2
- package/dist/types/artifacts/token-default-values.d.ts +15 -1
- package/dist/types/artifacts/token-names.d.ts +29 -1
- package/dist/types/artifacts/tokens-raw/atlassian-dark.d.ts +1 -1
- package/dist/types/artifacts/tokens-raw/atlassian-legacy-dark.d.ts +1 -1
- package/dist/types/artifacts/tokens-raw/atlassian-legacy-light.d.ts +1 -1
- package/dist/types/artifacts/tokens-raw/atlassian-light.d.ts +1 -1
- package/dist/types/artifacts/types-internal.d.ts +2 -2
- package/dist/types/artifacts/types.d.ts +2 -2
- package/dist/types/palettes/palette.d.ts +1 -1
- package/dist/types/tokens/atlassian-dark/utility/utility.d.ts +1 -1
- package/dist/types/tokens/atlassian-light/utility/utility.d.ts +1 -1
- package/dist/types/tokens/default/utility/utility.d.ts +1 -1
- package/dist/types/types.d.ts +27 -1
- package/dist/types-ts4.5/artifacts/generated-pairs.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/palettes-raw/palette.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/themes/atlassian-dark.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/themes/atlassian-legacy-dark.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/themes/atlassian-legacy-light.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/themes/atlassian-light.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/token-default-values.d.ts +15 -1
- package/dist/types-ts4.5/artifacts/token-names.d.ts +29 -1
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-dark.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-legacy-dark.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-legacy-light.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-light.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/types-internal.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/types.d.ts +2 -2
- package/dist/types-ts4.5/palettes/palette.d.ts +1 -1
- package/dist/types-ts4.5/tokens/atlassian-dark/utility/utility.d.ts +1 -1
- package/dist/types-ts4.5/tokens/atlassian-light/utility/utility.d.ts +1 -1
- package/dist/types-ts4.5/tokens/default/utility/utility.d.ts +1 -1
- package/dist/types-ts4.5/types.d.ts +27 -1
- package/figma/atlassian-dark.json +126 -0
- package/figma/atlassian-legacy-dark.json +126 -0
- package/figma/atlassian-legacy-light.json +126 -0
- package/figma/atlassian-light.json +126 -0
- package/package.json +1 -1
- package/report.api.md +56 -0
- package/tmp/api-report-tmp.d.ts +30 -2
|
@@ -4,10 +4,18 @@
|
|
|
4
4
|
* Auto-generated list of token pairings that may need to have sufficient contrast.
|
|
5
5
|
* Not currently used by tests, but is used by the custom theme contrast checker example
|
|
6
6
|
*
|
|
7
|
-
* @codegen <<SignedSource::
|
|
7
|
+
* @codegen <<SignedSource::411fd07bb804a9703b71946f1557b2a1>>
|
|
8
8
|
* @codegenCommand yarn build tokens
|
|
9
9
|
*/
|
|
10
10
|
export const generatedPairs = [{
|
|
11
|
+
foreground: 'color.text',
|
|
12
|
+
background: 'color.background.accent.lime.subtlest',
|
|
13
|
+
desiredContrast: 4.5
|
|
14
|
+
}, {
|
|
15
|
+
foreground: 'color.text',
|
|
16
|
+
background: 'color.background.accent.lime.subtler',
|
|
17
|
+
desiredContrast: 4.5
|
|
18
|
+
}, {
|
|
11
19
|
foreground: 'color.text',
|
|
12
20
|
background: 'color.background.accent.red.subtlest',
|
|
13
21
|
desiredContrast: 4.5
|
|
@@ -163,6 +171,26 @@ export const generatedPairs = [{
|
|
|
163
171
|
foreground: 'color.text',
|
|
164
172
|
background: 'color.background.information.pressed',
|
|
165
173
|
desiredContrast: 4.5
|
|
174
|
+
}, {
|
|
175
|
+
foreground: 'color.text.accent.lime',
|
|
176
|
+
background: 'color.background.accent.lime.subtlest',
|
|
177
|
+
desiredContrast: 4.5
|
|
178
|
+
}, {
|
|
179
|
+
foreground: 'color.text.accent.lime',
|
|
180
|
+
background: 'color.background.accent.lime.subtler',
|
|
181
|
+
desiredContrast: 4.5
|
|
182
|
+
}, {
|
|
183
|
+
foreground: 'color.text.accent.lime.bolder',
|
|
184
|
+
background: 'color.background.accent.lime.subtlest',
|
|
185
|
+
desiredContrast: 4.5
|
|
186
|
+
}, {
|
|
187
|
+
foreground: 'color.text.accent.lime.bolder',
|
|
188
|
+
background: 'color.background.accent.lime.subtler',
|
|
189
|
+
desiredContrast: 4.5
|
|
190
|
+
}, {
|
|
191
|
+
foreground: 'color.text.accent.lime.bolder',
|
|
192
|
+
background: 'color.background.accent.lime.subtle',
|
|
193
|
+
desiredContrast: 4.5
|
|
166
194
|
}, {
|
|
167
195
|
foreground: 'color.text.accent.red',
|
|
168
196
|
background: 'color.background.accent.red.subtlest',
|
|
@@ -343,6 +371,10 @@ export const generatedPairs = [{
|
|
|
343
371
|
foreground: 'color.text.accent.gray.bolder',
|
|
344
372
|
background: 'color.background.accent.gray.subtle',
|
|
345
373
|
desiredContrast: 4.5
|
|
374
|
+
}, {
|
|
375
|
+
foreground: 'color.text.inverse',
|
|
376
|
+
background: 'color.background.accent.lime.bolder',
|
|
377
|
+
desiredContrast: 4.5
|
|
346
378
|
}, {
|
|
347
379
|
foreground: 'color.text.inverse',
|
|
348
380
|
background: 'color.background.accent.red.bolder',
|
|
@@ -547,6 +579,14 @@ export const generatedPairs = [{
|
|
|
547
579
|
foreground: 'color.text.information',
|
|
548
580
|
background: 'color.background.information.pressed',
|
|
549
581
|
desiredContrast: 4.5
|
|
582
|
+
}, {
|
|
583
|
+
foreground: 'color.text.subtlest',
|
|
584
|
+
background: 'color.background.accent.lime.subtlest',
|
|
585
|
+
desiredContrast: 4.5
|
|
586
|
+
}, {
|
|
587
|
+
foreground: 'color.text.subtlest',
|
|
588
|
+
background: 'color.background.accent.lime.subtler',
|
|
589
|
+
desiredContrast: 4.5
|
|
550
590
|
}, {
|
|
551
591
|
foreground: 'color.text.subtlest',
|
|
552
592
|
background: 'color.background.accent.red.subtlest',
|
|
@@ -703,6 +743,14 @@ export const generatedPairs = [{
|
|
|
703
743
|
foreground: 'color.text.subtlest',
|
|
704
744
|
background: 'color.background.information.pressed',
|
|
705
745
|
desiredContrast: 4.5
|
|
746
|
+
}, {
|
|
747
|
+
foreground: 'color.text.subtle',
|
|
748
|
+
background: 'color.background.accent.lime.subtlest',
|
|
749
|
+
desiredContrast: 4.5
|
|
750
|
+
}, {
|
|
751
|
+
foreground: 'color.text.subtle',
|
|
752
|
+
background: 'color.background.accent.lime.subtler',
|
|
753
|
+
desiredContrast: 4.5
|
|
706
754
|
}, {
|
|
707
755
|
foreground: 'color.text.subtle',
|
|
708
756
|
background: 'color.background.accent.red.subtlest',
|
|
@@ -859,6 +907,14 @@ export const generatedPairs = [{
|
|
|
859
907
|
foreground: 'color.text.subtle',
|
|
860
908
|
background: 'color.background.information.pressed',
|
|
861
909
|
desiredContrast: 4.5
|
|
910
|
+
}, {
|
|
911
|
+
foreground: 'color.link',
|
|
912
|
+
background: 'color.background.accent.lime.subtlest',
|
|
913
|
+
desiredContrast: 3
|
|
914
|
+
}, {
|
|
915
|
+
foreground: 'color.link',
|
|
916
|
+
background: 'color.background.accent.lime.subtler',
|
|
917
|
+
desiredContrast: 3
|
|
862
918
|
}, {
|
|
863
919
|
foreground: 'color.link',
|
|
864
920
|
background: 'color.background.accent.red.subtlest',
|
|
@@ -1015,6 +1071,14 @@ export const generatedPairs = [{
|
|
|
1015
1071
|
foreground: 'color.link',
|
|
1016
1072
|
background: 'color.background.information.pressed',
|
|
1017
1073
|
desiredContrast: 3
|
|
1074
|
+
}, {
|
|
1075
|
+
foreground: 'color.icon',
|
|
1076
|
+
background: 'color.background.accent.lime.subtlest',
|
|
1077
|
+
desiredContrast: 3
|
|
1078
|
+
}, {
|
|
1079
|
+
foreground: 'color.icon',
|
|
1080
|
+
background: 'color.background.accent.lime.subtler',
|
|
1081
|
+
desiredContrast: 3
|
|
1018
1082
|
}, {
|
|
1019
1083
|
foreground: 'color.icon',
|
|
1020
1084
|
background: 'color.background.accent.red.subtlest',
|
|
@@ -1171,6 +1235,14 @@ export const generatedPairs = [{
|
|
|
1171
1235
|
foreground: 'color.icon',
|
|
1172
1236
|
background: 'color.background.information.pressed',
|
|
1173
1237
|
desiredContrast: 3
|
|
1238
|
+
}, {
|
|
1239
|
+
foreground: 'color.icon.accent.lime',
|
|
1240
|
+
background: 'color.background.accent.lime.subtlest',
|
|
1241
|
+
desiredContrast: 3
|
|
1242
|
+
}, {
|
|
1243
|
+
foreground: 'color.icon.accent.lime',
|
|
1244
|
+
background: 'color.background.accent.lime.subtler',
|
|
1245
|
+
desiredContrast: 3
|
|
1174
1246
|
}, {
|
|
1175
1247
|
foreground: 'color.icon.accent.red',
|
|
1176
1248
|
background: 'color.background.accent.red.subtlest',
|
|
@@ -1243,6 +1315,10 @@ export const generatedPairs = [{
|
|
|
1243
1315
|
foreground: 'color.icon.accent.gray',
|
|
1244
1316
|
background: 'color.background.accent.gray.subtler',
|
|
1245
1317
|
desiredContrast: 3
|
|
1318
|
+
}, {
|
|
1319
|
+
foreground: 'color.icon.inverse',
|
|
1320
|
+
background: 'color.background.accent.lime.bolder',
|
|
1321
|
+
desiredContrast: 3
|
|
1246
1322
|
}, {
|
|
1247
1323
|
foreground: 'color.icon.inverse',
|
|
1248
1324
|
background: 'color.background.accent.red.bolder',
|
|
@@ -1447,6 +1523,14 @@ export const generatedPairs = [{
|
|
|
1447
1523
|
foreground: 'color.icon.information',
|
|
1448
1524
|
background: 'color.background.information.pressed',
|
|
1449
1525
|
desiredContrast: 3
|
|
1526
|
+
}, {
|
|
1527
|
+
foreground: 'color.icon.subtle',
|
|
1528
|
+
background: 'color.background.accent.lime.subtlest',
|
|
1529
|
+
desiredContrast: 3
|
|
1530
|
+
}, {
|
|
1531
|
+
foreground: 'color.icon.subtle',
|
|
1532
|
+
background: 'color.background.accent.lime.subtler',
|
|
1533
|
+
desiredContrast: 3
|
|
1450
1534
|
}, {
|
|
1451
1535
|
foreground: 'color.icon.subtle',
|
|
1452
1536
|
background: 'color.background.accent.red.subtlest',
|
|
@@ -1603,6 +1687,14 @@ export const generatedPairs = [{
|
|
|
1603
1687
|
foreground: 'color.icon.subtle',
|
|
1604
1688
|
background: 'color.background.information.pressed',
|
|
1605
1689
|
desiredContrast: 3
|
|
1690
|
+
}, {
|
|
1691
|
+
foreground: 'color.border.accent.lime',
|
|
1692
|
+
background: 'color.background.accent.lime.subtlest',
|
|
1693
|
+
desiredContrast: 3
|
|
1694
|
+
}, {
|
|
1695
|
+
foreground: 'color.border.accent.lime',
|
|
1696
|
+
background: 'color.background.accent.lime.subtler',
|
|
1697
|
+
desiredContrast: 3
|
|
1606
1698
|
}, {
|
|
1607
1699
|
foreground: 'color.border.accent.red',
|
|
1608
1700
|
background: 'color.background.accent.red.subtlest',
|
|
@@ -1675,6 +1767,10 @@ export const generatedPairs = [{
|
|
|
1675
1767
|
foreground: 'color.border.accent.gray',
|
|
1676
1768
|
background: 'color.background.accent.gray.subtler',
|
|
1677
1769
|
desiredContrast: 3
|
|
1770
|
+
}, {
|
|
1771
|
+
foreground: 'color.border.inverse',
|
|
1772
|
+
background: 'color.background.accent.lime.bolder',
|
|
1773
|
+
desiredContrast: 3
|
|
1678
1774
|
}, {
|
|
1679
1775
|
foreground: 'color.border.inverse',
|
|
1680
1776
|
background: 'color.background.accent.red.bolder',
|
|
@@ -1867,6 +1963,14 @@ export const generatedPairs = [{
|
|
|
1867
1963
|
foreground: 'color.border.information',
|
|
1868
1964
|
background: 'color.background.information.pressed',
|
|
1869
1965
|
desiredContrast: 3
|
|
1966
|
+
}, {
|
|
1967
|
+
foreground: 'color.border.bold',
|
|
1968
|
+
background: 'color.background.accent.lime.subtlest',
|
|
1969
|
+
desiredContrast: 3
|
|
1970
|
+
}, {
|
|
1971
|
+
foreground: 'color.border.bold',
|
|
1972
|
+
background: 'color.background.accent.lime.subtler',
|
|
1973
|
+
desiredContrast: 3
|
|
1870
1974
|
}, {
|
|
1871
1975
|
foreground: 'color.border.bold',
|
|
1872
1976
|
background: 'color.background.accent.red.subtlest',
|
|
@@ -2023,6 +2127,14 @@ export const generatedPairs = [{
|
|
|
2023
2127
|
foreground: 'color.border.bold',
|
|
2024
2128
|
background: 'color.background.information.pressed',
|
|
2025
2129
|
desiredContrast: 3
|
|
2130
|
+
}, {
|
|
2131
|
+
foreground: 'color.background.accent.lime.bolder',
|
|
2132
|
+
background: 'color.background.accent.lime.subtlest',
|
|
2133
|
+
desiredContrast: 3
|
|
2134
|
+
}, {
|
|
2135
|
+
foreground: 'color.background.accent.lime.bolder',
|
|
2136
|
+
background: 'color.background.accent.lime.subtler',
|
|
2137
|
+
desiredContrast: 3
|
|
2026
2138
|
}, {
|
|
2027
2139
|
foreground: 'color.background.accent.red.bolder',
|
|
2028
2140
|
background: 'color.background.accent.red.subtlest',
|
|
@@ -2311,6 +2423,46 @@ export const generatedPairs = [{
|
|
|
2311
2423
|
foreground: 'color.background.information.bold.pressed',
|
|
2312
2424
|
background: 'color.background.information.pressed',
|
|
2313
2425
|
desiredContrast: 3
|
|
2426
|
+
}, {
|
|
2427
|
+
foreground: 'color.background.accent.lime.bolder',
|
|
2428
|
+
background: 'elevation.surface',
|
|
2429
|
+
desiredContrast: 3
|
|
2430
|
+
}, {
|
|
2431
|
+
foreground: 'color.background.accent.lime.bolder',
|
|
2432
|
+
background: 'elevation.surface.hovered',
|
|
2433
|
+
desiredContrast: 3
|
|
2434
|
+
}, {
|
|
2435
|
+
foreground: 'color.background.accent.lime.bolder',
|
|
2436
|
+
background: 'elevation.surface.pressed',
|
|
2437
|
+
desiredContrast: 3
|
|
2438
|
+
}, {
|
|
2439
|
+
foreground: 'color.background.accent.lime.bolder',
|
|
2440
|
+
background: 'elevation.surface.overlay',
|
|
2441
|
+
desiredContrast: 3
|
|
2442
|
+
}, {
|
|
2443
|
+
foreground: 'color.background.accent.lime.bolder',
|
|
2444
|
+
background: 'elevation.surface.overlay.hovered',
|
|
2445
|
+
desiredContrast: 3
|
|
2446
|
+
}, {
|
|
2447
|
+
foreground: 'color.background.accent.lime.bolder',
|
|
2448
|
+
background: 'elevation.surface.overlay.pressed',
|
|
2449
|
+
desiredContrast: 3
|
|
2450
|
+
}, {
|
|
2451
|
+
foreground: 'color.background.accent.lime.bolder',
|
|
2452
|
+
background: 'elevation.surface.raised',
|
|
2453
|
+
desiredContrast: 3
|
|
2454
|
+
}, {
|
|
2455
|
+
foreground: 'color.background.accent.lime.bolder',
|
|
2456
|
+
background: 'elevation.surface.raised.hovered',
|
|
2457
|
+
desiredContrast: 3
|
|
2458
|
+
}, {
|
|
2459
|
+
foreground: 'color.background.accent.lime.bolder',
|
|
2460
|
+
background: 'elevation.surface.raised.pressed',
|
|
2461
|
+
desiredContrast: 3
|
|
2462
|
+
}, {
|
|
2463
|
+
foreground: 'color.background.accent.lime.bolder',
|
|
2464
|
+
background: 'elevation.surface.sunken',
|
|
2465
|
+
desiredContrast: 3
|
|
2314
2466
|
}, {
|
|
2315
2467
|
foreground: 'color.background.accent.red.bolder',
|
|
2316
2468
|
background: 'elevation.surface',
|
|
@@ -3671,6 +3823,86 @@ export const generatedPairs = [{
|
|
|
3671
3823
|
foreground: 'color.text',
|
|
3672
3824
|
background: 'elevation.surface.sunken',
|
|
3673
3825
|
desiredContrast: 4.5
|
|
3826
|
+
}, {
|
|
3827
|
+
foreground: 'color.text.accent.lime',
|
|
3828
|
+
background: 'elevation.surface',
|
|
3829
|
+
desiredContrast: 4.5
|
|
3830
|
+
}, {
|
|
3831
|
+
foreground: 'color.text.accent.lime',
|
|
3832
|
+
background: 'elevation.surface.hovered',
|
|
3833
|
+
desiredContrast: 4.5
|
|
3834
|
+
}, {
|
|
3835
|
+
foreground: 'color.text.accent.lime',
|
|
3836
|
+
background: 'elevation.surface.pressed',
|
|
3837
|
+
desiredContrast: 4.5
|
|
3838
|
+
}, {
|
|
3839
|
+
foreground: 'color.text.accent.lime',
|
|
3840
|
+
background: 'elevation.surface.overlay',
|
|
3841
|
+
desiredContrast: 4.5
|
|
3842
|
+
}, {
|
|
3843
|
+
foreground: 'color.text.accent.lime',
|
|
3844
|
+
background: 'elevation.surface.overlay.hovered',
|
|
3845
|
+
desiredContrast: 4.5
|
|
3846
|
+
}, {
|
|
3847
|
+
foreground: 'color.text.accent.lime',
|
|
3848
|
+
background: 'elevation.surface.overlay.pressed',
|
|
3849
|
+
desiredContrast: 4.5
|
|
3850
|
+
}, {
|
|
3851
|
+
foreground: 'color.text.accent.lime',
|
|
3852
|
+
background: 'elevation.surface.raised',
|
|
3853
|
+
desiredContrast: 4.5
|
|
3854
|
+
}, {
|
|
3855
|
+
foreground: 'color.text.accent.lime',
|
|
3856
|
+
background: 'elevation.surface.raised.hovered',
|
|
3857
|
+
desiredContrast: 4.5
|
|
3858
|
+
}, {
|
|
3859
|
+
foreground: 'color.text.accent.lime',
|
|
3860
|
+
background: 'elevation.surface.raised.pressed',
|
|
3861
|
+
desiredContrast: 4.5
|
|
3862
|
+
}, {
|
|
3863
|
+
foreground: 'color.text.accent.lime',
|
|
3864
|
+
background: 'elevation.surface.sunken',
|
|
3865
|
+
desiredContrast: 4.5
|
|
3866
|
+
}, {
|
|
3867
|
+
foreground: 'color.text.accent.lime.bolder',
|
|
3868
|
+
background: 'elevation.surface',
|
|
3869
|
+
desiredContrast: 4.5
|
|
3870
|
+
}, {
|
|
3871
|
+
foreground: 'color.text.accent.lime.bolder',
|
|
3872
|
+
background: 'elevation.surface.hovered',
|
|
3873
|
+
desiredContrast: 4.5
|
|
3874
|
+
}, {
|
|
3875
|
+
foreground: 'color.text.accent.lime.bolder',
|
|
3876
|
+
background: 'elevation.surface.pressed',
|
|
3877
|
+
desiredContrast: 4.5
|
|
3878
|
+
}, {
|
|
3879
|
+
foreground: 'color.text.accent.lime.bolder',
|
|
3880
|
+
background: 'elevation.surface.overlay',
|
|
3881
|
+
desiredContrast: 4.5
|
|
3882
|
+
}, {
|
|
3883
|
+
foreground: 'color.text.accent.lime.bolder',
|
|
3884
|
+
background: 'elevation.surface.overlay.hovered',
|
|
3885
|
+
desiredContrast: 4.5
|
|
3886
|
+
}, {
|
|
3887
|
+
foreground: 'color.text.accent.lime.bolder',
|
|
3888
|
+
background: 'elevation.surface.overlay.pressed',
|
|
3889
|
+
desiredContrast: 4.5
|
|
3890
|
+
}, {
|
|
3891
|
+
foreground: 'color.text.accent.lime.bolder',
|
|
3892
|
+
background: 'elevation.surface.raised',
|
|
3893
|
+
desiredContrast: 4.5
|
|
3894
|
+
}, {
|
|
3895
|
+
foreground: 'color.text.accent.lime.bolder',
|
|
3896
|
+
background: 'elevation.surface.raised.hovered',
|
|
3897
|
+
desiredContrast: 4.5
|
|
3898
|
+
}, {
|
|
3899
|
+
foreground: 'color.text.accent.lime.bolder',
|
|
3900
|
+
background: 'elevation.surface.raised.pressed',
|
|
3901
|
+
desiredContrast: 4.5
|
|
3902
|
+
}, {
|
|
3903
|
+
foreground: 'color.text.accent.lime.bolder',
|
|
3904
|
+
background: 'elevation.surface.sunken',
|
|
3905
|
+
desiredContrast: 4.5
|
|
3674
3906
|
}, {
|
|
3675
3907
|
foreground: 'color.text.accent.red',
|
|
3676
3908
|
background: 'elevation.surface',
|
|
@@ -4871,6 +5103,46 @@ export const generatedPairs = [{
|
|
|
4871
5103
|
foreground: 'color.icon',
|
|
4872
5104
|
background: 'elevation.surface.sunken',
|
|
4873
5105
|
desiredContrast: 3
|
|
5106
|
+
}, {
|
|
5107
|
+
foreground: 'color.icon.accent.lime',
|
|
5108
|
+
background: 'elevation.surface',
|
|
5109
|
+
desiredContrast: 3
|
|
5110
|
+
}, {
|
|
5111
|
+
foreground: 'color.icon.accent.lime',
|
|
5112
|
+
background: 'elevation.surface.hovered',
|
|
5113
|
+
desiredContrast: 3
|
|
5114
|
+
}, {
|
|
5115
|
+
foreground: 'color.icon.accent.lime',
|
|
5116
|
+
background: 'elevation.surface.pressed',
|
|
5117
|
+
desiredContrast: 3
|
|
5118
|
+
}, {
|
|
5119
|
+
foreground: 'color.icon.accent.lime',
|
|
5120
|
+
background: 'elevation.surface.overlay',
|
|
5121
|
+
desiredContrast: 3
|
|
5122
|
+
}, {
|
|
5123
|
+
foreground: 'color.icon.accent.lime',
|
|
5124
|
+
background: 'elevation.surface.overlay.hovered',
|
|
5125
|
+
desiredContrast: 3
|
|
5126
|
+
}, {
|
|
5127
|
+
foreground: 'color.icon.accent.lime',
|
|
5128
|
+
background: 'elevation.surface.overlay.pressed',
|
|
5129
|
+
desiredContrast: 3
|
|
5130
|
+
}, {
|
|
5131
|
+
foreground: 'color.icon.accent.lime',
|
|
5132
|
+
background: 'elevation.surface.raised',
|
|
5133
|
+
desiredContrast: 3
|
|
5134
|
+
}, {
|
|
5135
|
+
foreground: 'color.icon.accent.lime',
|
|
5136
|
+
background: 'elevation.surface.raised.hovered',
|
|
5137
|
+
desiredContrast: 3
|
|
5138
|
+
}, {
|
|
5139
|
+
foreground: 'color.icon.accent.lime',
|
|
5140
|
+
background: 'elevation.surface.raised.pressed',
|
|
5141
|
+
desiredContrast: 3
|
|
5142
|
+
}, {
|
|
5143
|
+
foreground: 'color.icon.accent.lime',
|
|
5144
|
+
background: 'elevation.surface.sunken',
|
|
5145
|
+
desiredContrast: 3
|
|
4874
5146
|
}, {
|
|
4875
5147
|
foreground: 'color.icon.accent.red',
|
|
4876
5148
|
background: 'elevation.surface',
|
|
@@ -5551,6 +5823,46 @@ export const generatedPairs = [{
|
|
|
5551
5823
|
foreground: 'color.icon.subtle',
|
|
5552
5824
|
background: 'elevation.surface.sunken',
|
|
5553
5825
|
desiredContrast: 3
|
|
5826
|
+
}, {
|
|
5827
|
+
foreground: 'color.border.accent.lime',
|
|
5828
|
+
background: 'elevation.surface',
|
|
5829
|
+
desiredContrast: 3
|
|
5830
|
+
}, {
|
|
5831
|
+
foreground: 'color.border.accent.lime',
|
|
5832
|
+
background: 'elevation.surface.hovered',
|
|
5833
|
+
desiredContrast: 3
|
|
5834
|
+
}, {
|
|
5835
|
+
foreground: 'color.border.accent.lime',
|
|
5836
|
+
background: 'elevation.surface.pressed',
|
|
5837
|
+
desiredContrast: 3
|
|
5838
|
+
}, {
|
|
5839
|
+
foreground: 'color.border.accent.lime',
|
|
5840
|
+
background: 'elevation.surface.overlay',
|
|
5841
|
+
desiredContrast: 3
|
|
5842
|
+
}, {
|
|
5843
|
+
foreground: 'color.border.accent.lime',
|
|
5844
|
+
background: 'elevation.surface.overlay.hovered',
|
|
5845
|
+
desiredContrast: 3
|
|
5846
|
+
}, {
|
|
5847
|
+
foreground: 'color.border.accent.lime',
|
|
5848
|
+
background: 'elevation.surface.overlay.pressed',
|
|
5849
|
+
desiredContrast: 3
|
|
5850
|
+
}, {
|
|
5851
|
+
foreground: 'color.border.accent.lime',
|
|
5852
|
+
background: 'elevation.surface.raised',
|
|
5853
|
+
desiredContrast: 3
|
|
5854
|
+
}, {
|
|
5855
|
+
foreground: 'color.border.accent.lime',
|
|
5856
|
+
background: 'elevation.surface.raised.hovered',
|
|
5857
|
+
desiredContrast: 3
|
|
5858
|
+
}, {
|
|
5859
|
+
foreground: 'color.border.accent.lime',
|
|
5860
|
+
background: 'elevation.surface.raised.pressed',
|
|
5861
|
+
desiredContrast: 3
|
|
5862
|
+
}, {
|
|
5863
|
+
foreground: 'color.border.accent.lime',
|
|
5864
|
+
background: 'elevation.surface.sunken',
|
|
5865
|
+
desiredContrast: 3
|
|
5554
5866
|
}, {
|
|
5555
5867
|
foreground: 'color.border.accent.red',
|
|
5556
5868
|
background: 'elevation.surface',
|
|
@@ -1,9 +1,179 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::9c6b0dc194cd08f14bf3fd6a258b05a5>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
const tokens = [{
|
|
7
|
+
"value": "#EEFBDA",
|
|
8
|
+
"attributes": {
|
|
9
|
+
"group": "palette",
|
|
10
|
+
"category": "lime"
|
|
11
|
+
},
|
|
12
|
+
"filePath": "src/palettes/palette.tsx",
|
|
13
|
+
"isSource": true,
|
|
14
|
+
"original": {
|
|
15
|
+
"value": "#EEFBDA",
|
|
16
|
+
"attributes": {
|
|
17
|
+
"group": "palette",
|
|
18
|
+
"category": "lime"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"name": "color.palette.Lime100",
|
|
22
|
+
"path": ["color", "palette", "Lime100"]
|
|
23
|
+
}, {
|
|
24
|
+
"value": "#D3F1A7",
|
|
25
|
+
"attributes": {
|
|
26
|
+
"group": "palette",
|
|
27
|
+
"category": "lime"
|
|
28
|
+
},
|
|
29
|
+
"filePath": "src/palettes/palette.tsx",
|
|
30
|
+
"isSource": true,
|
|
31
|
+
"original": {
|
|
32
|
+
"value": "#D3F1A7",
|
|
33
|
+
"attributes": {
|
|
34
|
+
"group": "palette",
|
|
35
|
+
"category": "lime"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"name": "color.palette.Lime200",
|
|
39
|
+
"path": ["color", "palette", "Lime200"]
|
|
40
|
+
}, {
|
|
41
|
+
"value": "#B3DF72",
|
|
42
|
+
"attributes": {
|
|
43
|
+
"group": "palette",
|
|
44
|
+
"category": "lime"
|
|
45
|
+
},
|
|
46
|
+
"filePath": "src/palettes/palette.tsx",
|
|
47
|
+
"isSource": true,
|
|
48
|
+
"original": {
|
|
49
|
+
"value": "#B3DF72",
|
|
50
|
+
"attributes": {
|
|
51
|
+
"group": "palette",
|
|
52
|
+
"category": "lime"
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"name": "color.palette.Lime300",
|
|
56
|
+
"path": ["color", "palette", "Lime300"]
|
|
57
|
+
}, {
|
|
58
|
+
"value": "#94C748",
|
|
59
|
+
"attributes": {
|
|
60
|
+
"group": "palette",
|
|
61
|
+
"category": "lime"
|
|
62
|
+
},
|
|
63
|
+
"filePath": "src/palettes/palette.tsx",
|
|
64
|
+
"isSource": true,
|
|
65
|
+
"original": {
|
|
66
|
+
"value": "#94C748",
|
|
67
|
+
"attributes": {
|
|
68
|
+
"group": "palette",
|
|
69
|
+
"category": "lime"
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"name": "color.palette.Lime400",
|
|
73
|
+
"path": ["color", "palette", "Lime400"]
|
|
74
|
+
}, {
|
|
75
|
+
"value": "#82B536",
|
|
76
|
+
"attributes": {
|
|
77
|
+
"group": "palette",
|
|
78
|
+
"category": "lime"
|
|
79
|
+
},
|
|
80
|
+
"filePath": "src/palettes/palette.tsx",
|
|
81
|
+
"isSource": true,
|
|
82
|
+
"original": {
|
|
83
|
+
"value": "#82B536",
|
|
84
|
+
"attributes": {
|
|
85
|
+
"group": "palette",
|
|
86
|
+
"category": "lime"
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"name": "color.palette.Lime500",
|
|
90
|
+
"path": ["color", "palette", "Lime500"]
|
|
91
|
+
}, {
|
|
92
|
+
"value": "#6A9A23",
|
|
93
|
+
"attributes": {
|
|
94
|
+
"group": "palette",
|
|
95
|
+
"category": "lime"
|
|
96
|
+
},
|
|
97
|
+
"filePath": "src/palettes/palette.tsx",
|
|
98
|
+
"isSource": true,
|
|
99
|
+
"original": {
|
|
100
|
+
"value": "#6A9A23",
|
|
101
|
+
"attributes": {
|
|
102
|
+
"group": "palette",
|
|
103
|
+
"category": "lime"
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
"name": "color.palette.Lime600",
|
|
107
|
+
"path": ["color", "palette", "Lime600"]
|
|
108
|
+
}, {
|
|
109
|
+
"value": "#5B7F24",
|
|
110
|
+
"attributes": {
|
|
111
|
+
"group": "palette",
|
|
112
|
+
"category": "lime"
|
|
113
|
+
},
|
|
114
|
+
"filePath": "src/palettes/palette.tsx",
|
|
115
|
+
"isSource": true,
|
|
116
|
+
"original": {
|
|
117
|
+
"value": "#5B7F24",
|
|
118
|
+
"attributes": {
|
|
119
|
+
"group": "palette",
|
|
120
|
+
"category": "lime"
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
"name": "color.palette.Lime700",
|
|
124
|
+
"path": ["color", "palette", "Lime700"]
|
|
125
|
+
}, {
|
|
126
|
+
"value": "#4C6B1F",
|
|
127
|
+
"attributes": {
|
|
128
|
+
"group": "palette",
|
|
129
|
+
"category": "lime"
|
|
130
|
+
},
|
|
131
|
+
"filePath": "src/palettes/palette.tsx",
|
|
132
|
+
"isSource": true,
|
|
133
|
+
"original": {
|
|
134
|
+
"value": "#4C6B1F",
|
|
135
|
+
"attributes": {
|
|
136
|
+
"group": "palette",
|
|
137
|
+
"category": "lime"
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
"name": "color.palette.Lime800",
|
|
141
|
+
"path": ["color", "palette", "Lime800"]
|
|
142
|
+
}, {
|
|
143
|
+
"value": "#37471F",
|
|
144
|
+
"attributes": {
|
|
145
|
+
"group": "palette",
|
|
146
|
+
"category": "lime"
|
|
147
|
+
},
|
|
148
|
+
"filePath": "src/palettes/palette.tsx",
|
|
149
|
+
"isSource": true,
|
|
150
|
+
"original": {
|
|
151
|
+
"value": "#37471F",
|
|
152
|
+
"attributes": {
|
|
153
|
+
"group": "palette",
|
|
154
|
+
"category": "lime"
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
"name": "color.palette.Lime900",
|
|
158
|
+
"path": ["color", "palette", "Lime900"]
|
|
159
|
+
}, {
|
|
160
|
+
"value": "#2A3818",
|
|
161
|
+
"attributes": {
|
|
162
|
+
"group": "palette",
|
|
163
|
+
"category": "lime"
|
|
164
|
+
},
|
|
165
|
+
"filePath": "src/palettes/palette.tsx",
|
|
166
|
+
"isSource": true,
|
|
167
|
+
"original": {
|
|
168
|
+
"value": "#2A3818",
|
|
169
|
+
"attributes": {
|
|
170
|
+
"group": "palette",
|
|
171
|
+
"category": "lime"
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
"name": "color.palette.Lime1000",
|
|
175
|
+
"path": ["color", "palette", "Lime1000"]
|
|
176
|
+
}, {
|
|
7
177
|
"value": "#FFEDEB",
|
|
8
178
|
"attributes": {
|
|
9
179
|
"group": "palette",
|
|
@@ -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::8edab6541f62f57636153fe3ff90017a>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
export default `
|
|
@@ -8,6 +8,8 @@ html[data-color-mode="light"][data-theme~="light:dark"],
|
|
|
8
8
|
html[data-color-mode="dark"][data-theme~="dark:dark"] {
|
|
9
9
|
color-scheme: dark;
|
|
10
10
|
--ds-text: #C7D1DB;
|
|
11
|
+
--ds-text-accent-lime: #B3DF72;
|
|
12
|
+
--ds-text-accent-lime-bolder: #D3F1A7;
|
|
11
13
|
--ds-text-accent-red: #FF9C8F;
|
|
12
14
|
--ds-text-accent-red-bolder: #FFD2CC;
|
|
13
15
|
--ds-text-accent-orange: #FEC57B;
|
|
@@ -41,6 +43,7 @@ html[data-color-mode="dark"][data-theme~="dark:dark"] {
|
|
|
41
43
|
--ds-link: #579DFF;
|
|
42
44
|
--ds-link-pressed: #85B8FF;
|
|
43
45
|
--ds-icon: #9FADBC;
|
|
46
|
+
--ds-icon-accent-lime: #82B536;
|
|
44
47
|
--ds-icon-accent-red: #EF5C48;
|
|
45
48
|
--ds-icon-accent-orange: #F18D13;
|
|
46
49
|
--ds-icon-accent-yellow: #CF9F02;
|
|
@@ -62,6 +65,7 @@ html[data-color-mode="dark"][data-theme~="dark:dark"] {
|
|
|
62
65
|
--ds-icon-information: #388BFF;
|
|
63
66
|
--ds-icon-subtle: #8696A7;
|
|
64
67
|
--ds-border: #A6C5E229;
|
|
68
|
+
--ds-border-accent-lime: #82B536;
|
|
65
69
|
--ds-border-accent-red: #EF5C48;
|
|
66
70
|
--ds-border-accent-orange: #F18D13;
|
|
67
71
|
--ds-border-accent-yellow: #CF9F02;
|
|
@@ -83,6 +87,10 @@ html[data-color-mode="dark"][data-theme~="dark:dark"] {
|
|
|
83
87
|
--ds-border-discovery: #8F7EE7;
|
|
84
88
|
--ds-border-information: #388BFF;
|
|
85
89
|
--ds-border-bold: #738496;
|
|
90
|
+
--ds-background-accent-lime-subtlest: #2A3818;
|
|
91
|
+
--ds-background-accent-lime-subtler: #37471F;
|
|
92
|
+
--ds-background-accent-lime-subtle: #4C6B1F;
|
|
93
|
+
--ds-background-accent-lime-bolder: #94C748;
|
|
86
94
|
--ds-background-accent-red-subtlest: #391813;
|
|
87
95
|
--ds-background-accent-red-subtler: #601E16;
|
|
88
96
|
--ds-background-accent-red-subtle: #AE2A19;
|
|
@@ -197,6 +205,12 @@ html[data-color-mode="dark"][data-theme~="dark:dark"] {
|
|
|
197
205
|
--ds-chart-categorical-7-hovered: #FFECF8;
|
|
198
206
|
--ds-chart-categorical-8: #FEC57B;
|
|
199
207
|
--ds-chart-categorical-8-hovered: #FFE2BD;
|
|
208
|
+
--ds-chart-lime-bold: #37B4C3;
|
|
209
|
+
--ds-chart-lime-bold-hovered: #60C6D2;
|
|
210
|
+
--ds-chart-lime-bolder: #60C6D2;
|
|
211
|
+
--ds-chart-lime-bolder-hovered: #8BDBE5;
|
|
212
|
+
--ds-chart-lime-boldest: #8BDBE5;
|
|
213
|
+
--ds-chart-lime-boldest-hovered: #C1F0F5;
|
|
200
214
|
--ds-chart-neutral: #738496;
|
|
201
215
|
--ds-chart-neutral-hovered: #8696A7;
|
|
202
216
|
--ds-chart-red-bold: #E34935;
|