@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
|
@@ -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::148c69092f499e3fd244297f7a130fbf>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
const tokens = [{
|
|
@@ -25,6 +25,50 @@ const tokens = [{
|
|
|
25
25
|
"name": "color.text.[default]",
|
|
26
26
|
"path": ["color", "text", "[default]"],
|
|
27
27
|
"cleanName": "color.text"
|
|
28
|
+
}, {
|
|
29
|
+
"attributes": {
|
|
30
|
+
"group": "paint",
|
|
31
|
+
"state": "active",
|
|
32
|
+
"introduced": "1.6.0",
|
|
33
|
+
"description": "Use for lime text on subtlest and subtler lime accent backgrounds when there is no meaning tied to the color."
|
|
34
|
+
},
|
|
35
|
+
"value": "#4C6B1F",
|
|
36
|
+
"filePath": "src/tokens/atlassian-light/color/accent.tsx",
|
|
37
|
+
"isSource": true,
|
|
38
|
+
"original": {
|
|
39
|
+
"attributes": {
|
|
40
|
+
"group": "paint",
|
|
41
|
+
"state": "active",
|
|
42
|
+
"introduced": "1.6.0",
|
|
43
|
+
"description": "Use for lime text on subtlest and subtler lime accent backgrounds when there is no meaning tied to the color."
|
|
44
|
+
},
|
|
45
|
+
"value": "Lime800"
|
|
46
|
+
},
|
|
47
|
+
"name": "color.text.accent.lime.[default]",
|
|
48
|
+
"path": ["color", "text", "accent", "lime", "[default]"],
|
|
49
|
+
"cleanName": "color.text.accent.lime"
|
|
50
|
+
}, {
|
|
51
|
+
"attributes": {
|
|
52
|
+
"group": "paint",
|
|
53
|
+
"state": "active",
|
|
54
|
+
"introduced": "0.7.0",
|
|
55
|
+
"description": "Use for lime text on subtle lime accent backgrounds when there is no meaning tied to the color."
|
|
56
|
+
},
|
|
57
|
+
"value": "#37471F",
|
|
58
|
+
"filePath": "src/tokens/atlassian-light/color/accent.tsx",
|
|
59
|
+
"isSource": true,
|
|
60
|
+
"original": {
|
|
61
|
+
"attributes": {
|
|
62
|
+
"group": "paint",
|
|
63
|
+
"state": "active",
|
|
64
|
+
"introduced": "0.7.0",
|
|
65
|
+
"description": "Use for lime text on subtle lime accent backgrounds when there is no meaning tied to the color."
|
|
66
|
+
},
|
|
67
|
+
"value": "Lime900"
|
|
68
|
+
},
|
|
69
|
+
"name": "color.text.accent.lime.bolder",
|
|
70
|
+
"path": ["color", "text", "accent", "lime", "bolder"],
|
|
71
|
+
"cleanName": "color.text.accent.lime.bolder"
|
|
28
72
|
}, {
|
|
29
73
|
"attributes": {
|
|
30
74
|
"group": "paint",
|
|
@@ -751,6 +795,28 @@ const tokens = [{
|
|
|
751
795
|
"name": "color.icon.[default]",
|
|
752
796
|
"path": ["color", "icon", "[default]"],
|
|
753
797
|
"cleanName": "color.icon"
|
|
798
|
+
}, {
|
|
799
|
+
"attributes": {
|
|
800
|
+
"group": "paint",
|
|
801
|
+
"state": "active",
|
|
802
|
+
"introduced": "1.6.0",
|
|
803
|
+
"description": "Use for lime icons on non-bold backgrounds when there is no meaning tied to the color, such as file type icons."
|
|
804
|
+
},
|
|
805
|
+
"value": "#6A9A23",
|
|
806
|
+
"filePath": "src/tokens/atlassian-light/color/accent.tsx",
|
|
807
|
+
"isSource": true,
|
|
808
|
+
"original": {
|
|
809
|
+
"attributes": {
|
|
810
|
+
"group": "paint",
|
|
811
|
+
"state": "active",
|
|
812
|
+
"introduced": "1.6.0",
|
|
813
|
+
"description": "Use for lime icons on non-bold backgrounds when there is no meaning tied to the color, such as file type icons."
|
|
814
|
+
},
|
|
815
|
+
"value": "Lime600"
|
|
816
|
+
},
|
|
817
|
+
"name": "color.icon.accent.lime",
|
|
818
|
+
"path": ["color", "icon", "accent", "lime"],
|
|
819
|
+
"cleanName": "color.icon.accent.lime"
|
|
754
820
|
}, {
|
|
755
821
|
"attributes": {
|
|
756
822
|
"group": "paint",
|
|
@@ -1213,6 +1279,28 @@ const tokens = [{
|
|
|
1213
1279
|
"name": "color.border.[default]",
|
|
1214
1280
|
"path": ["color", "border", "[default]"],
|
|
1215
1281
|
"cleanName": "color.border"
|
|
1282
|
+
}, {
|
|
1283
|
+
"attributes": {
|
|
1284
|
+
"group": "paint",
|
|
1285
|
+
"state": "active",
|
|
1286
|
+
"introduced": "1.6.0",
|
|
1287
|
+
"description": "Use for lime borders on non-bold backgrounds when there is no meaning tied to the color."
|
|
1288
|
+
},
|
|
1289
|
+
"value": "#6A9A23",
|
|
1290
|
+
"filePath": "src/tokens/atlassian-light/color/accent.tsx",
|
|
1291
|
+
"isSource": true,
|
|
1292
|
+
"original": {
|
|
1293
|
+
"attributes": {
|
|
1294
|
+
"group": "paint",
|
|
1295
|
+
"state": "active",
|
|
1296
|
+
"introduced": "1.6.0",
|
|
1297
|
+
"description": "Use for lime borders on non-bold backgrounds when there is no meaning tied to the color."
|
|
1298
|
+
},
|
|
1299
|
+
"value": "Lime600"
|
|
1300
|
+
},
|
|
1301
|
+
"name": "color.border.accent.lime",
|
|
1302
|
+
"path": ["color", "border", "accent", "lime"],
|
|
1303
|
+
"cleanName": "color.border.accent.lime"
|
|
1216
1304
|
}, {
|
|
1217
1305
|
"attributes": {
|
|
1218
1306
|
"group": "paint",
|
|
@@ -1675,6 +1763,94 @@ const tokens = [{
|
|
|
1675
1763
|
"name": "color.border.bold",
|
|
1676
1764
|
"path": ["color", "border", "bold"],
|
|
1677
1765
|
"cleanName": "color.border.bold"
|
|
1766
|
+
}, {
|
|
1767
|
+
"attributes": {
|
|
1768
|
+
"group": "paint",
|
|
1769
|
+
"state": "active",
|
|
1770
|
+
"introduced": "1.6.0",
|
|
1771
|
+
"description": "Use for for backgrounds when there is no meaning tied to the color. Reserved for when you only want a hint of color."
|
|
1772
|
+
},
|
|
1773
|
+
"value": "#EEFBDA",
|
|
1774
|
+
"filePath": "src/tokens/atlassian-light/color/accent.tsx",
|
|
1775
|
+
"isSource": true,
|
|
1776
|
+
"original": {
|
|
1777
|
+
"attributes": {
|
|
1778
|
+
"group": "paint",
|
|
1779
|
+
"state": "active",
|
|
1780
|
+
"introduced": "1.6.0",
|
|
1781
|
+
"description": "Use for for backgrounds when there is no meaning tied to the color. Reserved for when you only want a hint of color."
|
|
1782
|
+
},
|
|
1783
|
+
"value": "Lime100"
|
|
1784
|
+
},
|
|
1785
|
+
"name": "color.background.accent.lime.subtlest",
|
|
1786
|
+
"path": ["color", "background", "accent", "lime", "subtlest"],
|
|
1787
|
+
"cleanName": "color.background.accent.lime.subtlest"
|
|
1788
|
+
}, {
|
|
1789
|
+
"attributes": {
|
|
1790
|
+
"group": "paint",
|
|
1791
|
+
"state": "active",
|
|
1792
|
+
"introduced": "1.6.0",
|
|
1793
|
+
"description": "Use for for backgrounds when there is no meaning tied to the color, such as colored tags."
|
|
1794
|
+
},
|
|
1795
|
+
"value": "#D3F1A7",
|
|
1796
|
+
"filePath": "src/tokens/atlassian-light/color/accent.tsx",
|
|
1797
|
+
"isSource": true,
|
|
1798
|
+
"original": {
|
|
1799
|
+
"attributes": {
|
|
1800
|
+
"group": "paint",
|
|
1801
|
+
"state": "active",
|
|
1802
|
+
"introduced": "1.6.0",
|
|
1803
|
+
"description": "Use for for backgrounds when there is no meaning tied to the color, such as colored tags."
|
|
1804
|
+
},
|
|
1805
|
+
"value": "Lime200"
|
|
1806
|
+
},
|
|
1807
|
+
"name": "color.background.accent.lime.subtler",
|
|
1808
|
+
"path": ["color", "background", "accent", "lime", "subtler"],
|
|
1809
|
+
"cleanName": "color.background.accent.lime.subtler"
|
|
1810
|
+
}, {
|
|
1811
|
+
"attributes": {
|
|
1812
|
+
"group": "paint",
|
|
1813
|
+
"state": "active",
|
|
1814
|
+
"introduced": "1.6.0",
|
|
1815
|
+
"description": "Use for vibrant for backgrounds when there is no meaning tied to the color, such as colored tags."
|
|
1816
|
+
},
|
|
1817
|
+
"value": "#94C748",
|
|
1818
|
+
"filePath": "src/tokens/atlassian-light/color/accent.tsx",
|
|
1819
|
+
"isSource": true,
|
|
1820
|
+
"original": {
|
|
1821
|
+
"attributes": {
|
|
1822
|
+
"group": "paint",
|
|
1823
|
+
"state": "active",
|
|
1824
|
+
"introduced": "1.6.0",
|
|
1825
|
+
"description": "Use for vibrant for backgrounds when there is no meaning tied to the color, such as colored tags."
|
|
1826
|
+
},
|
|
1827
|
+
"value": "Lime400"
|
|
1828
|
+
},
|
|
1829
|
+
"name": "color.background.accent.lime.subtle",
|
|
1830
|
+
"path": ["color", "background", "accent", "lime", "subtle"],
|
|
1831
|
+
"cleanName": "color.background.accent.lime.subtle"
|
|
1832
|
+
}, {
|
|
1833
|
+
"attributes": {
|
|
1834
|
+
"group": "paint",
|
|
1835
|
+
"state": "active",
|
|
1836
|
+
"introduced": "1.6.0",
|
|
1837
|
+
"description": "Use for for backgrounds when there is no meaning tied to the color, and the background needs to pass min 3:1 contrast requirements."
|
|
1838
|
+
},
|
|
1839
|
+
"value": "#5B7F24",
|
|
1840
|
+
"filePath": "src/tokens/atlassian-light/color/accent.tsx",
|
|
1841
|
+
"isSource": true,
|
|
1842
|
+
"original": {
|
|
1843
|
+
"attributes": {
|
|
1844
|
+
"group": "paint",
|
|
1845
|
+
"state": "active",
|
|
1846
|
+
"introduced": "1.6.0",
|
|
1847
|
+
"description": "Use for for backgrounds when there is no meaning tied to the color, and the background needs to pass min 3:1 contrast requirements."
|
|
1848
|
+
},
|
|
1849
|
+
"value": "Lime700"
|
|
1850
|
+
},
|
|
1851
|
+
"name": "color.background.accent.lime.bolder",
|
|
1852
|
+
"path": ["color", "background", "accent", "lime", "bolder"],
|
|
1853
|
+
"cleanName": "color.background.accent.lime.bolder"
|
|
1678
1854
|
}, {
|
|
1679
1855
|
"attributes": {
|
|
1680
1856
|
"group": "paint",
|
|
@@ -4183,6 +4359,138 @@ const tokens = [{
|
|
|
4183
4359
|
"name": "color.chart.categorical.8.hovered",
|
|
4184
4360
|
"path": ["color", "chart", "categorical", "8", "hovered"],
|
|
4185
4361
|
"cleanName": "color.chart.categorical.8.hovered"
|
|
4362
|
+
}, {
|
|
4363
|
+
"attributes": {
|
|
4364
|
+
"group": "paint",
|
|
4365
|
+
"state": "active",
|
|
4366
|
+
"introduced": "0.13.3",
|
|
4367
|
+
"description": "For data visualisation only."
|
|
4368
|
+
},
|
|
4369
|
+
"value": "#6A9A23",
|
|
4370
|
+
"filePath": "src/tokens/atlassian-light/color/chart.tsx",
|
|
4371
|
+
"isSource": true,
|
|
4372
|
+
"original": {
|
|
4373
|
+
"attributes": {
|
|
4374
|
+
"group": "paint",
|
|
4375
|
+
"state": "active",
|
|
4376
|
+
"introduced": "0.13.3",
|
|
4377
|
+
"description": "For data visualisation only."
|
|
4378
|
+
},
|
|
4379
|
+
"value": "Lime600"
|
|
4380
|
+
},
|
|
4381
|
+
"name": "color.chart.lime.bold.[default]",
|
|
4382
|
+
"path": ["color", "chart", "lime", "bold", "[default]"],
|
|
4383
|
+
"cleanName": "color.chart.lime.bold"
|
|
4384
|
+
}, {
|
|
4385
|
+
"attributes": {
|
|
4386
|
+
"group": "paint",
|
|
4387
|
+
"state": "active",
|
|
4388
|
+
"introduced": "0.13.3",
|
|
4389
|
+
"description": "Hovered state of color.chart.lime.bold."
|
|
4390
|
+
},
|
|
4391
|
+
"value": "#5B7F24",
|
|
4392
|
+
"filePath": "src/tokens/atlassian-light/color/chart.tsx",
|
|
4393
|
+
"isSource": true,
|
|
4394
|
+
"original": {
|
|
4395
|
+
"attributes": {
|
|
4396
|
+
"group": "paint",
|
|
4397
|
+
"state": "active",
|
|
4398
|
+
"introduced": "0.13.3",
|
|
4399
|
+
"description": "Hovered state of color.chart.lime.bold."
|
|
4400
|
+
},
|
|
4401
|
+
"value": "Lime700"
|
|
4402
|
+
},
|
|
4403
|
+
"name": "color.chart.lime.bold.hovered",
|
|
4404
|
+
"path": ["color", "chart", "lime", "bold", "hovered"],
|
|
4405
|
+
"cleanName": "color.chart.lime.bold.hovered"
|
|
4406
|
+
}, {
|
|
4407
|
+
"attributes": {
|
|
4408
|
+
"group": "paint",
|
|
4409
|
+
"state": "active",
|
|
4410
|
+
"introduced": "0.13.3",
|
|
4411
|
+
"description": "For data visualisation only."
|
|
4412
|
+
},
|
|
4413
|
+
"value": "#5B7F24",
|
|
4414
|
+
"filePath": "src/tokens/atlassian-light/color/chart.tsx",
|
|
4415
|
+
"isSource": true,
|
|
4416
|
+
"original": {
|
|
4417
|
+
"attributes": {
|
|
4418
|
+
"group": "paint",
|
|
4419
|
+
"state": "active",
|
|
4420
|
+
"introduced": "0.13.3",
|
|
4421
|
+
"description": "For data visualisation only."
|
|
4422
|
+
},
|
|
4423
|
+
"value": "Lime700"
|
|
4424
|
+
},
|
|
4425
|
+
"name": "color.chart.lime.bolder.[default]",
|
|
4426
|
+
"path": ["color", "chart", "lime", "bolder", "[default]"],
|
|
4427
|
+
"cleanName": "color.chart.lime.bolder"
|
|
4428
|
+
}, {
|
|
4429
|
+
"attributes": {
|
|
4430
|
+
"group": "paint",
|
|
4431
|
+
"state": "active",
|
|
4432
|
+
"introduced": "0.13.3",
|
|
4433
|
+
"description": "Hovered state of color.chart.lime.bolder."
|
|
4434
|
+
},
|
|
4435
|
+
"value": "#4C6B1F",
|
|
4436
|
+
"filePath": "src/tokens/atlassian-light/color/chart.tsx",
|
|
4437
|
+
"isSource": true,
|
|
4438
|
+
"original": {
|
|
4439
|
+
"attributes": {
|
|
4440
|
+
"group": "paint",
|
|
4441
|
+
"state": "active",
|
|
4442
|
+
"introduced": "0.13.3",
|
|
4443
|
+
"description": "Hovered state of color.chart.lime.bolder."
|
|
4444
|
+
},
|
|
4445
|
+
"value": "Lime800"
|
|
4446
|
+
},
|
|
4447
|
+
"name": "color.chart.lime.bolder.hovered",
|
|
4448
|
+
"path": ["color", "chart", "lime", "bolder", "hovered"],
|
|
4449
|
+
"cleanName": "color.chart.lime.bolder.hovered"
|
|
4450
|
+
}, {
|
|
4451
|
+
"attributes": {
|
|
4452
|
+
"group": "paint",
|
|
4453
|
+
"state": "active",
|
|
4454
|
+
"introduced": "0.13.3",
|
|
4455
|
+
"description": "For data visualisation only."
|
|
4456
|
+
},
|
|
4457
|
+
"value": "#4C6B1F",
|
|
4458
|
+
"filePath": "src/tokens/atlassian-light/color/chart.tsx",
|
|
4459
|
+
"isSource": true,
|
|
4460
|
+
"original": {
|
|
4461
|
+
"attributes": {
|
|
4462
|
+
"group": "paint",
|
|
4463
|
+
"state": "active",
|
|
4464
|
+
"introduced": "0.13.3",
|
|
4465
|
+
"description": "For data visualisation only."
|
|
4466
|
+
},
|
|
4467
|
+
"value": "Lime800"
|
|
4468
|
+
},
|
|
4469
|
+
"name": "color.chart.lime.boldest.[default]",
|
|
4470
|
+
"path": ["color", "chart", "lime", "boldest", "[default]"],
|
|
4471
|
+
"cleanName": "color.chart.lime.boldest"
|
|
4472
|
+
}, {
|
|
4473
|
+
"attributes": {
|
|
4474
|
+
"group": "paint",
|
|
4475
|
+
"state": "active",
|
|
4476
|
+
"introduced": "0.13.3",
|
|
4477
|
+
"description": "Hovered state of color.chart.lime.boldest."
|
|
4478
|
+
},
|
|
4479
|
+
"value": "#37471F",
|
|
4480
|
+
"filePath": "src/tokens/atlassian-light/color/chart.tsx",
|
|
4481
|
+
"isSource": true,
|
|
4482
|
+
"original": {
|
|
4483
|
+
"attributes": {
|
|
4484
|
+
"group": "paint",
|
|
4485
|
+
"state": "active",
|
|
4486
|
+
"introduced": "0.13.3",
|
|
4487
|
+
"description": "Hovered state of color.chart.lime.boldest."
|
|
4488
|
+
},
|
|
4489
|
+
"value": "Lime900"
|
|
4490
|
+
},
|
|
4491
|
+
"name": "color.chart.lime.boldest.hovered",
|
|
4492
|
+
"path": ["color", "chart", "lime", "boldest", "hovered"],
|
|
4493
|
+
"cleanName": "color.chart.lime.boldest.hovered"
|
|
4186
4494
|
}, {
|
|
4187
4495
|
"attributes": {
|
|
4188
4496
|
"group": "paint",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import warnOnce from '@atlaskit/ds-lib/warn-once';
|
|
2
2
|
import tokens from './artifacts/token-names';
|
|
3
3
|
const name = "@atlaskit/tokens";
|
|
4
|
-
const version = "1.
|
|
4
|
+
const version = "1.8.0";
|
|
5
5
|
/**
|
|
6
6
|
* Takes a dot-separated token name and and an optional fallback, and returns the current computed CSS value for the
|
|
7
7
|
* resulting CSS Custom Property.
|
package/dist/es2019/get-token.js
CHANGED
|
@@ -2,7 +2,7 @@ import warnOnce from '@atlaskit/ds-lib/warn-once';
|
|
|
2
2
|
import tokens from './artifacts/token-names';
|
|
3
3
|
import { TOKEN_NOT_FOUND_CSS_VAR } from './constants';
|
|
4
4
|
const name = "@atlaskit/tokens";
|
|
5
|
-
const version = "1.
|
|
5
|
+
const version = "1.8.0";
|
|
6
6
|
/**
|
|
7
7
|
* Takes a dot-separated token name and an optional fallback, and returns the CSS custom property for the corresponding token.
|
|
8
8
|
* This should be used to implement design decisions throughout your application.
|
|
@@ -579,6 +579,76 @@ const palette = {
|
|
|
579
579
|
category: 'magenta'
|
|
580
580
|
}
|
|
581
581
|
},
|
|
582
|
+
Lime100: {
|
|
583
|
+
value: '#EEFBDA',
|
|
584
|
+
attributes: {
|
|
585
|
+
group: 'palette',
|
|
586
|
+
category: 'lime'
|
|
587
|
+
}
|
|
588
|
+
},
|
|
589
|
+
Lime200: {
|
|
590
|
+
value: '#D3F1A7',
|
|
591
|
+
attributes: {
|
|
592
|
+
group: 'palette',
|
|
593
|
+
category: 'lime'
|
|
594
|
+
}
|
|
595
|
+
},
|
|
596
|
+
Lime300: {
|
|
597
|
+
value: '#B3DF72',
|
|
598
|
+
attributes: {
|
|
599
|
+
group: 'palette',
|
|
600
|
+
category: 'lime'
|
|
601
|
+
}
|
|
602
|
+
},
|
|
603
|
+
Lime400: {
|
|
604
|
+
value: '#94C748',
|
|
605
|
+
attributes: {
|
|
606
|
+
group: 'palette',
|
|
607
|
+
category: 'lime'
|
|
608
|
+
}
|
|
609
|
+
},
|
|
610
|
+
Lime500: {
|
|
611
|
+
value: '#82B536',
|
|
612
|
+
attributes: {
|
|
613
|
+
group: 'palette',
|
|
614
|
+
category: 'lime'
|
|
615
|
+
}
|
|
616
|
+
},
|
|
617
|
+
Lime600: {
|
|
618
|
+
value: '#6A9A23',
|
|
619
|
+
attributes: {
|
|
620
|
+
group: 'palette',
|
|
621
|
+
category: 'lime'
|
|
622
|
+
}
|
|
623
|
+
},
|
|
624
|
+
Lime700: {
|
|
625
|
+
value: '#5B7F24',
|
|
626
|
+
attributes: {
|
|
627
|
+
group: 'palette',
|
|
628
|
+
category: 'lime'
|
|
629
|
+
}
|
|
630
|
+
},
|
|
631
|
+
Lime800: {
|
|
632
|
+
value: '#4C6B1F',
|
|
633
|
+
attributes: {
|
|
634
|
+
group: 'palette',
|
|
635
|
+
category: 'lime'
|
|
636
|
+
}
|
|
637
|
+
},
|
|
638
|
+
Lime900: {
|
|
639
|
+
value: '#37471F',
|
|
640
|
+
attributes: {
|
|
641
|
+
group: 'palette',
|
|
642
|
+
category: 'lime'
|
|
643
|
+
}
|
|
644
|
+
},
|
|
645
|
+
Lime1000: {
|
|
646
|
+
value: '#2A3818',
|
|
647
|
+
attributes: {
|
|
648
|
+
group: 'palette',
|
|
649
|
+
category: 'lime'
|
|
650
|
+
}
|
|
651
|
+
},
|
|
582
652
|
'DarkNeutral-100': {
|
|
583
653
|
value: '#101214',
|
|
584
654
|
attributes: {
|
|
@@ -66,6 +66,14 @@ const color = {
|
|
|
66
66
|
value: 'Magenta200'
|
|
67
67
|
}
|
|
68
68
|
},
|
|
69
|
+
lime: {
|
|
70
|
+
'[default]': {
|
|
71
|
+
value: 'Lime300'
|
|
72
|
+
},
|
|
73
|
+
bolder: {
|
|
74
|
+
value: 'Lime200'
|
|
75
|
+
}
|
|
76
|
+
},
|
|
69
77
|
gray: {
|
|
70
78
|
'[default]': {
|
|
71
79
|
value: 'DarkNeutral800'
|
|
@@ -102,6 +110,9 @@ const color = {
|
|
|
102
110
|
magenta: {
|
|
103
111
|
value: 'Magenta500'
|
|
104
112
|
},
|
|
113
|
+
lime: {
|
|
114
|
+
value: 'Lime500'
|
|
115
|
+
},
|
|
105
116
|
gray: {
|
|
106
117
|
value: 'DarkNeutral600'
|
|
107
118
|
}
|
|
@@ -133,6 +144,9 @@ const color = {
|
|
|
133
144
|
magenta: {
|
|
134
145
|
value: 'Magenta500'
|
|
135
146
|
},
|
|
147
|
+
lime: {
|
|
148
|
+
value: 'Lime500'
|
|
149
|
+
},
|
|
136
150
|
gray: {
|
|
137
151
|
value: 'DarkNeutral600'
|
|
138
152
|
}
|
|
@@ -252,6 +266,20 @@ const color = {
|
|
|
252
266
|
value: 'Magenta400'
|
|
253
267
|
}
|
|
254
268
|
},
|
|
269
|
+
lime: {
|
|
270
|
+
subtlest: {
|
|
271
|
+
value: 'Lime1000'
|
|
272
|
+
},
|
|
273
|
+
subtler: {
|
|
274
|
+
value: 'Lime900'
|
|
275
|
+
},
|
|
276
|
+
subtle: {
|
|
277
|
+
value: 'Lime800'
|
|
278
|
+
},
|
|
279
|
+
bolder: {
|
|
280
|
+
value: 'Lime400'
|
|
281
|
+
}
|
|
282
|
+
},
|
|
255
283
|
gray: {
|
|
256
284
|
subtlest: {
|
|
257
285
|
value: 'DarkNeutral300'
|
|
@@ -381,6 +381,32 @@ const color = {
|
|
|
381
381
|
}
|
|
382
382
|
}
|
|
383
383
|
},
|
|
384
|
+
lime: {
|
|
385
|
+
bold: {
|
|
386
|
+
'[default]': {
|
|
387
|
+
value: 'Teal500'
|
|
388
|
+
},
|
|
389
|
+
hovered: {
|
|
390
|
+
value: 'Teal400'
|
|
391
|
+
}
|
|
392
|
+
},
|
|
393
|
+
bolder: {
|
|
394
|
+
'[default]': {
|
|
395
|
+
value: 'Teal400'
|
|
396
|
+
},
|
|
397
|
+
hovered: {
|
|
398
|
+
value: 'Teal300'
|
|
399
|
+
}
|
|
400
|
+
},
|
|
401
|
+
boldest: {
|
|
402
|
+
'[default]': {
|
|
403
|
+
value: 'Teal300'
|
|
404
|
+
},
|
|
405
|
+
hovered: {
|
|
406
|
+
value: 'Teal200'
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
},
|
|
384
410
|
gray: {
|
|
385
411
|
bold: {
|
|
386
412
|
'[default]': {
|
|
@@ -70,6 +70,16 @@ const color = {
|
|
|
70
70
|
value: '#FDD0EC'
|
|
71
71
|
}
|
|
72
72
|
},
|
|
73
|
+
lime: {
|
|
74
|
+
// @ts-expect-error
|
|
75
|
+
'[default]': {
|
|
76
|
+
value: '#4C6B1F'
|
|
77
|
+
},
|
|
78
|
+
// @ts-expect-error
|
|
79
|
+
bolder: {
|
|
80
|
+
value: '#37471F'
|
|
81
|
+
}
|
|
82
|
+
},
|
|
73
83
|
gray: {
|
|
74
84
|
'[default]': {
|
|
75
85
|
value: 'DN300'
|
|
@@ -108,6 +118,10 @@ const color = {
|
|
|
108
118
|
magenta: {
|
|
109
119
|
value: '#DA62AC'
|
|
110
120
|
},
|
|
121
|
+
// @ts-expect-error
|
|
122
|
+
lime: {
|
|
123
|
+
value: '#6A9A23'
|
|
124
|
+
},
|
|
111
125
|
gray: {
|
|
112
126
|
value: 'DN600'
|
|
113
127
|
}
|
|
@@ -141,6 +155,10 @@ const color = {
|
|
|
141
155
|
magenta: {
|
|
142
156
|
value: '#DA62AC'
|
|
143
157
|
},
|
|
158
|
+
// @ts-expect-error
|
|
159
|
+
lime: {
|
|
160
|
+
value: '#6A9A23'
|
|
161
|
+
},
|
|
144
162
|
gray: {
|
|
145
163
|
value: 'DN600'
|
|
146
164
|
}
|
|
@@ -268,6 +286,24 @@ const color = {
|
|
|
268
286
|
value: '#E774BB'
|
|
269
287
|
}
|
|
270
288
|
},
|
|
289
|
+
lime: {
|
|
290
|
+
// @ts-expect-error
|
|
291
|
+
subtlest: {
|
|
292
|
+
value: '#EEFBDA'
|
|
293
|
+
},
|
|
294
|
+
// @ts-expect-error
|
|
295
|
+
subtler: {
|
|
296
|
+
value: '#D3F1A7'
|
|
297
|
+
},
|
|
298
|
+
// @ts-expect-error
|
|
299
|
+
subtle: {
|
|
300
|
+
value: '#94C748'
|
|
301
|
+
},
|
|
302
|
+
// @ts-expect-error
|
|
303
|
+
bolder: {
|
|
304
|
+
value: '#5B7F24'
|
|
305
|
+
}
|
|
306
|
+
},
|
|
271
307
|
gray: {
|
|
272
308
|
subtlest: {
|
|
273
309
|
value: 'DN300'
|
|
@@ -401,6 +401,38 @@ const color = {
|
|
|
401
401
|
}
|
|
402
402
|
}
|
|
403
403
|
},
|
|
404
|
+
lime: {
|
|
405
|
+
bold: {
|
|
406
|
+
'[default]': {
|
|
407
|
+
// @ts-expect-error
|
|
408
|
+
value: '#6A9A23'
|
|
409
|
+
},
|
|
410
|
+
hovered: {
|
|
411
|
+
// @ts-expect-error
|
|
412
|
+
value: '#5B7F24'
|
|
413
|
+
}
|
|
414
|
+
},
|
|
415
|
+
bolder: {
|
|
416
|
+
'[default]': {
|
|
417
|
+
// @ts-expect-error
|
|
418
|
+
value: '#5B7F24'
|
|
419
|
+
},
|
|
420
|
+
hovered: {
|
|
421
|
+
// @ts-expect-error
|
|
422
|
+
value: '#4C6B1F'
|
|
423
|
+
}
|
|
424
|
+
},
|
|
425
|
+
boldest: {
|
|
426
|
+
'[default]': {
|
|
427
|
+
// @ts-expect-error
|
|
428
|
+
value: '#4C6B1F'
|
|
429
|
+
},
|
|
430
|
+
hovered: {
|
|
431
|
+
// @ts-expect-error
|
|
432
|
+
value: '#37471F'
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
},
|
|
404
436
|
gray: {
|
|
405
437
|
bold: {
|
|
406
438
|
'[default]': {
|