@atlaskit/tokens 0.10.6 → 0.10.9
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 +27 -0
- package/css/atlassian-dark.css +10 -1
- package/css/atlassian-light.css +10 -1
- package/dist/cjs/artifacts/token-default-values.js +10 -1
- package/dist/cjs/artifacts/token-names.js +10 -1
- package/dist/cjs/artifacts/tokens-raw/atlassian-dark.js +196 -7
- package/dist/cjs/artifacts/tokens-raw/atlassian-light.js +196 -7
- package/dist/cjs/get-token.js +1 -1
- package/dist/cjs/tokens/atlassian-dark/color/accent.js +28 -0
- package/dist/cjs/tokens/atlassian-dark/color/border.js +3 -0
- package/dist/cjs/tokens/atlassian-light/color/accent.js +28 -0
- package/dist/cjs/tokens/atlassian-light/color/border.js +3 -0
- package/dist/cjs/tokens/default/color/accent.js +70 -2
- package/dist/cjs/tokens/default/color/border.js +8 -0
- package/dist/cjs/tokens/default/deprecated/deprecated.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/artifacts/token-default-values.js +10 -1
- package/dist/es2019/artifacts/token-names.js +10 -1
- package/dist/es2019/artifacts/tokens-raw/atlassian-dark.js +196 -7
- package/dist/es2019/artifacts/tokens-raw/atlassian-light.js +196 -7
- package/dist/es2019/get-token.js +1 -1
- package/dist/es2019/tokens/atlassian-dark/color/accent.js +28 -0
- package/dist/es2019/tokens/atlassian-dark/color/border.js +3 -0
- package/dist/es2019/tokens/atlassian-light/color/accent.js +28 -0
- package/dist/es2019/tokens/atlassian-light/color/border.js +3 -0
- package/dist/es2019/tokens/default/color/accent.js +70 -2
- package/dist/es2019/tokens/default/color/border.js +8 -0
- package/dist/es2019/tokens/default/deprecated/deprecated.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/artifacts/token-default-values.js +10 -1
- package/dist/esm/artifacts/token-names.js +10 -1
- package/dist/esm/artifacts/tokens-raw/atlassian-dark.js +196 -7
- package/dist/esm/artifacts/tokens-raw/atlassian-light.js +196 -7
- package/dist/esm/get-token.js +1 -1
- package/dist/esm/tokens/atlassian-dark/color/accent.js +28 -0
- package/dist/esm/tokens/atlassian-dark/color/border.js +3 -0
- package/dist/esm/tokens/atlassian-light/color/accent.js +28 -0
- package/dist/esm/tokens/atlassian-light/color/border.js +3 -0
- package/dist/esm/tokens/default/color/accent.js +70 -2
- package/dist/esm/tokens/default/color/border.js +8 -0
- package/dist/esm/tokens/default/deprecated/deprecated.js +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/artifacts/token-default-values.d.ts +10 -1
- package/dist/types/artifacts/token-names.d.ts +19 -1
- package/dist/types/artifacts/tokens-raw/atlassian-dark.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/types.d.ts +13 -0
- package/package.json +3 -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::27eae6ae1ffaceb474ba5af373b377f1>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
var tokens = [{
|
|
@@ -339,6 +339,48 @@ var tokens = [{
|
|
|
339
339
|
},
|
|
340
340
|
"name": "color.text.accent.magenta.bolder",
|
|
341
341
|
"path": ["color", "text", "accent", "magenta", "bolder"]
|
|
342
|
+
}, {
|
|
343
|
+
"attributes": {
|
|
344
|
+
"group": "paint",
|
|
345
|
+
"state": "active",
|
|
346
|
+
"introduced": "0.10.5",
|
|
347
|
+
"description": "Use for text on non-bold gray accent backgrounds, such as colored tags."
|
|
348
|
+
},
|
|
349
|
+
"value": "#44546F",
|
|
350
|
+
"filePath": "src/tokens/atlassian-light/color/accent.tsx",
|
|
351
|
+
"isSource": true,
|
|
352
|
+
"original": {
|
|
353
|
+
"attributes": {
|
|
354
|
+
"group": "paint",
|
|
355
|
+
"state": "active",
|
|
356
|
+
"introduced": "0.10.5",
|
|
357
|
+
"description": "Use for text on non-bold gray accent backgrounds, such as colored tags."
|
|
358
|
+
},
|
|
359
|
+
"value": "N800"
|
|
360
|
+
},
|
|
361
|
+
"name": "color.text.accent.gray.[default]",
|
|
362
|
+
"path": ["color", "text", "accent", "gray", "[default]"]
|
|
363
|
+
}, {
|
|
364
|
+
"attributes": {
|
|
365
|
+
"group": "paint",
|
|
366
|
+
"state": "active",
|
|
367
|
+
"introduced": "0.10.5",
|
|
368
|
+
"description": "Use for text and icons on gray subtle accent backgrounds."
|
|
369
|
+
},
|
|
370
|
+
"value": "#172B4D",
|
|
371
|
+
"filePath": "src/tokens/atlassian-light/color/accent.tsx",
|
|
372
|
+
"isSource": true,
|
|
373
|
+
"original": {
|
|
374
|
+
"attributes": {
|
|
375
|
+
"group": "paint",
|
|
376
|
+
"state": "active",
|
|
377
|
+
"introduced": "0.10.5",
|
|
378
|
+
"description": "Use for text and icons on gray subtle accent backgrounds."
|
|
379
|
+
},
|
|
380
|
+
"value": "N1000"
|
|
381
|
+
},
|
|
382
|
+
"name": "color.text.accent.gray.bolder",
|
|
383
|
+
"path": ["color", "text", "accent", "gray", "bolder"]
|
|
342
384
|
}, {
|
|
343
385
|
"attributes": {
|
|
344
386
|
"group": "paint",
|
|
@@ -969,6 +1011,27 @@ var tokens = [{
|
|
|
969
1011
|
},
|
|
970
1012
|
"name": "color.icon.accent.magenta",
|
|
971
1013
|
"path": ["color", "icon", "accent", "magenta"]
|
|
1014
|
+
}, {
|
|
1015
|
+
"attributes": {
|
|
1016
|
+
"group": "paint",
|
|
1017
|
+
"state": "active",
|
|
1018
|
+
"introduced": "0.10.5",
|
|
1019
|
+
"description": "Use for icons on non-bold gray accent backgrounds, such as file type icons."
|
|
1020
|
+
},
|
|
1021
|
+
"value": "#758195",
|
|
1022
|
+
"filePath": "src/tokens/atlassian-light/color/accent.tsx",
|
|
1023
|
+
"isSource": true,
|
|
1024
|
+
"original": {
|
|
1025
|
+
"attributes": {
|
|
1026
|
+
"group": "paint",
|
|
1027
|
+
"state": "active",
|
|
1028
|
+
"introduced": "0.10.5",
|
|
1029
|
+
"description": "Use for icons on non-bold gray accent backgrounds, such as file type icons."
|
|
1030
|
+
},
|
|
1031
|
+
"value": "N600"
|
|
1032
|
+
},
|
|
1033
|
+
"name": "color.icon.accent.gray",
|
|
1034
|
+
"path": ["color", "icon", "accent", "gray"]
|
|
972
1035
|
}, {
|
|
973
1036
|
"attributes": {
|
|
974
1037
|
"group": "paint",
|
|
@@ -1389,6 +1452,27 @@ var tokens = [{
|
|
|
1389
1452
|
},
|
|
1390
1453
|
"name": "color.border.accent.magenta",
|
|
1391
1454
|
"path": ["color", "border", "accent", "magenta"]
|
|
1455
|
+
}, {
|
|
1456
|
+
"attributes": {
|
|
1457
|
+
"group": "paint",
|
|
1458
|
+
"state": "active",
|
|
1459
|
+
"introduced": "0.10.5",
|
|
1460
|
+
"description": "Use for borders on non-bold gray accent backgrounds."
|
|
1461
|
+
},
|
|
1462
|
+
"value": "#758195",
|
|
1463
|
+
"filePath": "src/tokens/atlassian-light/color/accent.tsx",
|
|
1464
|
+
"isSource": true,
|
|
1465
|
+
"original": {
|
|
1466
|
+
"attributes": {
|
|
1467
|
+
"group": "paint",
|
|
1468
|
+
"state": "active",
|
|
1469
|
+
"introduced": "0.10.5",
|
|
1470
|
+
"description": "Use for borders on non-bold gray accent backgrounds."
|
|
1471
|
+
},
|
|
1472
|
+
"value": "N600"
|
|
1473
|
+
},
|
|
1474
|
+
"name": "color.border.accent.gray",
|
|
1475
|
+
"path": ["color", "border", "accent", "gray"]
|
|
1392
1476
|
}, {
|
|
1393
1477
|
"attributes": {
|
|
1394
1478
|
"group": "paint",
|
|
@@ -1410,6 +1494,27 @@ var tokens = [{
|
|
|
1410
1494
|
},
|
|
1411
1495
|
"name": "color.border.[default]",
|
|
1412
1496
|
"path": ["color", "border", "[default]"]
|
|
1497
|
+
}, {
|
|
1498
|
+
"attributes": {
|
|
1499
|
+
"group": "paint",
|
|
1500
|
+
"state": "active",
|
|
1501
|
+
"introduced": "0.10.8",
|
|
1502
|
+
"description": "A neutral border option that passes min 3:1 contrast ratios."
|
|
1503
|
+
},
|
|
1504
|
+
"value": "#758195",
|
|
1505
|
+
"filePath": "src/tokens/atlassian-light/color/border.tsx",
|
|
1506
|
+
"isSource": true,
|
|
1507
|
+
"original": {
|
|
1508
|
+
"attributes": {
|
|
1509
|
+
"group": "paint",
|
|
1510
|
+
"state": "active",
|
|
1511
|
+
"introduced": "0.10.8",
|
|
1512
|
+
"description": "A neutral border option that passes min 3:1 contrast ratios."
|
|
1513
|
+
},
|
|
1514
|
+
"value": "N600"
|
|
1515
|
+
},
|
|
1516
|
+
"name": "color.border.bold",
|
|
1517
|
+
"path": ["color", "border", "bold"]
|
|
1413
1518
|
}, {
|
|
1414
1519
|
"attributes": {
|
|
1415
1520
|
"group": "paint",
|
|
@@ -1721,7 +1826,7 @@ var tokens = [{
|
|
|
1721
1826
|
"group": "paint",
|
|
1722
1827
|
"state": "active",
|
|
1723
1828
|
"introduced": "0.7.0",
|
|
1724
|
-
"description": "Use for blue backgrounds when there is no meaning tied to the color, such as
|
|
1829
|
+
"description": "Use for blue backgrounds when there is no meaning tied to the color, such as colored tags."
|
|
1725
1830
|
},
|
|
1726
1831
|
"value": "#CCE0FF",
|
|
1727
1832
|
"filePath": "src/tokens/atlassian-light/color/accent.tsx",
|
|
@@ -1731,7 +1836,7 @@ var tokens = [{
|
|
|
1731
1836
|
"group": "paint",
|
|
1732
1837
|
"state": "active",
|
|
1733
1838
|
"introduced": "0.7.0",
|
|
1734
|
-
"description": "Use for blue backgrounds when there is no meaning tied to the color, such as
|
|
1839
|
+
"description": "Use for blue backgrounds when there is no meaning tied to the color, such as colored tags."
|
|
1735
1840
|
},
|
|
1736
1841
|
"value": "B200"
|
|
1737
1842
|
},
|
|
@@ -1742,7 +1847,7 @@ var tokens = [{
|
|
|
1742
1847
|
"group": "paint",
|
|
1743
1848
|
"state": "active",
|
|
1744
1849
|
"introduced": "0.7.0",
|
|
1745
|
-
"description": "Use for vibrant blue backgrounds when there is no meaning tied to the color, such as
|
|
1850
|
+
"description": "Use for vibrant blue backgrounds when there is no meaning tied to the color, such as colored tags."
|
|
1746
1851
|
},
|
|
1747
1852
|
"value": "#579DFF",
|
|
1748
1853
|
"filePath": "src/tokens/atlassian-light/color/accent.tsx",
|
|
@@ -1752,7 +1857,7 @@ var tokens = [{
|
|
|
1752
1857
|
"group": "paint",
|
|
1753
1858
|
"state": "active",
|
|
1754
1859
|
"introduced": "0.7.0",
|
|
1755
|
-
"description": "Use for vibrant blue backgrounds when there is no meaning tied to the color, such as
|
|
1860
|
+
"description": "Use for vibrant blue backgrounds when there is no meaning tied to the color, such as colored tags."
|
|
1756
1861
|
},
|
|
1757
1862
|
"value": "B400"
|
|
1758
1863
|
},
|
|
@@ -1787,7 +1892,7 @@ var tokens = [{
|
|
|
1787
1892
|
"deprecated": "0.7.0",
|
|
1788
1893
|
"deleted": "0.8.0",
|
|
1789
1894
|
"replacement": "color.background.accent.blue.subtler",
|
|
1790
|
-
"description": "Use for blue backgrounds when there is no meaning tied to the color, such as
|
|
1895
|
+
"description": "Use for blue backgrounds when there is no meaning tied to the color, such as colored tags."
|
|
1791
1896
|
},
|
|
1792
1897
|
"value": "#CCE0FF",
|
|
1793
1898
|
"filePath": "src/tokens/atlassian-light/deprecated/deprecated.tsx",
|
|
@@ -1800,7 +1905,7 @@ var tokens = [{
|
|
|
1800
1905
|
"deprecated": "0.7.0",
|
|
1801
1906
|
"deleted": "0.8.0",
|
|
1802
1907
|
"replacement": "color.background.accent.blue.subtler",
|
|
1803
|
-
"description": "Use for blue backgrounds when there is no meaning tied to the color, such as
|
|
1908
|
+
"description": "Use for blue backgrounds when there is no meaning tied to the color, such as colored tags."
|
|
1804
1909
|
},
|
|
1805
1910
|
"value": "B200"
|
|
1806
1911
|
},
|
|
@@ -2799,6 +2904,90 @@ var tokens = [{
|
|
|
2799
2904
|
},
|
|
2800
2905
|
"name": "color.background.accent.magenta.bold",
|
|
2801
2906
|
"path": ["color", "background", "accent", "magenta", "bold"]
|
|
2907
|
+
}, {
|
|
2908
|
+
"attributes": {
|
|
2909
|
+
"group": "paint",
|
|
2910
|
+
"state": "active",
|
|
2911
|
+
"introduced": "0.7.0",
|
|
2912
|
+
"description": "Use for gray backgrounds when there is no meaning tied to the color. Reserved for when you only want a hint of color."
|
|
2913
|
+
},
|
|
2914
|
+
"value": "#F1F2F4",
|
|
2915
|
+
"filePath": "src/tokens/atlassian-light/color/accent.tsx",
|
|
2916
|
+
"isSource": true,
|
|
2917
|
+
"original": {
|
|
2918
|
+
"attributes": {
|
|
2919
|
+
"group": "paint",
|
|
2920
|
+
"state": "active",
|
|
2921
|
+
"introduced": "0.7.0",
|
|
2922
|
+
"description": "Use for gray backgrounds when there is no meaning tied to the color. Reserved for when you only want a hint of color."
|
|
2923
|
+
},
|
|
2924
|
+
"value": "N200"
|
|
2925
|
+
},
|
|
2926
|
+
"name": "color.background.accent.gray.subtlest",
|
|
2927
|
+
"path": ["color", "background", "accent", "gray", "subtlest"]
|
|
2928
|
+
}, {
|
|
2929
|
+
"attributes": {
|
|
2930
|
+
"group": "paint",
|
|
2931
|
+
"state": "active",
|
|
2932
|
+
"introduced": "0.7.0",
|
|
2933
|
+
"description": "Use for gray backgrounds when there is no meaning tied to the color, such as colored tags."
|
|
2934
|
+
},
|
|
2935
|
+
"value": "#DCDFE4",
|
|
2936
|
+
"filePath": "src/tokens/atlassian-light/color/accent.tsx",
|
|
2937
|
+
"isSource": true,
|
|
2938
|
+
"original": {
|
|
2939
|
+
"attributes": {
|
|
2940
|
+
"group": "paint",
|
|
2941
|
+
"state": "active",
|
|
2942
|
+
"introduced": "0.7.0",
|
|
2943
|
+
"description": "Use for gray backgrounds when there is no meaning tied to the color, such as colored tags."
|
|
2944
|
+
},
|
|
2945
|
+
"value": "N300"
|
|
2946
|
+
},
|
|
2947
|
+
"name": "color.background.accent.gray.subtler",
|
|
2948
|
+
"path": ["color", "background", "accent", "gray", "subtler"]
|
|
2949
|
+
}, {
|
|
2950
|
+
"attributes": {
|
|
2951
|
+
"group": "paint",
|
|
2952
|
+
"state": "active",
|
|
2953
|
+
"introduced": "0.7.0",
|
|
2954
|
+
"description": "Use for vibrant gray backgrounds when there is no meaning tied to the color, such as colored tags."
|
|
2955
|
+
},
|
|
2956
|
+
"value": "#8993A5",
|
|
2957
|
+
"filePath": "src/tokens/atlassian-light/color/accent.tsx",
|
|
2958
|
+
"isSource": true,
|
|
2959
|
+
"original": {
|
|
2960
|
+
"attributes": {
|
|
2961
|
+
"group": "paint",
|
|
2962
|
+
"state": "active",
|
|
2963
|
+
"introduced": "0.7.0",
|
|
2964
|
+
"description": "Use for vibrant gray backgrounds when there is no meaning tied to the color, such as colored tags."
|
|
2965
|
+
},
|
|
2966
|
+
"value": "N500"
|
|
2967
|
+
},
|
|
2968
|
+
"name": "color.background.accent.gray.subtle",
|
|
2969
|
+
"path": ["color", "background", "accent", "gray", "subtle"]
|
|
2970
|
+
}, {
|
|
2971
|
+
"attributes": {
|
|
2972
|
+
"group": "paint",
|
|
2973
|
+
"state": "active",
|
|
2974
|
+
"introduced": "0.7.0",
|
|
2975
|
+
"description": "Use for gray backgrounds when there is no meaning tied to the color, and the background needs to pass min 3:1 contrast requirements."
|
|
2976
|
+
},
|
|
2977
|
+
"value": "#626F86",
|
|
2978
|
+
"filePath": "src/tokens/atlassian-light/color/accent.tsx",
|
|
2979
|
+
"isSource": true,
|
|
2980
|
+
"original": {
|
|
2981
|
+
"attributes": {
|
|
2982
|
+
"group": "paint",
|
|
2983
|
+
"state": "active",
|
|
2984
|
+
"introduced": "0.7.0",
|
|
2985
|
+
"description": "Use for gray backgrounds when there is no meaning tied to the color, and the background needs to pass min 3:1 contrast requirements."
|
|
2986
|
+
},
|
|
2987
|
+
"value": "N700"
|
|
2988
|
+
},
|
|
2989
|
+
"name": "color.background.accent.gray.bolder",
|
|
2990
|
+
"path": ["color", "background", "accent", "gray", "bolder"]
|
|
2802
2991
|
}, {
|
|
2803
2992
|
"attributes": {
|
|
2804
2993
|
"group": "paint",
|
package/dist/esm/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
|
var name = "@atlaskit/tokens";
|
|
5
|
-
var version = "0.10.
|
|
5
|
+
var version = "0.10.9";
|
|
6
6
|
|
|
7
7
|
function token(path, fallback) {
|
|
8
8
|
var token = tokens[path];
|
|
@@ -65,6 +65,14 @@ var color = {
|
|
|
65
65
|
bolder: {
|
|
66
66
|
value: 'M200'
|
|
67
67
|
}
|
|
68
|
+
},
|
|
69
|
+
gray: {
|
|
70
|
+
'[default]': {
|
|
71
|
+
value: 'DN800'
|
|
72
|
+
},
|
|
73
|
+
bolder: {
|
|
74
|
+
value: 'DN1000'
|
|
75
|
+
}
|
|
68
76
|
}
|
|
69
77
|
}
|
|
70
78
|
},
|
|
@@ -93,6 +101,9 @@ var color = {
|
|
|
93
101
|
},
|
|
94
102
|
magenta: {
|
|
95
103
|
value: 'M500'
|
|
104
|
+
},
|
|
105
|
+
gray: {
|
|
106
|
+
value: 'DN600'
|
|
96
107
|
}
|
|
97
108
|
}
|
|
98
109
|
},
|
|
@@ -121,6 +132,9 @@ var color = {
|
|
|
121
132
|
},
|
|
122
133
|
magenta: {
|
|
123
134
|
value: 'M500'
|
|
135
|
+
},
|
|
136
|
+
gray: {
|
|
137
|
+
value: 'DN600'
|
|
124
138
|
}
|
|
125
139
|
}
|
|
126
140
|
},
|
|
@@ -237,6 +251,20 @@ var color = {
|
|
|
237
251
|
bolder: {
|
|
238
252
|
value: 'M400'
|
|
239
253
|
}
|
|
254
|
+
},
|
|
255
|
+
gray: {
|
|
256
|
+
subtlest: {
|
|
257
|
+
value: 'DN300'
|
|
258
|
+
},
|
|
259
|
+
subtler: {
|
|
260
|
+
value: 'DN400'
|
|
261
|
+
},
|
|
262
|
+
subtle: {
|
|
263
|
+
value: 'DN500'
|
|
264
|
+
},
|
|
265
|
+
bolder: {
|
|
266
|
+
value: 'DN700'
|
|
267
|
+
}
|
|
240
268
|
}
|
|
241
269
|
}
|
|
242
270
|
}
|
|
@@ -65,6 +65,14 @@ var color = {
|
|
|
65
65
|
bolder: {
|
|
66
66
|
value: 'M900'
|
|
67
67
|
}
|
|
68
|
+
},
|
|
69
|
+
gray: {
|
|
70
|
+
'[default]': {
|
|
71
|
+
value: 'N800'
|
|
72
|
+
},
|
|
73
|
+
bolder: {
|
|
74
|
+
value: 'N1000'
|
|
75
|
+
}
|
|
68
76
|
}
|
|
69
77
|
}
|
|
70
78
|
},
|
|
@@ -93,6 +101,9 @@ var color = {
|
|
|
93
101
|
},
|
|
94
102
|
magenta: {
|
|
95
103
|
value: 'M600'
|
|
104
|
+
},
|
|
105
|
+
gray: {
|
|
106
|
+
value: 'N600'
|
|
96
107
|
}
|
|
97
108
|
}
|
|
98
109
|
},
|
|
@@ -121,6 +132,9 @@ var color = {
|
|
|
121
132
|
},
|
|
122
133
|
magenta: {
|
|
123
134
|
value: 'M600'
|
|
135
|
+
},
|
|
136
|
+
gray: {
|
|
137
|
+
value: 'N600'
|
|
124
138
|
}
|
|
125
139
|
}
|
|
126
140
|
},
|
|
@@ -237,6 +251,20 @@ var color = {
|
|
|
237
251
|
bolder: {
|
|
238
252
|
value: 'M700'
|
|
239
253
|
}
|
|
254
|
+
},
|
|
255
|
+
gray: {
|
|
256
|
+
subtlest: {
|
|
257
|
+
value: 'N200'
|
|
258
|
+
},
|
|
259
|
+
subtler: {
|
|
260
|
+
value: 'N300'
|
|
261
|
+
},
|
|
262
|
+
subtle: {
|
|
263
|
+
value: 'N500'
|
|
264
|
+
},
|
|
265
|
+
bolder: {
|
|
266
|
+
value: 'N700'
|
|
267
|
+
}
|
|
240
268
|
}
|
|
241
269
|
}
|
|
242
270
|
}
|
|
@@ -145,6 +145,24 @@ var color = {
|
|
|
145
145
|
description: 'Use on bold magenta accent backgrounds.'
|
|
146
146
|
}
|
|
147
147
|
}
|
|
148
|
+
},
|
|
149
|
+
gray: {
|
|
150
|
+
'[default]': {
|
|
151
|
+
attributes: {
|
|
152
|
+
group: 'paint',
|
|
153
|
+
state: 'active',
|
|
154
|
+
introduced: '0.10.5',
|
|
155
|
+
description: 'Use for text on non-bold gray accent backgrounds, such as colored tags.'
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
bolder: {
|
|
159
|
+
attributes: {
|
|
160
|
+
group: 'paint',
|
|
161
|
+
state: 'active',
|
|
162
|
+
introduced: '0.10.5',
|
|
163
|
+
description: 'Use for text and icons on gray subtle accent backgrounds.'
|
|
164
|
+
}
|
|
165
|
+
}
|
|
148
166
|
}
|
|
149
167
|
}
|
|
150
168
|
},
|
|
@@ -213,6 +231,14 @@ var color = {
|
|
|
213
231
|
introduced: '0.6.0',
|
|
214
232
|
description: 'Use for magenta icons on non-bold backgrounds when there is no meaning tied to the color, such as file type icons.'
|
|
215
233
|
}
|
|
234
|
+
},
|
|
235
|
+
gray: {
|
|
236
|
+
attributes: {
|
|
237
|
+
group: 'paint',
|
|
238
|
+
state: 'active',
|
|
239
|
+
introduced: '0.10.5',
|
|
240
|
+
description: 'Use for icons on non-bold gray accent backgrounds, such as file type icons.'
|
|
241
|
+
}
|
|
216
242
|
}
|
|
217
243
|
}
|
|
218
244
|
},
|
|
@@ -281,6 +307,14 @@ var color = {
|
|
|
281
307
|
introduced: '0.6.0',
|
|
282
308
|
description: 'Use for magenta borders on non-bold backgrounds when there is no meaning tied to the color.'
|
|
283
309
|
}
|
|
310
|
+
},
|
|
311
|
+
gray: {
|
|
312
|
+
attributes: {
|
|
313
|
+
group: 'paint',
|
|
314
|
+
state: 'active',
|
|
315
|
+
introduced: '0.10.5',
|
|
316
|
+
description: 'Use for borders on non-bold gray accent backgrounds.'
|
|
317
|
+
}
|
|
284
318
|
}
|
|
285
319
|
}
|
|
286
320
|
},
|
|
@@ -300,7 +334,7 @@ var color = {
|
|
|
300
334
|
group: 'paint',
|
|
301
335
|
state: 'active',
|
|
302
336
|
introduced: '0.7.0',
|
|
303
|
-
description: 'Use for blue backgrounds when there is no meaning tied to the color, such as
|
|
337
|
+
description: 'Use for blue backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
304
338
|
}
|
|
305
339
|
},
|
|
306
340
|
subtle: {
|
|
@@ -308,7 +342,7 @@ var color = {
|
|
|
308
342
|
group: 'paint',
|
|
309
343
|
state: 'active',
|
|
310
344
|
introduced: '0.7.0',
|
|
311
|
-
description: 'Use for vibrant blue backgrounds when there is no meaning tied to the color, such as
|
|
345
|
+
description: 'Use for vibrant blue backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
312
346
|
}
|
|
313
347
|
},
|
|
314
348
|
bolder: {
|
|
@@ -557,6 +591,40 @@ var color = {
|
|
|
557
591
|
description: 'Use for magenta backgrounds when there is no meaning tied to the color, and the background needs to pass min 3:1 contrast requirements.'
|
|
558
592
|
}
|
|
559
593
|
}
|
|
594
|
+
},
|
|
595
|
+
gray: {
|
|
596
|
+
subtlest: {
|
|
597
|
+
attributes: {
|
|
598
|
+
group: 'paint',
|
|
599
|
+
state: 'active',
|
|
600
|
+
introduced: '0.7.0',
|
|
601
|
+
description: 'Use for gray backgrounds when there is no meaning tied to the color. Reserved for when you only want a hint of color.'
|
|
602
|
+
}
|
|
603
|
+
},
|
|
604
|
+
subtler: {
|
|
605
|
+
attributes: {
|
|
606
|
+
group: 'paint',
|
|
607
|
+
state: 'active',
|
|
608
|
+
introduced: '0.7.0',
|
|
609
|
+
description: 'Use for gray backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
610
|
+
}
|
|
611
|
+
},
|
|
612
|
+
subtle: {
|
|
613
|
+
attributes: {
|
|
614
|
+
group: 'paint',
|
|
615
|
+
state: 'active',
|
|
616
|
+
introduced: '0.7.0',
|
|
617
|
+
description: 'Use for vibrant gray backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
618
|
+
}
|
|
619
|
+
},
|
|
620
|
+
bolder: {
|
|
621
|
+
attributes: {
|
|
622
|
+
group: 'paint',
|
|
623
|
+
state: 'active',
|
|
624
|
+
introduced: '0.7.0',
|
|
625
|
+
description: 'Use for gray backgrounds when there is no meaning tied to the color, and the background needs to pass min 3:1 contrast requirements.'
|
|
626
|
+
}
|
|
627
|
+
}
|
|
560
628
|
}
|
|
561
629
|
}
|
|
562
630
|
}
|
|
@@ -9,6 +9,14 @@ var color = {
|
|
|
9
9
|
description: 'Use to visually group or separate UI elements, such as flat cards or side panel dividers.'
|
|
10
10
|
}
|
|
11
11
|
},
|
|
12
|
+
bold: {
|
|
13
|
+
attributes: {
|
|
14
|
+
group: 'paint',
|
|
15
|
+
state: 'active',
|
|
16
|
+
introduced: '0.10.8',
|
|
17
|
+
description: 'A neutral border option that passes min 3:1 contrast ratios.'
|
|
18
|
+
}
|
|
19
|
+
},
|
|
12
20
|
inverse: {
|
|
13
21
|
attributes: {
|
|
14
22
|
group: 'paint',
|
|
@@ -156,7 +156,7 @@ var color = {
|
|
|
156
156
|
deprecated: '0.7.0',
|
|
157
157
|
deleted: '0.8.0',
|
|
158
158
|
replacement: 'color.background.accent.blue.subtler',
|
|
159
|
-
description: 'Use for blue backgrounds when there is no meaning tied to the color, such as
|
|
159
|
+
description: 'Use for blue backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
160
160
|
}
|
|
161
161
|
},
|
|
162
162
|
bold: {
|
package/dist/esm/version.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Token names mapped to their value in the default Atlassian theme ('light')
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::65fed9d3a0df2e2c1ccee929e1349bb4>>
|
|
7
7
|
* @codegenCommand yarn build tokens
|
|
8
8
|
*/
|
|
9
9
|
declare const defaultTokenValues: {
|
|
@@ -23,6 +23,8 @@ declare const defaultTokenValues: {
|
|
|
23
23
|
readonly 'color.text.accent.teal.bolder': "#1D474C";
|
|
24
24
|
readonly 'color.text.accent.magenta': "#943D73";
|
|
25
25
|
readonly 'color.text.accent.magenta.bolder': "#50253F";
|
|
26
|
+
readonly 'color.text.accent.gray': "#44546F";
|
|
27
|
+
readonly 'color.text.accent.gray.bolder': "#172B4D";
|
|
26
28
|
readonly 'color.text': "#172B4D";
|
|
27
29
|
readonly 'color.text.subtle': "#44546F";
|
|
28
30
|
readonly 'color.text.subtlest': "#626F86";
|
|
@@ -51,6 +53,7 @@ declare const defaultTokenValues: {
|
|
|
51
53
|
readonly 'color.icon.accent.purple': "#8270DB";
|
|
52
54
|
readonly 'color.icon.accent.teal': "#1D9AAA";
|
|
53
55
|
readonly 'color.icon.accent.magenta': "#CD519D";
|
|
56
|
+
readonly 'color.icon.accent.gray': "#758195";
|
|
54
57
|
readonly 'color.icon': "#44546F";
|
|
55
58
|
readonly 'color.icon.subtle': "#626F86";
|
|
56
59
|
readonly 'color.icon.inverse': "#FFFFFF";
|
|
@@ -71,7 +74,9 @@ declare const defaultTokenValues: {
|
|
|
71
74
|
readonly 'color.border.accent.purple': "#8270DB";
|
|
72
75
|
readonly 'color.border.accent.teal': "#1D9AAA";
|
|
73
76
|
readonly 'color.border.accent.magenta': "#CD519D";
|
|
77
|
+
readonly 'color.border.accent.gray': "#758195";
|
|
74
78
|
readonly 'color.border': "#091E4224";
|
|
79
|
+
readonly 'color.border.bold': "#758195";
|
|
75
80
|
readonly 'color.border.inverse': "#FFFFFF";
|
|
76
81
|
readonly 'color.border.focused': "#388BFF";
|
|
77
82
|
readonly 'color.border.input': "#091E4224";
|
|
@@ -133,6 +138,10 @@ declare const defaultTokenValues: {
|
|
|
133
138
|
readonly 'color.background.accent.magenta.bolder': "#AE4787";
|
|
134
139
|
readonly 'color.background.accent.magenta': "#FDD0EC";
|
|
135
140
|
readonly 'color.background.accent.magenta.bold': "#E774BB";
|
|
141
|
+
readonly 'color.background.accent.gray.subtlest': "#F1F2F4";
|
|
142
|
+
readonly 'color.background.accent.gray.subtler': "#DCDFE4";
|
|
143
|
+
readonly 'color.background.accent.gray.subtle': "#8993A5";
|
|
144
|
+
readonly 'color.background.accent.gray.bolder': "#626F86";
|
|
136
145
|
readonly 'color.background.disabled': "#091E420F";
|
|
137
146
|
readonly 'color.background.inverse.subtle': "#00000029";
|
|
138
147
|
readonly 'color.background.inverse.subtle.hovered': "#0000003D";
|