@atlaskit/tokens 0.10.6 → 0.10.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/css/atlassian-dark.css +9 -1
- package/css/atlassian-light.css +9 -1
- package/dist/cjs/artifacts/token-default-values.js +9 -1
- package/dist/cjs/artifacts/token-names.js +9 -1
- package/dist/cjs/artifacts/tokens-raw/atlassian-dark.js +175 -7
- package/dist/cjs/artifacts/tokens-raw/atlassian-light.js +175 -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-light/color/accent.js +28 -0
- package/dist/cjs/tokens/default/color/accent.js +70 -2
- 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 +9 -1
- package/dist/es2019/artifacts/token-names.js +9 -1
- package/dist/es2019/artifacts/tokens-raw/atlassian-dark.js +175 -7
- package/dist/es2019/artifacts/tokens-raw/atlassian-light.js +175 -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-light/color/accent.js +28 -0
- package/dist/es2019/tokens/default/color/accent.js +70 -2
- 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 +9 -1
- package/dist/esm/artifacts/token-names.js +9 -1
- package/dist/esm/artifacts/tokens-raw/atlassian-dark.js +175 -7
- package/dist/esm/artifacts/tokens-raw/atlassian-light.js +175 -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-light/color/accent.js +28 -0
- package/dist/esm/tokens/default/color/accent.js +70 -2
- 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 +9 -1
- package/dist/types/artifacts/token-names.d.ts +17 -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 +12 -0
- package/package.json +1 -1
|
@@ -7,7 +7,7 @@ exports.default = void 0;
|
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
10
|
-
* @codegen <<SignedSource::
|
|
10
|
+
* @codegen <<SignedSource::9b6960398363032e220473a356d04712>>
|
|
11
11
|
* @codegenCommand yarn build tokens
|
|
12
12
|
*/
|
|
13
13
|
var tokens = [{
|
|
@@ -346,6 +346,48 @@ var tokens = [{
|
|
|
346
346
|
},
|
|
347
347
|
"name": "color.text.accent.magenta.bolder",
|
|
348
348
|
"path": ["color", "text", "accent", "magenta", "bolder"]
|
|
349
|
+
}, {
|
|
350
|
+
"attributes": {
|
|
351
|
+
"group": "paint",
|
|
352
|
+
"state": "active",
|
|
353
|
+
"introduced": "0.10.5",
|
|
354
|
+
"description": "Use for text on non-bold gray accent backgrounds, such as colored tags."
|
|
355
|
+
},
|
|
356
|
+
"value": "#44546F",
|
|
357
|
+
"filePath": "src/tokens/atlassian-light/color/accent.tsx",
|
|
358
|
+
"isSource": true,
|
|
359
|
+
"original": {
|
|
360
|
+
"attributes": {
|
|
361
|
+
"group": "paint",
|
|
362
|
+
"state": "active",
|
|
363
|
+
"introduced": "0.10.5",
|
|
364
|
+
"description": "Use for text on non-bold gray accent backgrounds, such as colored tags."
|
|
365
|
+
},
|
|
366
|
+
"value": "N800"
|
|
367
|
+
},
|
|
368
|
+
"name": "color.text.accent.gray.[default]",
|
|
369
|
+
"path": ["color", "text", "accent", "gray", "[default]"]
|
|
370
|
+
}, {
|
|
371
|
+
"attributes": {
|
|
372
|
+
"group": "paint",
|
|
373
|
+
"state": "active",
|
|
374
|
+
"introduced": "0.10.5",
|
|
375
|
+
"description": "Use for text and icons on gray subtle accent backgrounds."
|
|
376
|
+
},
|
|
377
|
+
"value": "#172B4D",
|
|
378
|
+
"filePath": "src/tokens/atlassian-light/color/accent.tsx",
|
|
379
|
+
"isSource": true,
|
|
380
|
+
"original": {
|
|
381
|
+
"attributes": {
|
|
382
|
+
"group": "paint",
|
|
383
|
+
"state": "active",
|
|
384
|
+
"introduced": "0.10.5",
|
|
385
|
+
"description": "Use for text and icons on gray subtle accent backgrounds."
|
|
386
|
+
},
|
|
387
|
+
"value": "N1000"
|
|
388
|
+
},
|
|
389
|
+
"name": "color.text.accent.gray.bolder",
|
|
390
|
+
"path": ["color", "text", "accent", "gray", "bolder"]
|
|
349
391
|
}, {
|
|
350
392
|
"attributes": {
|
|
351
393
|
"group": "paint",
|
|
@@ -976,6 +1018,27 @@ var tokens = [{
|
|
|
976
1018
|
},
|
|
977
1019
|
"name": "color.icon.accent.magenta",
|
|
978
1020
|
"path": ["color", "icon", "accent", "magenta"]
|
|
1021
|
+
}, {
|
|
1022
|
+
"attributes": {
|
|
1023
|
+
"group": "paint",
|
|
1024
|
+
"state": "active",
|
|
1025
|
+
"introduced": "0.10.5",
|
|
1026
|
+
"description": "Use for icons on non-bold gray accent backgrounds, such as file type icons."
|
|
1027
|
+
},
|
|
1028
|
+
"value": "#758195",
|
|
1029
|
+
"filePath": "src/tokens/atlassian-light/color/accent.tsx",
|
|
1030
|
+
"isSource": true,
|
|
1031
|
+
"original": {
|
|
1032
|
+
"attributes": {
|
|
1033
|
+
"group": "paint",
|
|
1034
|
+
"state": "active",
|
|
1035
|
+
"introduced": "0.10.5",
|
|
1036
|
+
"description": "Use for icons on non-bold gray accent backgrounds, such as file type icons."
|
|
1037
|
+
},
|
|
1038
|
+
"value": "N600"
|
|
1039
|
+
},
|
|
1040
|
+
"name": "color.icon.accent.gray",
|
|
1041
|
+
"path": ["color", "icon", "accent", "gray"]
|
|
979
1042
|
}, {
|
|
980
1043
|
"attributes": {
|
|
981
1044
|
"group": "paint",
|
|
@@ -1396,6 +1459,27 @@ var tokens = [{
|
|
|
1396
1459
|
},
|
|
1397
1460
|
"name": "color.border.accent.magenta",
|
|
1398
1461
|
"path": ["color", "border", "accent", "magenta"]
|
|
1462
|
+
}, {
|
|
1463
|
+
"attributes": {
|
|
1464
|
+
"group": "paint",
|
|
1465
|
+
"state": "active",
|
|
1466
|
+
"introduced": "0.10.5",
|
|
1467
|
+
"description": "Use for borders on non-bold gray accent backgrounds."
|
|
1468
|
+
},
|
|
1469
|
+
"value": "#758195",
|
|
1470
|
+
"filePath": "src/tokens/atlassian-light/color/accent.tsx",
|
|
1471
|
+
"isSource": true,
|
|
1472
|
+
"original": {
|
|
1473
|
+
"attributes": {
|
|
1474
|
+
"group": "paint",
|
|
1475
|
+
"state": "active",
|
|
1476
|
+
"introduced": "0.10.5",
|
|
1477
|
+
"description": "Use for borders on non-bold gray accent backgrounds."
|
|
1478
|
+
},
|
|
1479
|
+
"value": "N600"
|
|
1480
|
+
},
|
|
1481
|
+
"name": "color.border.accent.gray",
|
|
1482
|
+
"path": ["color", "border", "accent", "gray"]
|
|
1399
1483
|
}, {
|
|
1400
1484
|
"attributes": {
|
|
1401
1485
|
"group": "paint",
|
|
@@ -1728,7 +1812,7 @@ var tokens = [{
|
|
|
1728
1812
|
"group": "paint",
|
|
1729
1813
|
"state": "active",
|
|
1730
1814
|
"introduced": "0.7.0",
|
|
1731
|
-
"description": "Use for blue backgrounds when there is no meaning tied to the color, such as
|
|
1815
|
+
"description": "Use for blue backgrounds when there is no meaning tied to the color, such as colored tags."
|
|
1732
1816
|
},
|
|
1733
1817
|
"value": "#CCE0FF",
|
|
1734
1818
|
"filePath": "src/tokens/atlassian-light/color/accent.tsx",
|
|
@@ -1738,7 +1822,7 @@ var tokens = [{
|
|
|
1738
1822
|
"group": "paint",
|
|
1739
1823
|
"state": "active",
|
|
1740
1824
|
"introduced": "0.7.0",
|
|
1741
|
-
"description": "Use for blue backgrounds when there is no meaning tied to the color, such as
|
|
1825
|
+
"description": "Use for blue backgrounds when there is no meaning tied to the color, such as colored tags."
|
|
1742
1826
|
},
|
|
1743
1827
|
"value": "B200"
|
|
1744
1828
|
},
|
|
@@ -1749,7 +1833,7 @@ var tokens = [{
|
|
|
1749
1833
|
"group": "paint",
|
|
1750
1834
|
"state": "active",
|
|
1751
1835
|
"introduced": "0.7.0",
|
|
1752
|
-
"description": "Use for vibrant blue backgrounds when there is no meaning tied to the color, such as
|
|
1836
|
+
"description": "Use for vibrant blue backgrounds when there is no meaning tied to the color, such as colored tags."
|
|
1753
1837
|
},
|
|
1754
1838
|
"value": "#579DFF",
|
|
1755
1839
|
"filePath": "src/tokens/atlassian-light/color/accent.tsx",
|
|
@@ -1759,7 +1843,7 @@ var tokens = [{
|
|
|
1759
1843
|
"group": "paint",
|
|
1760
1844
|
"state": "active",
|
|
1761
1845
|
"introduced": "0.7.0",
|
|
1762
|
-
"description": "Use for vibrant blue backgrounds when there is no meaning tied to the color, such as
|
|
1846
|
+
"description": "Use for vibrant blue backgrounds when there is no meaning tied to the color, such as colored tags."
|
|
1763
1847
|
},
|
|
1764
1848
|
"value": "B400"
|
|
1765
1849
|
},
|
|
@@ -1794,7 +1878,7 @@ var tokens = [{
|
|
|
1794
1878
|
"deprecated": "0.7.0",
|
|
1795
1879
|
"deleted": "0.8.0",
|
|
1796
1880
|
"replacement": "color.background.accent.blue.subtler",
|
|
1797
|
-
"description": "Use for blue backgrounds when there is no meaning tied to the color, such as
|
|
1881
|
+
"description": "Use for blue backgrounds when there is no meaning tied to the color, such as colored tags."
|
|
1798
1882
|
},
|
|
1799
1883
|
"value": "#CCE0FF",
|
|
1800
1884
|
"filePath": "src/tokens/atlassian-light/deprecated/deprecated.tsx",
|
|
@@ -1807,7 +1891,7 @@ var tokens = [{
|
|
|
1807
1891
|
"deprecated": "0.7.0",
|
|
1808
1892
|
"deleted": "0.8.0",
|
|
1809
1893
|
"replacement": "color.background.accent.blue.subtler",
|
|
1810
|
-
"description": "Use for blue backgrounds when there is no meaning tied to the color, such as
|
|
1894
|
+
"description": "Use for blue backgrounds when there is no meaning tied to the color, such as colored tags."
|
|
1811
1895
|
},
|
|
1812
1896
|
"value": "B200"
|
|
1813
1897
|
},
|
|
@@ -2806,6 +2890,90 @@ var tokens = [{
|
|
|
2806
2890
|
},
|
|
2807
2891
|
"name": "color.background.accent.magenta.bold",
|
|
2808
2892
|
"path": ["color", "background", "accent", "magenta", "bold"]
|
|
2893
|
+
}, {
|
|
2894
|
+
"attributes": {
|
|
2895
|
+
"group": "paint",
|
|
2896
|
+
"state": "active",
|
|
2897
|
+
"introduced": "0.7.0",
|
|
2898
|
+
"description": "Use for gray backgrounds when there is no meaning tied to the color. Reserved for when you only want a hint of color."
|
|
2899
|
+
},
|
|
2900
|
+
"value": "#F1F2F4",
|
|
2901
|
+
"filePath": "src/tokens/atlassian-light/color/accent.tsx",
|
|
2902
|
+
"isSource": true,
|
|
2903
|
+
"original": {
|
|
2904
|
+
"attributes": {
|
|
2905
|
+
"group": "paint",
|
|
2906
|
+
"state": "active",
|
|
2907
|
+
"introduced": "0.7.0",
|
|
2908
|
+
"description": "Use for gray backgrounds when there is no meaning tied to the color. Reserved for when you only want a hint of color."
|
|
2909
|
+
},
|
|
2910
|
+
"value": "N200"
|
|
2911
|
+
},
|
|
2912
|
+
"name": "color.background.accent.gray.subtlest",
|
|
2913
|
+
"path": ["color", "background", "accent", "gray", "subtlest"]
|
|
2914
|
+
}, {
|
|
2915
|
+
"attributes": {
|
|
2916
|
+
"group": "paint",
|
|
2917
|
+
"state": "active",
|
|
2918
|
+
"introduced": "0.7.0",
|
|
2919
|
+
"description": "Use for gray backgrounds when there is no meaning tied to the color, such as colored tags."
|
|
2920
|
+
},
|
|
2921
|
+
"value": "#DCDFE4",
|
|
2922
|
+
"filePath": "src/tokens/atlassian-light/color/accent.tsx",
|
|
2923
|
+
"isSource": true,
|
|
2924
|
+
"original": {
|
|
2925
|
+
"attributes": {
|
|
2926
|
+
"group": "paint",
|
|
2927
|
+
"state": "active",
|
|
2928
|
+
"introduced": "0.7.0",
|
|
2929
|
+
"description": "Use for gray backgrounds when there is no meaning tied to the color, such as colored tags."
|
|
2930
|
+
},
|
|
2931
|
+
"value": "N300"
|
|
2932
|
+
},
|
|
2933
|
+
"name": "color.background.accent.gray.subtler",
|
|
2934
|
+
"path": ["color", "background", "accent", "gray", "subtler"]
|
|
2935
|
+
}, {
|
|
2936
|
+
"attributes": {
|
|
2937
|
+
"group": "paint",
|
|
2938
|
+
"state": "active",
|
|
2939
|
+
"introduced": "0.7.0",
|
|
2940
|
+
"description": "Use for vibrant gray backgrounds when there is no meaning tied to the color, such as colored tags."
|
|
2941
|
+
},
|
|
2942
|
+
"value": "#8993A5",
|
|
2943
|
+
"filePath": "src/tokens/atlassian-light/color/accent.tsx",
|
|
2944
|
+
"isSource": true,
|
|
2945
|
+
"original": {
|
|
2946
|
+
"attributes": {
|
|
2947
|
+
"group": "paint",
|
|
2948
|
+
"state": "active",
|
|
2949
|
+
"introduced": "0.7.0",
|
|
2950
|
+
"description": "Use for vibrant gray backgrounds when there is no meaning tied to the color, such as colored tags."
|
|
2951
|
+
},
|
|
2952
|
+
"value": "N500"
|
|
2953
|
+
},
|
|
2954
|
+
"name": "color.background.accent.gray.subtle",
|
|
2955
|
+
"path": ["color", "background", "accent", "gray", "subtle"]
|
|
2956
|
+
}, {
|
|
2957
|
+
"attributes": {
|
|
2958
|
+
"group": "paint",
|
|
2959
|
+
"state": "active",
|
|
2960
|
+
"introduced": "0.7.0",
|
|
2961
|
+
"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."
|
|
2962
|
+
},
|
|
2963
|
+
"value": "#626F86",
|
|
2964
|
+
"filePath": "src/tokens/atlassian-light/color/accent.tsx",
|
|
2965
|
+
"isSource": true,
|
|
2966
|
+
"original": {
|
|
2967
|
+
"attributes": {
|
|
2968
|
+
"group": "paint",
|
|
2969
|
+
"state": "active",
|
|
2970
|
+
"introduced": "0.7.0",
|
|
2971
|
+
"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."
|
|
2972
|
+
},
|
|
2973
|
+
"value": "N700"
|
|
2974
|
+
},
|
|
2975
|
+
"name": "color.background.accent.gray.bolder",
|
|
2976
|
+
"path": ["color", "background", "accent", "gray", "bolder"]
|
|
2809
2977
|
}, {
|
|
2810
2978
|
"attributes": {
|
|
2811
2979
|
"group": "paint",
|
package/dist/cjs/get-token.js
CHANGED
|
@@ -14,7 +14,7 @@ var _tokenNames = _interopRequireDefault(require("./artifacts/token-names"));
|
|
|
14
14
|
var _constants = require("./constants");
|
|
15
15
|
|
|
16
16
|
var name = "@atlaskit/tokens";
|
|
17
|
-
var version = "0.10.
|
|
17
|
+
var version = "0.10.7";
|
|
18
18
|
|
|
19
19
|
function token(path, fallback) {
|
|
20
20
|
var token = _tokenNames.default[path];
|
|
@@ -71,6 +71,14 @@ var color = {
|
|
|
71
71
|
bolder: {
|
|
72
72
|
value: 'M200'
|
|
73
73
|
}
|
|
74
|
+
},
|
|
75
|
+
gray: {
|
|
76
|
+
'[default]': {
|
|
77
|
+
value: 'DN800'
|
|
78
|
+
},
|
|
79
|
+
bolder: {
|
|
80
|
+
value: 'DN1000'
|
|
81
|
+
}
|
|
74
82
|
}
|
|
75
83
|
}
|
|
76
84
|
},
|
|
@@ -99,6 +107,9 @@ var color = {
|
|
|
99
107
|
},
|
|
100
108
|
magenta: {
|
|
101
109
|
value: 'M500'
|
|
110
|
+
},
|
|
111
|
+
gray: {
|
|
112
|
+
value: 'DN600'
|
|
102
113
|
}
|
|
103
114
|
}
|
|
104
115
|
},
|
|
@@ -127,6 +138,9 @@ var color = {
|
|
|
127
138
|
},
|
|
128
139
|
magenta: {
|
|
129
140
|
value: 'M500'
|
|
141
|
+
},
|
|
142
|
+
gray: {
|
|
143
|
+
value: 'DN600'
|
|
130
144
|
}
|
|
131
145
|
}
|
|
132
146
|
},
|
|
@@ -243,6 +257,20 @@ var color = {
|
|
|
243
257
|
bolder: {
|
|
244
258
|
value: 'M400'
|
|
245
259
|
}
|
|
260
|
+
},
|
|
261
|
+
gray: {
|
|
262
|
+
subtlest: {
|
|
263
|
+
value: 'DN300'
|
|
264
|
+
},
|
|
265
|
+
subtler: {
|
|
266
|
+
value: 'DN400'
|
|
267
|
+
},
|
|
268
|
+
subtle: {
|
|
269
|
+
value: 'DN500'
|
|
270
|
+
},
|
|
271
|
+
bolder: {
|
|
272
|
+
value: 'DN700'
|
|
273
|
+
}
|
|
246
274
|
}
|
|
247
275
|
}
|
|
248
276
|
}
|
|
@@ -71,6 +71,14 @@ var color = {
|
|
|
71
71
|
bolder: {
|
|
72
72
|
value: 'M900'
|
|
73
73
|
}
|
|
74
|
+
},
|
|
75
|
+
gray: {
|
|
76
|
+
'[default]': {
|
|
77
|
+
value: 'N800'
|
|
78
|
+
},
|
|
79
|
+
bolder: {
|
|
80
|
+
value: 'N1000'
|
|
81
|
+
}
|
|
74
82
|
}
|
|
75
83
|
}
|
|
76
84
|
},
|
|
@@ -99,6 +107,9 @@ var color = {
|
|
|
99
107
|
},
|
|
100
108
|
magenta: {
|
|
101
109
|
value: 'M600'
|
|
110
|
+
},
|
|
111
|
+
gray: {
|
|
112
|
+
value: 'N600'
|
|
102
113
|
}
|
|
103
114
|
}
|
|
104
115
|
},
|
|
@@ -127,6 +138,9 @@ var color = {
|
|
|
127
138
|
},
|
|
128
139
|
magenta: {
|
|
129
140
|
value: 'M600'
|
|
141
|
+
},
|
|
142
|
+
gray: {
|
|
143
|
+
value: 'N600'
|
|
130
144
|
}
|
|
131
145
|
}
|
|
132
146
|
},
|
|
@@ -243,6 +257,20 @@ var color = {
|
|
|
243
257
|
bolder: {
|
|
244
258
|
value: 'M700'
|
|
245
259
|
}
|
|
260
|
+
},
|
|
261
|
+
gray: {
|
|
262
|
+
subtlest: {
|
|
263
|
+
value: 'N200'
|
|
264
|
+
},
|
|
265
|
+
subtler: {
|
|
266
|
+
value: 'N300'
|
|
267
|
+
},
|
|
268
|
+
subtle: {
|
|
269
|
+
value: 'N500'
|
|
270
|
+
},
|
|
271
|
+
bolder: {
|
|
272
|
+
value: 'N700'
|
|
273
|
+
}
|
|
246
274
|
}
|
|
247
275
|
}
|
|
248
276
|
}
|
|
@@ -151,6 +151,24 @@ var color = {
|
|
|
151
151
|
description: 'Use on bold magenta accent backgrounds.'
|
|
152
152
|
}
|
|
153
153
|
}
|
|
154
|
+
},
|
|
155
|
+
gray: {
|
|
156
|
+
'[default]': {
|
|
157
|
+
attributes: {
|
|
158
|
+
group: 'paint',
|
|
159
|
+
state: 'active',
|
|
160
|
+
introduced: '0.10.5',
|
|
161
|
+
description: 'Use for text on non-bold gray accent backgrounds, such as colored tags.'
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
bolder: {
|
|
165
|
+
attributes: {
|
|
166
|
+
group: 'paint',
|
|
167
|
+
state: 'active',
|
|
168
|
+
introduced: '0.10.5',
|
|
169
|
+
description: 'Use for text and icons on gray subtle accent backgrounds.'
|
|
170
|
+
}
|
|
171
|
+
}
|
|
154
172
|
}
|
|
155
173
|
}
|
|
156
174
|
},
|
|
@@ -219,6 +237,14 @@ var color = {
|
|
|
219
237
|
introduced: '0.6.0',
|
|
220
238
|
description: 'Use for magenta icons on non-bold backgrounds when there is no meaning tied to the color, such as file type icons.'
|
|
221
239
|
}
|
|
240
|
+
},
|
|
241
|
+
gray: {
|
|
242
|
+
attributes: {
|
|
243
|
+
group: 'paint',
|
|
244
|
+
state: 'active',
|
|
245
|
+
introduced: '0.10.5',
|
|
246
|
+
description: 'Use for icons on non-bold gray accent backgrounds, such as file type icons.'
|
|
247
|
+
}
|
|
222
248
|
}
|
|
223
249
|
}
|
|
224
250
|
},
|
|
@@ -287,6 +313,14 @@ var color = {
|
|
|
287
313
|
introduced: '0.6.0',
|
|
288
314
|
description: 'Use for magenta borders on non-bold backgrounds when there is no meaning tied to the color.'
|
|
289
315
|
}
|
|
316
|
+
},
|
|
317
|
+
gray: {
|
|
318
|
+
attributes: {
|
|
319
|
+
group: 'paint',
|
|
320
|
+
state: 'active',
|
|
321
|
+
introduced: '0.10.5',
|
|
322
|
+
description: 'Use for borders on non-bold gray accent backgrounds.'
|
|
323
|
+
}
|
|
290
324
|
}
|
|
291
325
|
}
|
|
292
326
|
},
|
|
@@ -306,7 +340,7 @@ var color = {
|
|
|
306
340
|
group: 'paint',
|
|
307
341
|
state: 'active',
|
|
308
342
|
introduced: '0.7.0',
|
|
309
|
-
description: 'Use for blue backgrounds when there is no meaning tied to the color, such as
|
|
343
|
+
description: 'Use for blue backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
310
344
|
}
|
|
311
345
|
},
|
|
312
346
|
subtle: {
|
|
@@ -314,7 +348,7 @@ var color = {
|
|
|
314
348
|
group: 'paint',
|
|
315
349
|
state: 'active',
|
|
316
350
|
introduced: '0.7.0',
|
|
317
|
-
description: 'Use for vibrant blue backgrounds when there is no meaning tied to the color, such as
|
|
351
|
+
description: 'Use for vibrant blue backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
318
352
|
}
|
|
319
353
|
},
|
|
320
354
|
bolder: {
|
|
@@ -563,6 +597,40 @@ var color = {
|
|
|
563
597
|
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.'
|
|
564
598
|
}
|
|
565
599
|
}
|
|
600
|
+
},
|
|
601
|
+
gray: {
|
|
602
|
+
subtlest: {
|
|
603
|
+
attributes: {
|
|
604
|
+
group: 'paint',
|
|
605
|
+
state: 'active',
|
|
606
|
+
introduced: '0.7.0',
|
|
607
|
+
description: 'Use for gray backgrounds when there is no meaning tied to the color. Reserved for when you only want a hint of color.'
|
|
608
|
+
}
|
|
609
|
+
},
|
|
610
|
+
subtler: {
|
|
611
|
+
attributes: {
|
|
612
|
+
group: 'paint',
|
|
613
|
+
state: 'active',
|
|
614
|
+
introduced: '0.7.0',
|
|
615
|
+
description: 'Use for gray backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
616
|
+
}
|
|
617
|
+
},
|
|
618
|
+
subtle: {
|
|
619
|
+
attributes: {
|
|
620
|
+
group: 'paint',
|
|
621
|
+
state: 'active',
|
|
622
|
+
introduced: '0.7.0',
|
|
623
|
+
description: 'Use for vibrant gray backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
624
|
+
}
|
|
625
|
+
},
|
|
626
|
+
bolder: {
|
|
627
|
+
attributes: {
|
|
628
|
+
group: 'paint',
|
|
629
|
+
state: 'active',
|
|
630
|
+
introduced: '0.7.0',
|
|
631
|
+
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.'
|
|
632
|
+
}
|
|
633
|
+
}
|
|
566
634
|
}
|
|
567
635
|
}
|
|
568
636
|
}
|
|
@@ -162,7 +162,7 @@ var color = {
|
|
|
162
162
|
deprecated: '0.7.0',
|
|
163
163
|
deleted: '0.8.0',
|
|
164
164
|
replacement: 'color.background.accent.blue.subtler',
|
|
165
|
-
description: 'Use for blue backgrounds when there is no meaning tied to the color, such as
|
|
165
|
+
description: 'Use for blue backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
166
166
|
}
|
|
167
167
|
},
|
|
168
168
|
bold: {
|
package/dist/cjs/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::a819b31f00d394be417445acd67bd024>>
|
|
7
7
|
* @codegenCommand yarn build tokens
|
|
8
8
|
*/
|
|
9
9
|
const defaultTokenValues = {
|
|
@@ -23,6 +23,8 @@ const defaultTokenValues = {
|
|
|
23
23
|
'color.text.accent.teal.bolder': '#1D474C',
|
|
24
24
|
'color.text.accent.magenta': '#943D73',
|
|
25
25
|
'color.text.accent.magenta.bolder': '#50253F',
|
|
26
|
+
'color.text.accent.gray': '#44546F',
|
|
27
|
+
'color.text.accent.gray.bolder': '#172B4D',
|
|
26
28
|
'color.text': '#172B4D',
|
|
27
29
|
'color.text.subtle': '#44546F',
|
|
28
30
|
'color.text.subtlest': '#626F86',
|
|
@@ -51,6 +53,7 @@ const defaultTokenValues = {
|
|
|
51
53
|
'color.icon.accent.purple': '#8270DB',
|
|
52
54
|
'color.icon.accent.teal': '#1D9AAA',
|
|
53
55
|
'color.icon.accent.magenta': '#CD519D',
|
|
56
|
+
'color.icon.accent.gray': '#758195',
|
|
54
57
|
'color.icon': '#44546F',
|
|
55
58
|
'color.icon.subtle': '#626F86',
|
|
56
59
|
'color.icon.inverse': '#FFFFFF',
|
|
@@ -71,6 +74,7 @@ const defaultTokenValues = {
|
|
|
71
74
|
'color.border.accent.purple': '#8270DB',
|
|
72
75
|
'color.border.accent.teal': '#1D9AAA',
|
|
73
76
|
'color.border.accent.magenta': '#CD519D',
|
|
77
|
+
'color.border.accent.gray': '#758195',
|
|
74
78
|
'color.border': '#091E4224',
|
|
75
79
|
'color.border.inverse': '#FFFFFF',
|
|
76
80
|
'color.border.focused': '#388BFF',
|
|
@@ -133,6 +137,10 @@ const defaultTokenValues = {
|
|
|
133
137
|
'color.background.accent.magenta.bolder': '#AE4787',
|
|
134
138
|
'color.background.accent.magenta': '#FDD0EC',
|
|
135
139
|
'color.background.accent.magenta.bold': '#E774BB',
|
|
140
|
+
'color.background.accent.gray.subtlest': '#F1F2F4',
|
|
141
|
+
'color.background.accent.gray.subtler': '#DCDFE4',
|
|
142
|
+
'color.background.accent.gray.subtle': '#8993A5',
|
|
143
|
+
'color.background.accent.gray.bolder': '#626F86',
|
|
136
144
|
'color.background.disabled': '#091E420F',
|
|
137
145
|
'color.background.inverse.subtle': '#00000029',
|
|
138
146
|
'color.background.inverse.subtle.hovered': '#0000003D',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::b251fc1793ba7f689b4c3707310c1556>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
const tokens = {
|
|
@@ -20,6 +20,8 @@ const tokens = {
|
|
|
20
20
|
'color.text.accent.teal.bolder': '--ds-text-accent-teal-bolder',
|
|
21
21
|
'color.text.accent.magenta': '--ds-text-accent-magenta',
|
|
22
22
|
'color.text.accent.magenta.bolder': '--ds-text-accent-magenta-bolder',
|
|
23
|
+
'color.text.accent.gray': '--ds-text-accent-gray',
|
|
24
|
+
'color.text.accent.gray.bolder': '--ds-text-accent-gray-bolder',
|
|
23
25
|
'color.text': '--ds-text',
|
|
24
26
|
'color.text.subtle': '--ds-text-subtle',
|
|
25
27
|
'color.text.subtlest': '--ds-text-subtlest',
|
|
@@ -48,6 +50,7 @@ const tokens = {
|
|
|
48
50
|
'color.icon.accent.purple': '--ds-icon-accent-purple',
|
|
49
51
|
'color.icon.accent.teal': '--ds-icon-accent-teal',
|
|
50
52
|
'color.icon.accent.magenta': '--ds-icon-accent-magenta',
|
|
53
|
+
'color.icon.accent.gray': '--ds-icon-accent-gray',
|
|
51
54
|
'color.icon': '--ds-icon',
|
|
52
55
|
'color.icon.subtle': '--ds-icon-subtle',
|
|
53
56
|
'color.icon.inverse': '--ds-icon-inverse',
|
|
@@ -68,6 +71,7 @@ const tokens = {
|
|
|
68
71
|
'color.border.accent.purple': '--ds-border-accent-purple',
|
|
69
72
|
'color.border.accent.teal': '--ds-border-accent-teal',
|
|
70
73
|
'color.border.accent.magenta': '--ds-border-accent-magenta',
|
|
74
|
+
'color.border.accent.gray': '--ds-border-accent-gray',
|
|
71
75
|
'color.border': '--ds-border',
|
|
72
76
|
'color.border.inverse': '--ds-border-inverse',
|
|
73
77
|
'color.border.focused': '--ds-border-focused',
|
|
@@ -130,6 +134,10 @@ const tokens = {
|
|
|
130
134
|
'color.background.accent.magenta.bolder': '--ds-background-accent-magenta-bolder',
|
|
131
135
|
'color.background.accent.magenta': '--ds-background-accent-magenta',
|
|
132
136
|
'color.background.accent.magenta.bold': '--ds-background-accent-magenta-bold',
|
|
137
|
+
'color.background.accent.gray.subtlest': '--ds-background-accent-gray-subtlest',
|
|
138
|
+
'color.background.accent.gray.subtler': '--ds-background-accent-gray-subtler',
|
|
139
|
+
'color.background.accent.gray.subtle': '--ds-background-accent-gray-subtle',
|
|
140
|
+
'color.background.accent.gray.bolder': '--ds-background-accent-gray-bolder',
|
|
133
141
|
'color.background.disabled': '--ds-background-disabled',
|
|
134
142
|
'color.background.inverse.subtle': '--ds-background-inverse-subtle',
|
|
135
143
|
'color.background.inverse.subtle.hovered': '--ds-background-inverse-subtle-hovered',
|