@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
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# @atlaskit/tokens
|
|
2
2
|
|
|
3
|
+
## 1.8.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`e200f2340ed`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e200f2340ed) - Introduces new lime token set.
|
|
8
|
+
|
|
9
|
+
- `color.text.accent.lime` - Use for lime text on subtlest and subtler lime accent backgrounds when there is no meaning tied to the color.
|
|
10
|
+
- `color.text.accent.lime.bolder` - Use for lime text on subtle lime accent backgrounds when there is no meaning tied to the color.
|
|
11
|
+
- `color.background.accent.lime.subtlest` - Use for lime backgrounds when there is no meaning tied to the color. Reserved for when you only want a hint of color.
|
|
12
|
+
- `color.background.accent.lime.subtler` - Use for lime backgrounds when there is no meaning tied to the color, such as colored tags.
|
|
13
|
+
- `color.background.accent.lime.subtle` - Use for vibrant lime backgrounds when there is no meaning tied to the color, such as colored tags.
|
|
14
|
+
- `color.background.accent.lime.bolder` - Use for lime backgrounds when there is no meaning tied to the color, and the background needs to pass min 3:1 contrast requirements.
|
|
15
|
+
- `color.icon.accent.lime` - Use for lime icons on non-bold backgrounds when there is no meaning tied to the color, such as file type icons.
|
|
16
|
+
- `color.border.accent.lime` - Use for lime borders on non-bold backgrounds when there is no meaning tied to the color.
|
|
17
|
+
- `color.chart.lime` - For data visualisation only.
|
|
18
|
+
- `color.chart.lime.hovered` - Hovered state of color.chart.lime
|
|
19
|
+
- `color.chart.lime.bolder` - For data visualisation only.
|
|
20
|
+
- `color.chart.lime.bolder.hovered` - Hovered state of color.chart.lime.bolder
|
|
21
|
+
- `color.chart.lime.boldest` - For data visualisation only.
|
|
22
|
+
- `color.chart.lime.boldest.hovered` - Hovered state of color.chart.lime.boldest
|
|
23
|
+
|
|
3
24
|
## 1.7.0
|
|
4
25
|
|
|
5
26
|
### Minor Changes
|
|
@@ -10,10 +10,18 @@ exports.generatedPairs = exports.default = void 0;
|
|
|
10
10
|
* Auto-generated list of token pairings that may need to have sufficient contrast.
|
|
11
11
|
* Not currently used by tests, but is used by the custom theme contrast checker example
|
|
12
12
|
*
|
|
13
|
-
* @codegen <<SignedSource::
|
|
13
|
+
* @codegen <<SignedSource::411fd07bb804a9703b71946f1557b2a1>>
|
|
14
14
|
* @codegenCommand yarn build tokens
|
|
15
15
|
*/
|
|
16
16
|
var generatedPairs = [{
|
|
17
|
+
foreground: 'color.text',
|
|
18
|
+
background: 'color.background.accent.lime.subtlest',
|
|
19
|
+
desiredContrast: 4.5
|
|
20
|
+
}, {
|
|
21
|
+
foreground: 'color.text',
|
|
22
|
+
background: 'color.background.accent.lime.subtler',
|
|
23
|
+
desiredContrast: 4.5
|
|
24
|
+
}, {
|
|
17
25
|
foreground: 'color.text',
|
|
18
26
|
background: 'color.background.accent.red.subtlest',
|
|
19
27
|
desiredContrast: 4.5
|
|
@@ -169,6 +177,26 @@ var generatedPairs = [{
|
|
|
169
177
|
foreground: 'color.text',
|
|
170
178
|
background: 'color.background.information.pressed',
|
|
171
179
|
desiredContrast: 4.5
|
|
180
|
+
}, {
|
|
181
|
+
foreground: 'color.text.accent.lime',
|
|
182
|
+
background: 'color.background.accent.lime.subtlest',
|
|
183
|
+
desiredContrast: 4.5
|
|
184
|
+
}, {
|
|
185
|
+
foreground: 'color.text.accent.lime',
|
|
186
|
+
background: 'color.background.accent.lime.subtler',
|
|
187
|
+
desiredContrast: 4.5
|
|
188
|
+
}, {
|
|
189
|
+
foreground: 'color.text.accent.lime.bolder',
|
|
190
|
+
background: 'color.background.accent.lime.subtlest',
|
|
191
|
+
desiredContrast: 4.5
|
|
192
|
+
}, {
|
|
193
|
+
foreground: 'color.text.accent.lime.bolder',
|
|
194
|
+
background: 'color.background.accent.lime.subtler',
|
|
195
|
+
desiredContrast: 4.5
|
|
196
|
+
}, {
|
|
197
|
+
foreground: 'color.text.accent.lime.bolder',
|
|
198
|
+
background: 'color.background.accent.lime.subtle',
|
|
199
|
+
desiredContrast: 4.5
|
|
172
200
|
}, {
|
|
173
201
|
foreground: 'color.text.accent.red',
|
|
174
202
|
background: 'color.background.accent.red.subtlest',
|
|
@@ -349,6 +377,10 @@ var generatedPairs = [{
|
|
|
349
377
|
foreground: 'color.text.accent.gray.bolder',
|
|
350
378
|
background: 'color.background.accent.gray.subtle',
|
|
351
379
|
desiredContrast: 4.5
|
|
380
|
+
}, {
|
|
381
|
+
foreground: 'color.text.inverse',
|
|
382
|
+
background: 'color.background.accent.lime.bolder',
|
|
383
|
+
desiredContrast: 4.5
|
|
352
384
|
}, {
|
|
353
385
|
foreground: 'color.text.inverse',
|
|
354
386
|
background: 'color.background.accent.red.bolder',
|
|
@@ -553,6 +585,14 @@ var generatedPairs = [{
|
|
|
553
585
|
foreground: 'color.text.information',
|
|
554
586
|
background: 'color.background.information.pressed',
|
|
555
587
|
desiredContrast: 4.5
|
|
588
|
+
}, {
|
|
589
|
+
foreground: 'color.text.subtlest',
|
|
590
|
+
background: 'color.background.accent.lime.subtlest',
|
|
591
|
+
desiredContrast: 4.5
|
|
592
|
+
}, {
|
|
593
|
+
foreground: 'color.text.subtlest',
|
|
594
|
+
background: 'color.background.accent.lime.subtler',
|
|
595
|
+
desiredContrast: 4.5
|
|
556
596
|
}, {
|
|
557
597
|
foreground: 'color.text.subtlest',
|
|
558
598
|
background: 'color.background.accent.red.subtlest',
|
|
@@ -709,6 +749,14 @@ var generatedPairs = [{
|
|
|
709
749
|
foreground: 'color.text.subtlest',
|
|
710
750
|
background: 'color.background.information.pressed',
|
|
711
751
|
desiredContrast: 4.5
|
|
752
|
+
}, {
|
|
753
|
+
foreground: 'color.text.subtle',
|
|
754
|
+
background: 'color.background.accent.lime.subtlest',
|
|
755
|
+
desiredContrast: 4.5
|
|
756
|
+
}, {
|
|
757
|
+
foreground: 'color.text.subtle',
|
|
758
|
+
background: 'color.background.accent.lime.subtler',
|
|
759
|
+
desiredContrast: 4.5
|
|
712
760
|
}, {
|
|
713
761
|
foreground: 'color.text.subtle',
|
|
714
762
|
background: 'color.background.accent.red.subtlest',
|
|
@@ -865,6 +913,14 @@ var generatedPairs = [{
|
|
|
865
913
|
foreground: 'color.text.subtle',
|
|
866
914
|
background: 'color.background.information.pressed',
|
|
867
915
|
desiredContrast: 4.5
|
|
916
|
+
}, {
|
|
917
|
+
foreground: 'color.link',
|
|
918
|
+
background: 'color.background.accent.lime.subtlest',
|
|
919
|
+
desiredContrast: 3
|
|
920
|
+
}, {
|
|
921
|
+
foreground: 'color.link',
|
|
922
|
+
background: 'color.background.accent.lime.subtler',
|
|
923
|
+
desiredContrast: 3
|
|
868
924
|
}, {
|
|
869
925
|
foreground: 'color.link',
|
|
870
926
|
background: 'color.background.accent.red.subtlest',
|
|
@@ -1021,6 +1077,14 @@ var generatedPairs = [{
|
|
|
1021
1077
|
foreground: 'color.link',
|
|
1022
1078
|
background: 'color.background.information.pressed',
|
|
1023
1079
|
desiredContrast: 3
|
|
1080
|
+
}, {
|
|
1081
|
+
foreground: 'color.icon',
|
|
1082
|
+
background: 'color.background.accent.lime.subtlest',
|
|
1083
|
+
desiredContrast: 3
|
|
1084
|
+
}, {
|
|
1085
|
+
foreground: 'color.icon',
|
|
1086
|
+
background: 'color.background.accent.lime.subtler',
|
|
1087
|
+
desiredContrast: 3
|
|
1024
1088
|
}, {
|
|
1025
1089
|
foreground: 'color.icon',
|
|
1026
1090
|
background: 'color.background.accent.red.subtlest',
|
|
@@ -1177,6 +1241,14 @@ var generatedPairs = [{
|
|
|
1177
1241
|
foreground: 'color.icon',
|
|
1178
1242
|
background: 'color.background.information.pressed',
|
|
1179
1243
|
desiredContrast: 3
|
|
1244
|
+
}, {
|
|
1245
|
+
foreground: 'color.icon.accent.lime',
|
|
1246
|
+
background: 'color.background.accent.lime.subtlest',
|
|
1247
|
+
desiredContrast: 3
|
|
1248
|
+
}, {
|
|
1249
|
+
foreground: 'color.icon.accent.lime',
|
|
1250
|
+
background: 'color.background.accent.lime.subtler',
|
|
1251
|
+
desiredContrast: 3
|
|
1180
1252
|
}, {
|
|
1181
1253
|
foreground: 'color.icon.accent.red',
|
|
1182
1254
|
background: 'color.background.accent.red.subtlest',
|
|
@@ -1249,6 +1321,10 @@ var generatedPairs = [{
|
|
|
1249
1321
|
foreground: 'color.icon.accent.gray',
|
|
1250
1322
|
background: 'color.background.accent.gray.subtler',
|
|
1251
1323
|
desiredContrast: 3
|
|
1324
|
+
}, {
|
|
1325
|
+
foreground: 'color.icon.inverse',
|
|
1326
|
+
background: 'color.background.accent.lime.bolder',
|
|
1327
|
+
desiredContrast: 3
|
|
1252
1328
|
}, {
|
|
1253
1329
|
foreground: 'color.icon.inverse',
|
|
1254
1330
|
background: 'color.background.accent.red.bolder',
|
|
@@ -1453,6 +1529,14 @@ var generatedPairs = [{
|
|
|
1453
1529
|
foreground: 'color.icon.information',
|
|
1454
1530
|
background: 'color.background.information.pressed',
|
|
1455
1531
|
desiredContrast: 3
|
|
1532
|
+
}, {
|
|
1533
|
+
foreground: 'color.icon.subtle',
|
|
1534
|
+
background: 'color.background.accent.lime.subtlest',
|
|
1535
|
+
desiredContrast: 3
|
|
1536
|
+
}, {
|
|
1537
|
+
foreground: 'color.icon.subtle',
|
|
1538
|
+
background: 'color.background.accent.lime.subtler',
|
|
1539
|
+
desiredContrast: 3
|
|
1456
1540
|
}, {
|
|
1457
1541
|
foreground: 'color.icon.subtle',
|
|
1458
1542
|
background: 'color.background.accent.red.subtlest',
|
|
@@ -1609,6 +1693,14 @@ var generatedPairs = [{
|
|
|
1609
1693
|
foreground: 'color.icon.subtle',
|
|
1610
1694
|
background: 'color.background.information.pressed',
|
|
1611
1695
|
desiredContrast: 3
|
|
1696
|
+
}, {
|
|
1697
|
+
foreground: 'color.border.accent.lime',
|
|
1698
|
+
background: 'color.background.accent.lime.subtlest',
|
|
1699
|
+
desiredContrast: 3
|
|
1700
|
+
}, {
|
|
1701
|
+
foreground: 'color.border.accent.lime',
|
|
1702
|
+
background: 'color.background.accent.lime.subtler',
|
|
1703
|
+
desiredContrast: 3
|
|
1612
1704
|
}, {
|
|
1613
1705
|
foreground: 'color.border.accent.red',
|
|
1614
1706
|
background: 'color.background.accent.red.subtlest',
|
|
@@ -1681,6 +1773,10 @@ var generatedPairs = [{
|
|
|
1681
1773
|
foreground: 'color.border.accent.gray',
|
|
1682
1774
|
background: 'color.background.accent.gray.subtler',
|
|
1683
1775
|
desiredContrast: 3
|
|
1776
|
+
}, {
|
|
1777
|
+
foreground: 'color.border.inverse',
|
|
1778
|
+
background: 'color.background.accent.lime.bolder',
|
|
1779
|
+
desiredContrast: 3
|
|
1684
1780
|
}, {
|
|
1685
1781
|
foreground: 'color.border.inverse',
|
|
1686
1782
|
background: 'color.background.accent.red.bolder',
|
|
@@ -1873,6 +1969,14 @@ var generatedPairs = [{
|
|
|
1873
1969
|
foreground: 'color.border.information',
|
|
1874
1970
|
background: 'color.background.information.pressed',
|
|
1875
1971
|
desiredContrast: 3
|
|
1972
|
+
}, {
|
|
1973
|
+
foreground: 'color.border.bold',
|
|
1974
|
+
background: 'color.background.accent.lime.subtlest',
|
|
1975
|
+
desiredContrast: 3
|
|
1976
|
+
}, {
|
|
1977
|
+
foreground: 'color.border.bold',
|
|
1978
|
+
background: 'color.background.accent.lime.subtler',
|
|
1979
|
+
desiredContrast: 3
|
|
1876
1980
|
}, {
|
|
1877
1981
|
foreground: 'color.border.bold',
|
|
1878
1982
|
background: 'color.background.accent.red.subtlest',
|
|
@@ -2029,6 +2133,14 @@ var generatedPairs = [{
|
|
|
2029
2133
|
foreground: 'color.border.bold',
|
|
2030
2134
|
background: 'color.background.information.pressed',
|
|
2031
2135
|
desiredContrast: 3
|
|
2136
|
+
}, {
|
|
2137
|
+
foreground: 'color.background.accent.lime.bolder',
|
|
2138
|
+
background: 'color.background.accent.lime.subtlest',
|
|
2139
|
+
desiredContrast: 3
|
|
2140
|
+
}, {
|
|
2141
|
+
foreground: 'color.background.accent.lime.bolder',
|
|
2142
|
+
background: 'color.background.accent.lime.subtler',
|
|
2143
|
+
desiredContrast: 3
|
|
2032
2144
|
}, {
|
|
2033
2145
|
foreground: 'color.background.accent.red.bolder',
|
|
2034
2146
|
background: 'color.background.accent.red.subtlest',
|
|
@@ -2317,6 +2429,46 @@ var generatedPairs = [{
|
|
|
2317
2429
|
foreground: 'color.background.information.bold.pressed',
|
|
2318
2430
|
background: 'color.background.information.pressed',
|
|
2319
2431
|
desiredContrast: 3
|
|
2432
|
+
}, {
|
|
2433
|
+
foreground: 'color.background.accent.lime.bolder',
|
|
2434
|
+
background: 'elevation.surface',
|
|
2435
|
+
desiredContrast: 3
|
|
2436
|
+
}, {
|
|
2437
|
+
foreground: 'color.background.accent.lime.bolder',
|
|
2438
|
+
background: 'elevation.surface.hovered',
|
|
2439
|
+
desiredContrast: 3
|
|
2440
|
+
}, {
|
|
2441
|
+
foreground: 'color.background.accent.lime.bolder',
|
|
2442
|
+
background: 'elevation.surface.pressed',
|
|
2443
|
+
desiredContrast: 3
|
|
2444
|
+
}, {
|
|
2445
|
+
foreground: 'color.background.accent.lime.bolder',
|
|
2446
|
+
background: 'elevation.surface.overlay',
|
|
2447
|
+
desiredContrast: 3
|
|
2448
|
+
}, {
|
|
2449
|
+
foreground: 'color.background.accent.lime.bolder',
|
|
2450
|
+
background: 'elevation.surface.overlay.hovered',
|
|
2451
|
+
desiredContrast: 3
|
|
2452
|
+
}, {
|
|
2453
|
+
foreground: 'color.background.accent.lime.bolder',
|
|
2454
|
+
background: 'elevation.surface.overlay.pressed',
|
|
2455
|
+
desiredContrast: 3
|
|
2456
|
+
}, {
|
|
2457
|
+
foreground: 'color.background.accent.lime.bolder',
|
|
2458
|
+
background: 'elevation.surface.raised',
|
|
2459
|
+
desiredContrast: 3
|
|
2460
|
+
}, {
|
|
2461
|
+
foreground: 'color.background.accent.lime.bolder',
|
|
2462
|
+
background: 'elevation.surface.raised.hovered',
|
|
2463
|
+
desiredContrast: 3
|
|
2464
|
+
}, {
|
|
2465
|
+
foreground: 'color.background.accent.lime.bolder',
|
|
2466
|
+
background: 'elevation.surface.raised.pressed',
|
|
2467
|
+
desiredContrast: 3
|
|
2468
|
+
}, {
|
|
2469
|
+
foreground: 'color.background.accent.lime.bolder',
|
|
2470
|
+
background: 'elevation.surface.sunken',
|
|
2471
|
+
desiredContrast: 3
|
|
2320
2472
|
}, {
|
|
2321
2473
|
foreground: 'color.background.accent.red.bolder',
|
|
2322
2474
|
background: 'elevation.surface',
|
|
@@ -3677,6 +3829,86 @@ var generatedPairs = [{
|
|
|
3677
3829
|
foreground: 'color.text',
|
|
3678
3830
|
background: 'elevation.surface.sunken',
|
|
3679
3831
|
desiredContrast: 4.5
|
|
3832
|
+
}, {
|
|
3833
|
+
foreground: 'color.text.accent.lime',
|
|
3834
|
+
background: 'elevation.surface',
|
|
3835
|
+
desiredContrast: 4.5
|
|
3836
|
+
}, {
|
|
3837
|
+
foreground: 'color.text.accent.lime',
|
|
3838
|
+
background: 'elevation.surface.hovered',
|
|
3839
|
+
desiredContrast: 4.5
|
|
3840
|
+
}, {
|
|
3841
|
+
foreground: 'color.text.accent.lime',
|
|
3842
|
+
background: 'elevation.surface.pressed',
|
|
3843
|
+
desiredContrast: 4.5
|
|
3844
|
+
}, {
|
|
3845
|
+
foreground: 'color.text.accent.lime',
|
|
3846
|
+
background: 'elevation.surface.overlay',
|
|
3847
|
+
desiredContrast: 4.5
|
|
3848
|
+
}, {
|
|
3849
|
+
foreground: 'color.text.accent.lime',
|
|
3850
|
+
background: 'elevation.surface.overlay.hovered',
|
|
3851
|
+
desiredContrast: 4.5
|
|
3852
|
+
}, {
|
|
3853
|
+
foreground: 'color.text.accent.lime',
|
|
3854
|
+
background: 'elevation.surface.overlay.pressed',
|
|
3855
|
+
desiredContrast: 4.5
|
|
3856
|
+
}, {
|
|
3857
|
+
foreground: 'color.text.accent.lime',
|
|
3858
|
+
background: 'elevation.surface.raised',
|
|
3859
|
+
desiredContrast: 4.5
|
|
3860
|
+
}, {
|
|
3861
|
+
foreground: 'color.text.accent.lime',
|
|
3862
|
+
background: 'elevation.surface.raised.hovered',
|
|
3863
|
+
desiredContrast: 4.5
|
|
3864
|
+
}, {
|
|
3865
|
+
foreground: 'color.text.accent.lime',
|
|
3866
|
+
background: 'elevation.surface.raised.pressed',
|
|
3867
|
+
desiredContrast: 4.5
|
|
3868
|
+
}, {
|
|
3869
|
+
foreground: 'color.text.accent.lime',
|
|
3870
|
+
background: 'elevation.surface.sunken',
|
|
3871
|
+
desiredContrast: 4.5
|
|
3872
|
+
}, {
|
|
3873
|
+
foreground: 'color.text.accent.lime.bolder',
|
|
3874
|
+
background: 'elevation.surface',
|
|
3875
|
+
desiredContrast: 4.5
|
|
3876
|
+
}, {
|
|
3877
|
+
foreground: 'color.text.accent.lime.bolder',
|
|
3878
|
+
background: 'elevation.surface.hovered',
|
|
3879
|
+
desiredContrast: 4.5
|
|
3880
|
+
}, {
|
|
3881
|
+
foreground: 'color.text.accent.lime.bolder',
|
|
3882
|
+
background: 'elevation.surface.pressed',
|
|
3883
|
+
desiredContrast: 4.5
|
|
3884
|
+
}, {
|
|
3885
|
+
foreground: 'color.text.accent.lime.bolder',
|
|
3886
|
+
background: 'elevation.surface.overlay',
|
|
3887
|
+
desiredContrast: 4.5
|
|
3888
|
+
}, {
|
|
3889
|
+
foreground: 'color.text.accent.lime.bolder',
|
|
3890
|
+
background: 'elevation.surface.overlay.hovered',
|
|
3891
|
+
desiredContrast: 4.5
|
|
3892
|
+
}, {
|
|
3893
|
+
foreground: 'color.text.accent.lime.bolder',
|
|
3894
|
+
background: 'elevation.surface.overlay.pressed',
|
|
3895
|
+
desiredContrast: 4.5
|
|
3896
|
+
}, {
|
|
3897
|
+
foreground: 'color.text.accent.lime.bolder',
|
|
3898
|
+
background: 'elevation.surface.raised',
|
|
3899
|
+
desiredContrast: 4.5
|
|
3900
|
+
}, {
|
|
3901
|
+
foreground: 'color.text.accent.lime.bolder',
|
|
3902
|
+
background: 'elevation.surface.raised.hovered',
|
|
3903
|
+
desiredContrast: 4.5
|
|
3904
|
+
}, {
|
|
3905
|
+
foreground: 'color.text.accent.lime.bolder',
|
|
3906
|
+
background: 'elevation.surface.raised.pressed',
|
|
3907
|
+
desiredContrast: 4.5
|
|
3908
|
+
}, {
|
|
3909
|
+
foreground: 'color.text.accent.lime.bolder',
|
|
3910
|
+
background: 'elevation.surface.sunken',
|
|
3911
|
+
desiredContrast: 4.5
|
|
3680
3912
|
}, {
|
|
3681
3913
|
foreground: 'color.text.accent.red',
|
|
3682
3914
|
background: 'elevation.surface',
|
|
@@ -4877,6 +5109,46 @@ var generatedPairs = [{
|
|
|
4877
5109
|
foreground: 'color.icon',
|
|
4878
5110
|
background: 'elevation.surface.sunken',
|
|
4879
5111
|
desiredContrast: 3
|
|
5112
|
+
}, {
|
|
5113
|
+
foreground: 'color.icon.accent.lime',
|
|
5114
|
+
background: 'elevation.surface',
|
|
5115
|
+
desiredContrast: 3
|
|
5116
|
+
}, {
|
|
5117
|
+
foreground: 'color.icon.accent.lime',
|
|
5118
|
+
background: 'elevation.surface.hovered',
|
|
5119
|
+
desiredContrast: 3
|
|
5120
|
+
}, {
|
|
5121
|
+
foreground: 'color.icon.accent.lime',
|
|
5122
|
+
background: 'elevation.surface.pressed',
|
|
5123
|
+
desiredContrast: 3
|
|
5124
|
+
}, {
|
|
5125
|
+
foreground: 'color.icon.accent.lime',
|
|
5126
|
+
background: 'elevation.surface.overlay',
|
|
5127
|
+
desiredContrast: 3
|
|
5128
|
+
}, {
|
|
5129
|
+
foreground: 'color.icon.accent.lime',
|
|
5130
|
+
background: 'elevation.surface.overlay.hovered',
|
|
5131
|
+
desiredContrast: 3
|
|
5132
|
+
}, {
|
|
5133
|
+
foreground: 'color.icon.accent.lime',
|
|
5134
|
+
background: 'elevation.surface.overlay.pressed',
|
|
5135
|
+
desiredContrast: 3
|
|
5136
|
+
}, {
|
|
5137
|
+
foreground: 'color.icon.accent.lime',
|
|
5138
|
+
background: 'elevation.surface.raised',
|
|
5139
|
+
desiredContrast: 3
|
|
5140
|
+
}, {
|
|
5141
|
+
foreground: 'color.icon.accent.lime',
|
|
5142
|
+
background: 'elevation.surface.raised.hovered',
|
|
5143
|
+
desiredContrast: 3
|
|
5144
|
+
}, {
|
|
5145
|
+
foreground: 'color.icon.accent.lime',
|
|
5146
|
+
background: 'elevation.surface.raised.pressed',
|
|
5147
|
+
desiredContrast: 3
|
|
5148
|
+
}, {
|
|
5149
|
+
foreground: 'color.icon.accent.lime',
|
|
5150
|
+
background: 'elevation.surface.sunken',
|
|
5151
|
+
desiredContrast: 3
|
|
4880
5152
|
}, {
|
|
4881
5153
|
foreground: 'color.icon.accent.red',
|
|
4882
5154
|
background: 'elevation.surface',
|
|
@@ -5557,6 +5829,46 @@ var generatedPairs = [{
|
|
|
5557
5829
|
foreground: 'color.icon.subtle',
|
|
5558
5830
|
background: 'elevation.surface.sunken',
|
|
5559
5831
|
desiredContrast: 3
|
|
5832
|
+
}, {
|
|
5833
|
+
foreground: 'color.border.accent.lime',
|
|
5834
|
+
background: 'elevation.surface',
|
|
5835
|
+
desiredContrast: 3
|
|
5836
|
+
}, {
|
|
5837
|
+
foreground: 'color.border.accent.lime',
|
|
5838
|
+
background: 'elevation.surface.hovered',
|
|
5839
|
+
desiredContrast: 3
|
|
5840
|
+
}, {
|
|
5841
|
+
foreground: 'color.border.accent.lime',
|
|
5842
|
+
background: 'elevation.surface.pressed',
|
|
5843
|
+
desiredContrast: 3
|
|
5844
|
+
}, {
|
|
5845
|
+
foreground: 'color.border.accent.lime',
|
|
5846
|
+
background: 'elevation.surface.overlay',
|
|
5847
|
+
desiredContrast: 3
|
|
5848
|
+
}, {
|
|
5849
|
+
foreground: 'color.border.accent.lime',
|
|
5850
|
+
background: 'elevation.surface.overlay.hovered',
|
|
5851
|
+
desiredContrast: 3
|
|
5852
|
+
}, {
|
|
5853
|
+
foreground: 'color.border.accent.lime',
|
|
5854
|
+
background: 'elevation.surface.overlay.pressed',
|
|
5855
|
+
desiredContrast: 3
|
|
5856
|
+
}, {
|
|
5857
|
+
foreground: 'color.border.accent.lime',
|
|
5858
|
+
background: 'elevation.surface.raised',
|
|
5859
|
+
desiredContrast: 3
|
|
5860
|
+
}, {
|
|
5861
|
+
foreground: 'color.border.accent.lime',
|
|
5862
|
+
background: 'elevation.surface.raised.hovered',
|
|
5863
|
+
desiredContrast: 3
|
|
5864
|
+
}, {
|
|
5865
|
+
foreground: 'color.border.accent.lime',
|
|
5866
|
+
background: 'elevation.surface.raised.pressed',
|
|
5867
|
+
desiredContrast: 3
|
|
5868
|
+
}, {
|
|
5869
|
+
foreground: 'color.border.accent.lime',
|
|
5870
|
+
background: 'elevation.surface.sunken',
|
|
5871
|
+
desiredContrast: 3
|
|
5560
5872
|
}, {
|
|
5561
5873
|
foreground: 'color.border.accent.red',
|
|
5562
5874
|
background: 'elevation.surface',
|
|
@@ -6,10 +6,180 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
8
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
9
|
-
* @codegen <<SignedSource::
|
|
9
|
+
* @codegen <<SignedSource::9c6b0dc194cd08f14bf3fd6a258b05a5>>
|
|
10
10
|
* @codegenCommand yarn build tokens
|
|
11
11
|
*/
|
|
12
12
|
var tokens = [{
|
|
13
|
+
"value": "#EEFBDA",
|
|
14
|
+
"attributes": {
|
|
15
|
+
"group": "palette",
|
|
16
|
+
"category": "lime"
|
|
17
|
+
},
|
|
18
|
+
"filePath": "src/palettes/palette.tsx",
|
|
19
|
+
"isSource": true,
|
|
20
|
+
"original": {
|
|
21
|
+
"value": "#EEFBDA",
|
|
22
|
+
"attributes": {
|
|
23
|
+
"group": "palette",
|
|
24
|
+
"category": "lime"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"name": "color.palette.Lime100",
|
|
28
|
+
"path": ["color", "palette", "Lime100"]
|
|
29
|
+
}, {
|
|
30
|
+
"value": "#D3F1A7",
|
|
31
|
+
"attributes": {
|
|
32
|
+
"group": "palette",
|
|
33
|
+
"category": "lime"
|
|
34
|
+
},
|
|
35
|
+
"filePath": "src/palettes/palette.tsx",
|
|
36
|
+
"isSource": true,
|
|
37
|
+
"original": {
|
|
38
|
+
"value": "#D3F1A7",
|
|
39
|
+
"attributes": {
|
|
40
|
+
"group": "palette",
|
|
41
|
+
"category": "lime"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"name": "color.palette.Lime200",
|
|
45
|
+
"path": ["color", "palette", "Lime200"]
|
|
46
|
+
}, {
|
|
47
|
+
"value": "#B3DF72",
|
|
48
|
+
"attributes": {
|
|
49
|
+
"group": "palette",
|
|
50
|
+
"category": "lime"
|
|
51
|
+
},
|
|
52
|
+
"filePath": "src/palettes/palette.tsx",
|
|
53
|
+
"isSource": true,
|
|
54
|
+
"original": {
|
|
55
|
+
"value": "#B3DF72",
|
|
56
|
+
"attributes": {
|
|
57
|
+
"group": "palette",
|
|
58
|
+
"category": "lime"
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"name": "color.palette.Lime300",
|
|
62
|
+
"path": ["color", "palette", "Lime300"]
|
|
63
|
+
}, {
|
|
64
|
+
"value": "#94C748",
|
|
65
|
+
"attributes": {
|
|
66
|
+
"group": "palette",
|
|
67
|
+
"category": "lime"
|
|
68
|
+
},
|
|
69
|
+
"filePath": "src/palettes/palette.tsx",
|
|
70
|
+
"isSource": true,
|
|
71
|
+
"original": {
|
|
72
|
+
"value": "#94C748",
|
|
73
|
+
"attributes": {
|
|
74
|
+
"group": "palette",
|
|
75
|
+
"category": "lime"
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"name": "color.palette.Lime400",
|
|
79
|
+
"path": ["color", "palette", "Lime400"]
|
|
80
|
+
}, {
|
|
81
|
+
"value": "#82B536",
|
|
82
|
+
"attributes": {
|
|
83
|
+
"group": "palette",
|
|
84
|
+
"category": "lime"
|
|
85
|
+
},
|
|
86
|
+
"filePath": "src/palettes/palette.tsx",
|
|
87
|
+
"isSource": true,
|
|
88
|
+
"original": {
|
|
89
|
+
"value": "#82B536",
|
|
90
|
+
"attributes": {
|
|
91
|
+
"group": "palette",
|
|
92
|
+
"category": "lime"
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"name": "color.palette.Lime500",
|
|
96
|
+
"path": ["color", "palette", "Lime500"]
|
|
97
|
+
}, {
|
|
98
|
+
"value": "#6A9A23",
|
|
99
|
+
"attributes": {
|
|
100
|
+
"group": "palette",
|
|
101
|
+
"category": "lime"
|
|
102
|
+
},
|
|
103
|
+
"filePath": "src/palettes/palette.tsx",
|
|
104
|
+
"isSource": true,
|
|
105
|
+
"original": {
|
|
106
|
+
"value": "#6A9A23",
|
|
107
|
+
"attributes": {
|
|
108
|
+
"group": "palette",
|
|
109
|
+
"category": "lime"
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
"name": "color.palette.Lime600",
|
|
113
|
+
"path": ["color", "palette", "Lime600"]
|
|
114
|
+
}, {
|
|
115
|
+
"value": "#5B7F24",
|
|
116
|
+
"attributes": {
|
|
117
|
+
"group": "palette",
|
|
118
|
+
"category": "lime"
|
|
119
|
+
},
|
|
120
|
+
"filePath": "src/palettes/palette.tsx",
|
|
121
|
+
"isSource": true,
|
|
122
|
+
"original": {
|
|
123
|
+
"value": "#5B7F24",
|
|
124
|
+
"attributes": {
|
|
125
|
+
"group": "palette",
|
|
126
|
+
"category": "lime"
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
"name": "color.palette.Lime700",
|
|
130
|
+
"path": ["color", "palette", "Lime700"]
|
|
131
|
+
}, {
|
|
132
|
+
"value": "#4C6B1F",
|
|
133
|
+
"attributes": {
|
|
134
|
+
"group": "palette",
|
|
135
|
+
"category": "lime"
|
|
136
|
+
},
|
|
137
|
+
"filePath": "src/palettes/palette.tsx",
|
|
138
|
+
"isSource": true,
|
|
139
|
+
"original": {
|
|
140
|
+
"value": "#4C6B1F",
|
|
141
|
+
"attributes": {
|
|
142
|
+
"group": "palette",
|
|
143
|
+
"category": "lime"
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
"name": "color.palette.Lime800",
|
|
147
|
+
"path": ["color", "palette", "Lime800"]
|
|
148
|
+
}, {
|
|
149
|
+
"value": "#37471F",
|
|
150
|
+
"attributes": {
|
|
151
|
+
"group": "palette",
|
|
152
|
+
"category": "lime"
|
|
153
|
+
},
|
|
154
|
+
"filePath": "src/palettes/palette.tsx",
|
|
155
|
+
"isSource": true,
|
|
156
|
+
"original": {
|
|
157
|
+
"value": "#37471F",
|
|
158
|
+
"attributes": {
|
|
159
|
+
"group": "palette",
|
|
160
|
+
"category": "lime"
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
"name": "color.palette.Lime900",
|
|
164
|
+
"path": ["color", "palette", "Lime900"]
|
|
165
|
+
}, {
|
|
166
|
+
"value": "#2A3818",
|
|
167
|
+
"attributes": {
|
|
168
|
+
"group": "palette",
|
|
169
|
+
"category": "lime"
|
|
170
|
+
},
|
|
171
|
+
"filePath": "src/palettes/palette.tsx",
|
|
172
|
+
"isSource": true,
|
|
173
|
+
"original": {
|
|
174
|
+
"value": "#2A3818",
|
|
175
|
+
"attributes": {
|
|
176
|
+
"group": "palette",
|
|
177
|
+
"category": "lime"
|
|
178
|
+
}
|
|
179
|
+
},
|
|
180
|
+
"name": "color.palette.Lime1000",
|
|
181
|
+
"path": ["color", "palette", "Lime1000"]
|
|
182
|
+
}, {
|
|
13
183
|
"value": "#FFEDEB",
|
|
14
184
|
"attributes": {
|
|
15
185
|
"group": "palette",
|