@atlaskit/tokens 0.6.3 → 0.7.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 +26 -0
- package/css/atlassian-dark.css +43 -3
- package/css/atlassian-light.css +40 -0
- package/dist/cjs/artifacts/rename-mapping.js +77 -13
- package/dist/cjs/artifacts/token-default-values.js +40 -0
- package/dist/cjs/artifacts/token-names.js +40 -0
- package/dist/cjs/artifacts/tokens-raw/atlassian-dark.js +936 -144
- package/dist/cjs/artifacts/tokens-raw/atlassian-light.js +922 -130
- package/dist/cjs/figma/synchronize-figma-tokens.js +34 -9
- package/dist/cjs/get-token.js +1 -1
- package/dist/cjs/tokens/atlassian-dark/color/accent.js +120 -32
- package/dist/cjs/tokens/atlassian-dark/deprecated/deprecated.js +69 -3
- package/dist/cjs/tokens/atlassian-light/color/accent.js +112 -24
- package/dist/cjs/tokens/atlassian-light/deprecated/deprecated.js +66 -0
- package/dist/cjs/tokens/default/color/accent.js +234 -50
- package/dist/cjs/tokens/default/deprecated/deprecated.js +159 -13
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/artifacts/rename-mapping.js +77 -13
- package/dist/es2019/artifacts/token-default-values.js +40 -0
- package/dist/es2019/artifacts/token-names.js +40 -0
- package/dist/es2019/artifacts/tokens-raw/atlassian-dark.js +936 -144
- package/dist/es2019/artifacts/tokens-raw/atlassian-light.js +922 -130
- package/dist/es2019/figma/synchronize-figma-tokens.js +32 -9
- package/dist/es2019/get-token.js +1 -1
- package/dist/es2019/tokens/atlassian-dark/color/accent.js +120 -32
- package/dist/es2019/tokens/atlassian-dark/deprecated/deprecated.js +69 -3
- package/dist/es2019/tokens/atlassian-light/color/accent.js +112 -24
- package/dist/es2019/tokens/atlassian-light/deprecated/deprecated.js +66 -0
- package/dist/es2019/tokens/default/color/accent.js +234 -50
- package/dist/es2019/tokens/default/deprecated/deprecated.js +159 -13
- package/dist/es2019/version.json +1 -1
- package/dist/esm/artifacts/rename-mapping.js +77 -13
- package/dist/esm/artifacts/token-default-values.js +40 -0
- package/dist/esm/artifacts/token-names.js +40 -0
- package/dist/esm/artifacts/tokens-raw/atlassian-dark.js +936 -144
- package/dist/esm/artifacts/tokens-raw/atlassian-light.js +922 -130
- package/dist/esm/figma/synchronize-figma-tokens.js +34 -9
- package/dist/esm/get-token.js +1 -1
- package/dist/esm/tokens/atlassian-dark/color/accent.js +120 -32
- package/dist/esm/tokens/atlassian-dark/deprecated/deprecated.js +69 -3
- package/dist/esm/tokens/atlassian-light/color/accent.js +112 -24
- package/dist/esm/tokens/atlassian-light/deprecated/deprecated.js +66 -0
- package/dist/esm/tokens/default/color/accent.js +234 -50
- package/dist/esm/tokens/default/deprecated/deprecated.js +159 -13
- package/dist/esm/version.json +1 -1
- package/dist/types/artifacts/token-default-values.d.ts +40 -0
- package/dist/types/artifacts/token-names.d.ts +80 -0
- package/dist/types/artifacts/types-internal.d.ts +1 -1
- package/dist/types/artifacts/types.d.ts +1 -1
- package/dist/types/figma/synchronize-figma-tokens.d.ts +9 -1
- package/dist/types/tokens/default/utility/utility.d.ts +10 -10
- package/dist/types/types.d.ts +98 -24
- package/package.json +1 -1
|
@@ -11,7 +11,7 @@ var color = {
|
|
|
11
11
|
attributes: {
|
|
12
12
|
group: 'paint',
|
|
13
13
|
state: 'deprecated',
|
|
14
|
-
replacement: 'color.background.accent.blue.
|
|
14
|
+
replacement: 'color.background.accent.blue.bolder',
|
|
15
15
|
description: 'Use for blue backgrounds of stronger emphasis when there is no meaning tied to the color, such as bold tags.'
|
|
16
16
|
}
|
|
17
17
|
},
|
|
@@ -19,7 +19,7 @@ var color = {
|
|
|
19
19
|
attributes: {
|
|
20
20
|
group: 'paint',
|
|
21
21
|
state: 'deprecated',
|
|
22
|
-
replacement: 'color.background.accent.green.
|
|
22
|
+
replacement: 'color.background.accent.green.bolder',
|
|
23
23
|
description: 'Use for green backgrounds of stronger emphasis when there is no meaning tied to the color, such as bold tags.'
|
|
24
24
|
}
|
|
25
25
|
},
|
|
@@ -27,7 +27,7 @@ var color = {
|
|
|
27
27
|
attributes: {
|
|
28
28
|
group: 'paint',
|
|
29
29
|
state: 'deprecated',
|
|
30
|
-
replacement: 'color.background.accent.orange.
|
|
30
|
+
replacement: 'color.background.accent.orange.bolder',
|
|
31
31
|
description: 'Use for orange backgrounds of stronger emphasis when there is no meaning tied to the color, such as bold tags.'
|
|
32
32
|
}
|
|
33
33
|
},
|
|
@@ -35,7 +35,7 @@ var color = {
|
|
|
35
35
|
attributes: {
|
|
36
36
|
group: 'paint',
|
|
37
37
|
state: 'deprecated',
|
|
38
|
-
replacement: 'color.background.accent.purple.
|
|
38
|
+
replacement: 'color.background.accent.purple.bolder',
|
|
39
39
|
description: 'Use for purple backgrounds of stronger emphasis when there is no meaning tied to the color, such as bold tags.'
|
|
40
40
|
}
|
|
41
41
|
},
|
|
@@ -43,7 +43,7 @@ var color = {
|
|
|
43
43
|
attributes: {
|
|
44
44
|
group: 'paint',
|
|
45
45
|
state: 'deprecated',
|
|
46
|
-
replacement: 'color.background.accent.red.
|
|
46
|
+
replacement: 'color.background.accent.red.bolder',
|
|
47
47
|
description: 'Use for red backgrounds of stronger emphasis when there is no meaning tied to the color, such as bold tags.'
|
|
48
48
|
}
|
|
49
49
|
},
|
|
@@ -51,7 +51,7 @@ var color = {
|
|
|
51
51
|
attributes: {
|
|
52
52
|
group: 'paint',
|
|
53
53
|
state: 'deprecated',
|
|
54
|
-
replacement: 'color.background.accent.teal.
|
|
54
|
+
replacement: 'color.background.accent.teal.bolder',
|
|
55
55
|
description: 'Use for teal backgrounds of stronger emphasis when there is no meaning tied to the color, such as bold tags.'
|
|
56
56
|
}
|
|
57
57
|
},
|
|
@@ -59,7 +59,7 @@ var color = {
|
|
|
59
59
|
attributes: {
|
|
60
60
|
group: 'paint',
|
|
61
61
|
state: 'deprecated',
|
|
62
|
-
replacement: 'color.background.accent.blue.
|
|
62
|
+
replacement: 'color.background.accent.blue.subtler',
|
|
63
63
|
description: 'Use for blue subdued backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
64
64
|
}
|
|
65
65
|
},
|
|
@@ -67,7 +67,7 @@ var color = {
|
|
|
67
67
|
attributes: {
|
|
68
68
|
group: 'paint',
|
|
69
69
|
state: 'deprecated',
|
|
70
|
-
replacement: 'color.background.accent.green.
|
|
70
|
+
replacement: 'color.background.accent.green.subtler',
|
|
71
71
|
description: 'Use for green subdued backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
72
72
|
}
|
|
73
73
|
},
|
|
@@ -75,7 +75,7 @@ var color = {
|
|
|
75
75
|
attributes: {
|
|
76
76
|
group: 'paint',
|
|
77
77
|
state: 'deprecated',
|
|
78
|
-
replacement: 'color.background.accent.magenta.
|
|
78
|
+
replacement: 'color.background.accent.magenta.subtler',
|
|
79
79
|
description: 'Use for magenta subdued backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
80
80
|
}
|
|
81
81
|
},
|
|
@@ -83,7 +83,7 @@ var color = {
|
|
|
83
83
|
attributes: {
|
|
84
84
|
group: 'paint',
|
|
85
85
|
state: 'deprecated',
|
|
86
|
-
replacement: 'color.background.accent.orange.
|
|
86
|
+
replacement: 'color.background.accent.orange.subtler',
|
|
87
87
|
description: 'Use for orange subdued backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
88
88
|
}
|
|
89
89
|
},
|
|
@@ -91,7 +91,7 @@ var color = {
|
|
|
91
91
|
attributes: {
|
|
92
92
|
group: 'paint',
|
|
93
93
|
state: 'deprecated',
|
|
94
|
-
replacement: 'color.background.accent.purple.
|
|
94
|
+
replacement: 'color.background.accent.purple.subtler',
|
|
95
95
|
description: 'Use for purple subdued backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
96
96
|
}
|
|
97
97
|
},
|
|
@@ -99,7 +99,7 @@ var color = {
|
|
|
99
99
|
attributes: {
|
|
100
100
|
group: 'paint',
|
|
101
101
|
state: 'deprecated',
|
|
102
|
-
replacement: 'color.background.accent.red.
|
|
102
|
+
replacement: 'color.background.accent.red.subtler',
|
|
103
103
|
description: 'Use for red subdued backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
104
104
|
}
|
|
105
105
|
},
|
|
@@ -107,12 +107,158 @@ var color = {
|
|
|
107
107
|
attributes: {
|
|
108
108
|
group: 'paint',
|
|
109
109
|
state: 'deprecated',
|
|
110
|
-
replacement: 'color.background.accent.teal.
|
|
110
|
+
replacement: 'color.background.accent.teal.subtler',
|
|
111
111
|
description: 'Use for teal subdued backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
114
|
},
|
|
115
115
|
background: {
|
|
116
|
+
accent: {
|
|
117
|
+
blue: {
|
|
118
|
+
'[default]': {
|
|
119
|
+
attributes: {
|
|
120
|
+
group: 'paint',
|
|
121
|
+
state: 'deprecated',
|
|
122
|
+
replacement: 'color.background.accent.blue.subtler',
|
|
123
|
+
description: 'Use for blue backgrounds when there is no meaning tied to the color, such as coloured tags.'
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
bold: {
|
|
127
|
+
attributes: {
|
|
128
|
+
group: 'paint',
|
|
129
|
+
state: 'deprecated',
|
|
130
|
+
replacement: 'color.background.accent.blue.subtle',
|
|
131
|
+
description: 'Use for blue backgrounds when there is no meaning tied to the color, and the background needs to pass min 3:1 contrast requirements.'
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
red: {
|
|
136
|
+
'[default]': {
|
|
137
|
+
attributes: {
|
|
138
|
+
group: 'paint',
|
|
139
|
+
state: 'deprecated',
|
|
140
|
+
replacement: 'color.background.accent.red.subtler',
|
|
141
|
+
description: 'Use for red backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
bold: {
|
|
145
|
+
attributes: {
|
|
146
|
+
group: 'paint',
|
|
147
|
+
state: 'deprecated',
|
|
148
|
+
replacement: 'color.background.accent.red.subtle',
|
|
149
|
+
description: 'Use for red backgrounds when there is no meaning tied to the color, and the background needs to pass min 3:1 contrast requirements.'
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
orange: {
|
|
154
|
+
'[default]': {
|
|
155
|
+
attributes: {
|
|
156
|
+
group: 'paint',
|
|
157
|
+
state: 'deprecated',
|
|
158
|
+
replacement: 'color.background.accent.orange.subtler',
|
|
159
|
+
description: 'Use for orange backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
bold: {
|
|
163
|
+
attributes: {
|
|
164
|
+
group: 'paint',
|
|
165
|
+
state: 'deprecated',
|
|
166
|
+
replacement: 'color.background.accent.orange.subtle',
|
|
167
|
+
description: 'Use for orange backgrounds when there is no meaning tied to the color, and the background needs to pass min 3:1 contrast requirements.'
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
yellow: {
|
|
172
|
+
'[default]': {
|
|
173
|
+
attributes: {
|
|
174
|
+
group: 'paint',
|
|
175
|
+
state: 'deprecated',
|
|
176
|
+
replacement: 'color.background.accent.yellow.subtler',
|
|
177
|
+
description: 'Use for yellow backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
178
|
+
}
|
|
179
|
+
},
|
|
180
|
+
bold: {
|
|
181
|
+
attributes: {
|
|
182
|
+
group: 'paint',
|
|
183
|
+
state: 'deprecated',
|
|
184
|
+
replacement: 'color.background.accent.yellow.subtle',
|
|
185
|
+
description: 'Use for yellow backgrounds when there is no meaning tied to the color, and the background needs to pass min 3:1 contrast requirements.'
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
green: {
|
|
190
|
+
'[default]': {
|
|
191
|
+
attributes: {
|
|
192
|
+
group: 'paint',
|
|
193
|
+
state: 'deprecated',
|
|
194
|
+
replacement: 'color.background.accent.green.subtler',
|
|
195
|
+
description: 'Use for green backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
bold: {
|
|
199
|
+
attributes: {
|
|
200
|
+
group: 'paint',
|
|
201
|
+
state: 'deprecated',
|
|
202
|
+
replacement: 'color.background.accent.green.subtle',
|
|
203
|
+
description: 'Use for green backgrounds when there is no meaning tied to the color, and the background needs to pass min 3:1 contrast requirements.'
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
},
|
|
207
|
+
teal: {
|
|
208
|
+
'[default]': {
|
|
209
|
+
attributes: {
|
|
210
|
+
group: 'paint',
|
|
211
|
+
state: 'deprecated',
|
|
212
|
+
replacement: 'color.background.accent.teal.subtler',
|
|
213
|
+
description: 'Use for teal backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
214
|
+
}
|
|
215
|
+
},
|
|
216
|
+
bold: {
|
|
217
|
+
attributes: {
|
|
218
|
+
group: 'paint',
|
|
219
|
+
state: 'deprecated',
|
|
220
|
+
replacement: 'color.background.accent.teal.subtle',
|
|
221
|
+
description: 'Use for teal backgrounds when there is no meaning tied to the color, and the background needs to pass min 3:1 contrast requirements.'
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
purple: {
|
|
226
|
+
'[default]': {
|
|
227
|
+
attributes: {
|
|
228
|
+
group: 'paint',
|
|
229
|
+
state: 'deprecated',
|
|
230
|
+
replacement: 'color.background.accent.purple.subtler',
|
|
231
|
+
description: 'Use for purple backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
232
|
+
}
|
|
233
|
+
},
|
|
234
|
+
bold: {
|
|
235
|
+
attributes: {
|
|
236
|
+
group: 'paint',
|
|
237
|
+
state: 'deprecated',
|
|
238
|
+
replacement: 'color.background.accent.purple.subtle',
|
|
239
|
+
description: 'Use for purple backgrounds when there is no meaning tied to the color, and the background needs to pass min 3:1 contrast requirements.'
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
},
|
|
243
|
+
magenta: {
|
|
244
|
+
'[default]': {
|
|
245
|
+
attributes: {
|
|
246
|
+
group: 'paint',
|
|
247
|
+
state: 'deprecated',
|
|
248
|
+
replacement: 'color.background.accent.magenta.subtler',
|
|
249
|
+
description: 'Use for magenta backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
250
|
+
}
|
|
251
|
+
},
|
|
252
|
+
bold: {
|
|
253
|
+
attributes: {
|
|
254
|
+
group: 'paint',
|
|
255
|
+
state: 'deprecated',
|
|
256
|
+
replacement: 'color.background.accent.magenta.subtle',
|
|
257
|
+
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.'
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
},
|
|
116
262
|
blanket: {
|
|
117
263
|
attributes: {
|
|
118
264
|
group: 'paint',
|
package/dist/cjs/version.json
CHANGED
|
@@ -48,6 +48,70 @@ const renameMapper = [{
|
|
|
48
48
|
"path": "color.border.neutral",
|
|
49
49
|
"state": "deprecated",
|
|
50
50
|
"replacement": "color.border.[default]"
|
|
51
|
+
}, {
|
|
52
|
+
"path": "color.background.accent.blue.[default]",
|
|
53
|
+
"state": "deprecated",
|
|
54
|
+
"replacement": "color.background.accent.blue.subtler"
|
|
55
|
+
}, {
|
|
56
|
+
"path": "color.background.accent.blue.bold",
|
|
57
|
+
"state": "deprecated",
|
|
58
|
+
"replacement": "color.background.accent.blue.subtle"
|
|
59
|
+
}, {
|
|
60
|
+
"path": "color.background.accent.red.[default]",
|
|
61
|
+
"state": "deprecated",
|
|
62
|
+
"replacement": "color.background.accent.red.subtler"
|
|
63
|
+
}, {
|
|
64
|
+
"path": "color.background.accent.red.bold",
|
|
65
|
+
"state": "deprecated",
|
|
66
|
+
"replacement": "color.background.accent.red.subtle"
|
|
67
|
+
}, {
|
|
68
|
+
"path": "color.background.accent.orange.[default]",
|
|
69
|
+
"state": "deprecated",
|
|
70
|
+
"replacement": "color.background.accent.orange.subtler"
|
|
71
|
+
}, {
|
|
72
|
+
"path": "color.background.accent.orange.bold",
|
|
73
|
+
"state": "deprecated",
|
|
74
|
+
"replacement": "color.background.accent.orange.subtle"
|
|
75
|
+
}, {
|
|
76
|
+
"path": "color.background.accent.yellow.[default]",
|
|
77
|
+
"state": "deprecated",
|
|
78
|
+
"replacement": "color.background.accent.yellow.subtler"
|
|
79
|
+
}, {
|
|
80
|
+
"path": "color.background.accent.yellow.bold",
|
|
81
|
+
"state": "deprecated",
|
|
82
|
+
"replacement": "color.background.accent.yellow.subtle"
|
|
83
|
+
}, {
|
|
84
|
+
"path": "color.background.accent.green.[default]",
|
|
85
|
+
"state": "deprecated",
|
|
86
|
+
"replacement": "color.background.accent.green.subtler"
|
|
87
|
+
}, {
|
|
88
|
+
"path": "color.background.accent.green.bold",
|
|
89
|
+
"state": "deprecated",
|
|
90
|
+
"replacement": "color.background.accent.green.subtle"
|
|
91
|
+
}, {
|
|
92
|
+
"path": "color.background.accent.teal.[default]",
|
|
93
|
+
"state": "deprecated",
|
|
94
|
+
"replacement": "color.background.accent.teal.subtler"
|
|
95
|
+
}, {
|
|
96
|
+
"path": "color.background.accent.teal.bold",
|
|
97
|
+
"state": "deprecated",
|
|
98
|
+
"replacement": "color.background.accent.teal.subtle"
|
|
99
|
+
}, {
|
|
100
|
+
"path": "color.background.accent.purple.[default]",
|
|
101
|
+
"state": "deprecated",
|
|
102
|
+
"replacement": "color.background.accent.purple.subtler"
|
|
103
|
+
}, {
|
|
104
|
+
"path": "color.background.accent.purple.bold",
|
|
105
|
+
"state": "deprecated",
|
|
106
|
+
"replacement": "color.background.accent.purple.subtle"
|
|
107
|
+
}, {
|
|
108
|
+
"path": "color.background.accent.magenta.[default]",
|
|
109
|
+
"state": "deprecated",
|
|
110
|
+
"replacement": "color.background.accent.magenta.subtler"
|
|
111
|
+
}, {
|
|
112
|
+
"path": "color.background.accent.magenta.bold",
|
|
113
|
+
"state": "deprecated",
|
|
114
|
+
"replacement": "color.background.accent.magenta.subtle"
|
|
51
115
|
}, {
|
|
52
116
|
"path": "color.background.brand.[default].[default]",
|
|
53
117
|
"state": "deprecated",
|
|
@@ -251,55 +315,55 @@ const renameMapper = [{
|
|
|
251
315
|
}, {
|
|
252
316
|
"path": "color.accent.boldBlue",
|
|
253
317
|
"state": "deprecated",
|
|
254
|
-
"replacement": "color.background.accent.blue.
|
|
318
|
+
"replacement": "color.background.accent.blue.bolder"
|
|
255
319
|
}, {
|
|
256
320
|
"path": "color.accent.boldGreen",
|
|
257
321
|
"state": "deprecated",
|
|
258
|
-
"replacement": "color.background.accent.green.
|
|
322
|
+
"replacement": "color.background.accent.green.bolder"
|
|
259
323
|
}, {
|
|
260
324
|
"path": "color.accent.boldOrange",
|
|
261
325
|
"state": "deprecated",
|
|
262
|
-
"replacement": "color.background.accent.orange.
|
|
326
|
+
"replacement": "color.background.accent.orange.bolder"
|
|
263
327
|
}, {
|
|
264
328
|
"path": "color.accent.boldPurple",
|
|
265
329
|
"state": "deprecated",
|
|
266
|
-
"replacement": "color.background.accent.purple.
|
|
330
|
+
"replacement": "color.background.accent.purple.bolder"
|
|
267
331
|
}, {
|
|
268
332
|
"path": "color.accent.boldRed",
|
|
269
333
|
"state": "deprecated",
|
|
270
|
-
"replacement": "color.background.accent.red.
|
|
334
|
+
"replacement": "color.background.accent.red.bolder"
|
|
271
335
|
}, {
|
|
272
336
|
"path": "color.accent.boldTeal",
|
|
273
337
|
"state": "deprecated",
|
|
274
|
-
"replacement": "color.background.accent.teal.
|
|
338
|
+
"replacement": "color.background.accent.teal.bolder"
|
|
275
339
|
}, {
|
|
276
340
|
"path": "color.accent.subtleBlue",
|
|
277
341
|
"state": "deprecated",
|
|
278
|
-
"replacement": "color.background.accent.blue.
|
|
342
|
+
"replacement": "color.background.accent.blue.subtler"
|
|
279
343
|
}, {
|
|
280
344
|
"path": "color.accent.subtleGreen",
|
|
281
345
|
"state": "deprecated",
|
|
282
|
-
"replacement": "color.background.accent.green.
|
|
346
|
+
"replacement": "color.background.accent.green.subtler"
|
|
283
347
|
}, {
|
|
284
348
|
"path": "color.accent.subtleMagenta",
|
|
285
349
|
"state": "deprecated",
|
|
286
|
-
"replacement": "color.background.accent.magenta.
|
|
350
|
+
"replacement": "color.background.accent.magenta.subtler"
|
|
287
351
|
}, {
|
|
288
352
|
"path": "color.accent.subtleOrange",
|
|
289
353
|
"state": "deprecated",
|
|
290
|
-
"replacement": "color.background.accent.orange.
|
|
354
|
+
"replacement": "color.background.accent.orange.subtler"
|
|
291
355
|
}, {
|
|
292
356
|
"path": "color.accent.subtlePurple",
|
|
293
357
|
"state": "deprecated",
|
|
294
|
-
"replacement": "color.background.accent.purple.
|
|
358
|
+
"replacement": "color.background.accent.purple.subtler"
|
|
295
359
|
}, {
|
|
296
360
|
"path": "color.accent.subtleRed",
|
|
297
361
|
"state": "deprecated",
|
|
298
|
-
"replacement": "color.background.accent.red.
|
|
362
|
+
"replacement": "color.background.accent.red.subtler"
|
|
299
363
|
}, {
|
|
300
364
|
"path": "color.accent.subtleTeal",
|
|
301
365
|
"state": "deprecated",
|
|
302
|
-
"replacement": "color.background.accent.teal.
|
|
366
|
+
"replacement": "color.background.accent.teal.subtler"
|
|
303
367
|
}, {
|
|
304
368
|
"path": "color.iconBorder.brand",
|
|
305
369
|
"state": "deprecated",
|
|
@@ -6,13 +6,21 @@
|
|
|
6
6
|
*/
|
|
7
7
|
const defaultTokenValues = {
|
|
8
8
|
'color.text.accent.blue': '#0055CC',
|
|
9
|
+
'color.text.accent.blue.bolder': '#09326C',
|
|
9
10
|
'color.text.accent.red': '#AE2A19',
|
|
11
|
+
'color.text.accent.red.bolder': '#601E16',
|
|
10
12
|
'color.text.accent.orange': '#974F0C',
|
|
13
|
+
'color.text.accent.orange.bolder': '#5F3811',
|
|
11
14
|
'color.text.accent.yellow': '#7F5F01',
|
|
15
|
+
'color.text.accent.yellow.bolder': '#533F04',
|
|
12
16
|
'color.text.accent.green': '#216E4E',
|
|
17
|
+
'color.text.accent.green.bolder': '#164B35',
|
|
13
18
|
'color.text.accent.purple': '#5E4DB2',
|
|
19
|
+
'color.text.accent.purple.bolder': '#352C63',
|
|
14
20
|
'color.text.accent.teal': '#206B74',
|
|
21
|
+
'color.text.accent.teal.bolder': '#1D474C',
|
|
15
22
|
'color.text.accent.magenta': '#943D73',
|
|
23
|
+
'color.text.accent.magenta.bolder': '#50253F',
|
|
16
24
|
'color.text': '#172B4D',
|
|
17
25
|
'color.text.subtle': '#44546F',
|
|
18
26
|
'color.text.subtlest': '#626F86',
|
|
@@ -74,20 +82,52 @@ const defaultTokenValues = {
|
|
|
74
82
|
'color.border.information': '#1D7AFC',
|
|
75
83
|
'color.border.focus': '#388BFF',
|
|
76
84
|
'color.border.neutral': '#091E4224',
|
|
85
|
+
'color.background.accent.blue.subtlest': '#E9F2FF',
|
|
86
|
+
'color.background.accent.blue.subtler': '#CCE0FF',
|
|
87
|
+
'color.background.accent.blue.subtle': '#579DFF',
|
|
88
|
+
'color.background.accent.blue.bolder': '#0C66E4',
|
|
77
89
|
'color.background.accent.blue': '#CCE0FF',
|
|
78
90
|
'color.background.accent.blue.bold': '#579DFF',
|
|
91
|
+
'color.background.accent.red.subtlest': '#FFEDEB',
|
|
92
|
+
'color.background.accent.red.subtler': '#FFD2CC',
|
|
93
|
+
'color.background.accent.red.subtle': '#F87462',
|
|
94
|
+
'color.background.accent.red.bolder': '#CA3521',
|
|
79
95
|
'color.background.accent.red': '#FFD2CC',
|
|
80
96
|
'color.background.accent.red.bold': '#F87462',
|
|
97
|
+
'color.background.accent.orange.subtlest': '#FFF4E5',
|
|
98
|
+
'color.background.accent.orange.subtler': '#FFE2BD',
|
|
99
|
+
'color.background.accent.orange.subtle': '#FAA53D',
|
|
100
|
+
'color.background.accent.orange.bolder': '#B65C02',
|
|
81
101
|
'color.background.accent.orange': '#FFE2BD',
|
|
82
102
|
'color.background.accent.orange.bold': '#FAA53D',
|
|
103
|
+
'color.background.accent.yellow.subtlest': '#FFF7D6',
|
|
104
|
+
'color.background.accent.yellow.subtler': '#F8E6A0',
|
|
105
|
+
'color.background.accent.yellow.subtle': '#E2B203',
|
|
106
|
+
'color.background.accent.yellow.bolder': '#946F00',
|
|
83
107
|
'color.background.accent.yellow': '#F8E6A0',
|
|
84
108
|
'color.background.accent.yellow.bold': '#E2B203',
|
|
109
|
+
'color.background.accent.green.subtlest': '#DFFCF0',
|
|
110
|
+
'color.background.accent.green.subtler': '#BAF3DB',
|
|
111
|
+
'color.background.accent.green.subtle': '#4BCE97',
|
|
112
|
+
'color.background.accent.green.bolder': '#1F845A',
|
|
85
113
|
'color.background.accent.green': '#BAF3DB',
|
|
86
114
|
'color.background.accent.green.bold': '#4BCE97',
|
|
115
|
+
'color.background.accent.teal.subtlest': '#E3FAFC',
|
|
116
|
+
'color.background.accent.teal.subtler': '#C1F0F5',
|
|
117
|
+
'color.background.accent.teal.subtle': '#60C6D2',
|
|
118
|
+
'color.background.accent.teal.bolder': '#1D7F8C',
|
|
87
119
|
'color.background.accent.teal': '#C1F0F5',
|
|
88
120
|
'color.background.accent.teal.bold': '#60C6D2',
|
|
121
|
+
'color.background.accent.purple.subtlest': '#F3F0FF',
|
|
122
|
+
'color.background.accent.purple.subtler': '#DFD8FD',
|
|
123
|
+
'color.background.accent.purple.subtle': '#9F8FEF',
|
|
124
|
+
'color.background.accent.purple.bolder': '#6E5DC6',
|
|
89
125
|
'color.background.accent.purple': '#DFD8FD',
|
|
90
126
|
'color.background.accent.purple.bold': '#9F8FEF',
|
|
127
|
+
'color.background.accent.magenta.subtlest': '#FFECF8',
|
|
128
|
+
'color.background.accent.magenta.subtler': '#FDD0EC',
|
|
129
|
+
'color.background.accent.magenta.subtle': '#E774BB',
|
|
130
|
+
'color.background.accent.magenta.bolder': '#AE4787',
|
|
91
131
|
'color.background.accent.magenta': '#FDD0EC',
|
|
92
132
|
'color.background.accent.magenta.bold': '#E774BB',
|
|
93
133
|
'color.background.disabled': '#091E420F',
|
|
@@ -2,13 +2,21 @@
|
|
|
2
2
|
// Re-generate by running `yarn build tokens`.
|
|
3
3
|
const tokens = {
|
|
4
4
|
'color.text.accent.blue': '--ds-text-accent-blue',
|
|
5
|
+
'color.text.accent.blue.bolder': '--ds-text-accent-blue-bolder',
|
|
5
6
|
'color.text.accent.red': '--ds-text-accent-red',
|
|
7
|
+
'color.text.accent.red.bolder': '--ds-text-accent-red-bolder',
|
|
6
8
|
'color.text.accent.orange': '--ds-text-accent-orange',
|
|
9
|
+
'color.text.accent.orange.bolder': '--ds-text-accent-orange-bolder',
|
|
7
10
|
'color.text.accent.yellow': '--ds-text-accent-yellow',
|
|
11
|
+
'color.text.accent.yellow.bolder': '--ds-text-accent-yellow-bolder',
|
|
8
12
|
'color.text.accent.green': '--ds-text-accent-green',
|
|
13
|
+
'color.text.accent.green.bolder': '--ds-text-accent-green-bolder',
|
|
9
14
|
'color.text.accent.purple': '--ds-text-accent-purple',
|
|
15
|
+
'color.text.accent.purple.bolder': '--ds-text-accent-purple-bolder',
|
|
10
16
|
'color.text.accent.teal': '--ds-text-accent-teal',
|
|
17
|
+
'color.text.accent.teal.bolder': '--ds-text-accent-teal-bolder',
|
|
11
18
|
'color.text.accent.magenta': '--ds-text-accent-magenta',
|
|
19
|
+
'color.text.accent.magenta.bolder': '--ds-text-accent-magenta-bolder',
|
|
12
20
|
'color.text': '--ds-text',
|
|
13
21
|
'color.text.subtle': '--ds-text-subtle',
|
|
14
22
|
'color.text.subtlest': '--ds-text-subtlest',
|
|
@@ -70,20 +78,52 @@ const tokens = {
|
|
|
70
78
|
'color.border.information': '--ds-border-information',
|
|
71
79
|
'color.border.focus': '--ds-border-focus',
|
|
72
80
|
'color.border.neutral': '--ds-border-neutral',
|
|
81
|
+
'color.background.accent.blue.subtlest': '--ds-background-accent-blue-subtlest',
|
|
82
|
+
'color.background.accent.blue.subtler': '--ds-background-accent-blue-subtler',
|
|
83
|
+
'color.background.accent.blue.subtle': '--ds-background-accent-blue-subtle',
|
|
84
|
+
'color.background.accent.blue.bolder': '--ds-background-accent-blue-bolder',
|
|
73
85
|
'color.background.accent.blue': '--ds-background-accent-blue',
|
|
74
86
|
'color.background.accent.blue.bold': '--ds-background-accent-blue-bold',
|
|
87
|
+
'color.background.accent.red.subtlest': '--ds-background-accent-red-subtlest',
|
|
88
|
+
'color.background.accent.red.subtler': '--ds-background-accent-red-subtler',
|
|
89
|
+
'color.background.accent.red.subtle': '--ds-background-accent-red-subtle',
|
|
90
|
+
'color.background.accent.red.bolder': '--ds-background-accent-red-bolder',
|
|
75
91
|
'color.background.accent.red': '--ds-background-accent-red',
|
|
76
92
|
'color.background.accent.red.bold': '--ds-background-accent-red-bold',
|
|
93
|
+
'color.background.accent.orange.subtlest': '--ds-background-accent-orange-subtlest',
|
|
94
|
+
'color.background.accent.orange.subtler': '--ds-background-accent-orange-subtler',
|
|
95
|
+
'color.background.accent.orange.subtle': '--ds-background-accent-orange-subtle',
|
|
96
|
+
'color.background.accent.orange.bolder': '--ds-background-accent-orange-bolder',
|
|
77
97
|
'color.background.accent.orange': '--ds-background-accent-orange',
|
|
78
98
|
'color.background.accent.orange.bold': '--ds-background-accent-orange-bold',
|
|
99
|
+
'color.background.accent.yellow.subtlest': '--ds-background-accent-yellow-subtlest',
|
|
100
|
+
'color.background.accent.yellow.subtler': '--ds-background-accent-yellow-subtler',
|
|
101
|
+
'color.background.accent.yellow.subtle': '--ds-background-accent-yellow-subtle',
|
|
102
|
+
'color.background.accent.yellow.bolder': '--ds-background-accent-yellow-bolder',
|
|
79
103
|
'color.background.accent.yellow': '--ds-background-accent-yellow',
|
|
80
104
|
'color.background.accent.yellow.bold': '--ds-background-accent-yellow-bold',
|
|
105
|
+
'color.background.accent.green.subtlest': '--ds-background-accent-green-subtlest',
|
|
106
|
+
'color.background.accent.green.subtler': '--ds-background-accent-green-subtler',
|
|
107
|
+
'color.background.accent.green.subtle': '--ds-background-accent-green-subtle',
|
|
108
|
+
'color.background.accent.green.bolder': '--ds-background-accent-green-bolder',
|
|
81
109
|
'color.background.accent.green': '--ds-background-accent-green',
|
|
82
110
|
'color.background.accent.green.bold': '--ds-background-accent-green-bold',
|
|
111
|
+
'color.background.accent.teal.subtlest': '--ds-background-accent-teal-subtlest',
|
|
112
|
+
'color.background.accent.teal.subtler': '--ds-background-accent-teal-subtler',
|
|
113
|
+
'color.background.accent.teal.subtle': '--ds-background-accent-teal-subtle',
|
|
114
|
+
'color.background.accent.teal.bolder': '--ds-background-accent-teal-bolder',
|
|
83
115
|
'color.background.accent.teal': '--ds-background-accent-teal',
|
|
84
116
|
'color.background.accent.teal.bold': '--ds-background-accent-teal-bold',
|
|
117
|
+
'color.background.accent.purple.subtlest': '--ds-background-accent-purple-subtlest',
|
|
118
|
+
'color.background.accent.purple.subtler': '--ds-background-accent-purple-subtler',
|
|
119
|
+
'color.background.accent.purple.subtle': '--ds-background-accent-purple-subtle',
|
|
120
|
+
'color.background.accent.purple.bolder': '--ds-background-accent-purple-bolder',
|
|
85
121
|
'color.background.accent.purple': '--ds-background-accent-purple',
|
|
86
122
|
'color.background.accent.purple.bold': '--ds-background-accent-purple-bold',
|
|
123
|
+
'color.background.accent.magenta.subtlest': '--ds-background-accent-magenta-subtlest',
|
|
124
|
+
'color.background.accent.magenta.subtler': '--ds-background-accent-magenta-subtler',
|
|
125
|
+
'color.background.accent.magenta.subtle': '--ds-background-accent-magenta-subtle',
|
|
126
|
+
'color.background.accent.magenta.bolder': '--ds-background-accent-magenta-bolder',
|
|
87
127
|
'color.background.accent.magenta': '--ds-background-accent-magenta',
|
|
88
128
|
'color.background.accent.magenta.bold': '--ds-background-accent-magenta-bold',
|
|
89
129
|
'color.background.disabled': '--ds-background-disabled',
|