@atlaskit/tokens 0.6.1 → 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 +64 -0
- package/css/atlassian-dark.css +55 -8
- package/css/atlassian-light.css +54 -7
- package/dist/cjs/artifacts/rename-mapping.js +100 -32
- package/dist/cjs/artifacts/token-default-values.js +54 -7
- package/dist/cjs/artifacts/token-names.js +54 -7
- package/dist/cjs/artifacts/tokens-raw/atlassian-dark.js +1173 -246
- package/dist/cjs/artifacts/tokens-raw/atlassian-light.js +1151 -224
- 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/color/background.js +16 -3
- package/dist/cjs/tokens/atlassian-dark/color/border.js +3 -0
- package/dist/cjs/tokens/atlassian-dark/color/icon.js +3 -0
- package/dist/cjs/tokens/atlassian-dark/color/text.js +3 -0
- package/dist/cjs/tokens/atlassian-dark/deprecated/deprecated.js +79 -6
- package/dist/cjs/tokens/atlassian-dark/elevation/surface.js +1 -1
- package/dist/cjs/tokens/atlassian-light/color/accent.js +112 -24
- package/dist/cjs/tokens/atlassian-light/color/background.js +13 -0
- package/dist/cjs/tokens/atlassian-light/color/border.js +3 -0
- package/dist/cjs/tokens/atlassian-light/color/icon.js +3 -0
- package/dist/cjs/tokens/atlassian-light/color/text.js +3 -0
- package/dist/cjs/tokens/atlassian-light/deprecated/deprecated.js +79 -6
- package/dist/cjs/tokens/default/color/accent.js +234 -50
- package/dist/cjs/tokens/default/color/background.js +30 -5
- package/dist/cjs/tokens/default/color/border.js +7 -0
- package/dist/cjs/tokens/default/color/icon.js +7 -0
- package/dist/cjs/tokens/default/color/text.js +7 -0
- package/dist/cjs/tokens/default/deprecated/deprecated.js +192 -34
- package/dist/cjs/tokens/palette.js +6 -0
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/artifacts/rename-mapping.js +100 -32
- package/dist/es2019/artifacts/token-default-values.js +54 -7
- package/dist/es2019/artifacts/token-names.js +54 -7
- package/dist/es2019/artifacts/tokens-raw/atlassian-dark.js +1173 -246
- package/dist/es2019/artifacts/tokens-raw/atlassian-light.js +1151 -224
- 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/color/background.js +16 -3
- package/dist/es2019/tokens/atlassian-dark/color/border.js +3 -0
- package/dist/es2019/tokens/atlassian-dark/color/icon.js +3 -0
- package/dist/es2019/tokens/atlassian-dark/color/text.js +3 -0
- package/dist/es2019/tokens/atlassian-dark/deprecated/deprecated.js +79 -6
- package/dist/es2019/tokens/atlassian-dark/elevation/surface.js +1 -1
- package/dist/es2019/tokens/atlassian-light/color/accent.js +112 -24
- package/dist/es2019/tokens/atlassian-light/color/background.js +13 -0
- package/dist/es2019/tokens/atlassian-light/color/border.js +3 -0
- package/dist/es2019/tokens/atlassian-light/color/icon.js +3 -0
- package/dist/es2019/tokens/atlassian-light/color/text.js +3 -0
- package/dist/es2019/tokens/atlassian-light/deprecated/deprecated.js +79 -6
- package/dist/es2019/tokens/default/color/accent.js +234 -50
- package/dist/es2019/tokens/default/color/background.js +30 -5
- package/dist/es2019/tokens/default/color/border.js +7 -0
- package/dist/es2019/tokens/default/color/icon.js +7 -0
- package/dist/es2019/tokens/default/color/text.js +7 -0
- package/dist/es2019/tokens/default/deprecated/deprecated.js +192 -34
- package/dist/es2019/tokens/palette.js +6 -0
- package/dist/es2019/version.json +1 -1
- package/dist/esm/artifacts/rename-mapping.js +100 -32
- package/dist/esm/artifacts/token-default-values.js +54 -7
- package/dist/esm/artifacts/token-names.js +54 -7
- package/dist/esm/artifacts/tokens-raw/atlassian-dark.js +1173 -246
- package/dist/esm/artifacts/tokens-raw/atlassian-light.js +1151 -224
- 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/color/background.js +16 -3
- package/dist/esm/tokens/atlassian-dark/color/border.js +3 -0
- package/dist/esm/tokens/atlassian-dark/color/icon.js +3 -0
- package/dist/esm/tokens/atlassian-dark/color/text.js +3 -0
- package/dist/esm/tokens/atlassian-dark/deprecated/deprecated.js +79 -6
- package/dist/esm/tokens/atlassian-dark/elevation/surface.js +1 -1
- package/dist/esm/tokens/atlassian-light/color/accent.js +112 -24
- package/dist/esm/tokens/atlassian-light/color/background.js +13 -0
- package/dist/esm/tokens/atlassian-light/color/border.js +3 -0
- package/dist/esm/tokens/atlassian-light/color/icon.js +3 -0
- package/dist/esm/tokens/atlassian-light/color/text.js +3 -0
- package/dist/esm/tokens/atlassian-light/deprecated/deprecated.js +79 -6
- package/dist/esm/tokens/default/color/accent.js +234 -50
- package/dist/esm/tokens/default/color/background.js +30 -5
- package/dist/esm/tokens/default/color/border.js +7 -0
- package/dist/esm/tokens/default/color/icon.js +7 -0
- package/dist/esm/tokens/default/color/text.js +7 -0
- package/dist/esm/tokens/default/deprecated/deprecated.js +192 -34
- package/dist/esm/tokens/palette.js +6 -0
- package/dist/esm/version.json +1 -1
- package/dist/types/artifacts/token-default-values.d.ts +54 -7
- package/dist/types/artifacts/token-names.d.ts +108 -14
- 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 +116 -26
- package/package.json +2 -4
|
@@ -5,7 +5,7 @@ var color = {
|
|
|
5
5
|
attributes: {
|
|
6
6
|
group: 'paint',
|
|
7
7
|
state: 'deprecated',
|
|
8
|
-
replacement: 'color.background.accent.blue.
|
|
8
|
+
replacement: 'color.background.accent.blue.bolder',
|
|
9
9
|
description: 'Use for blue backgrounds of stronger emphasis when there is no meaning tied to the color, such as bold tags.'
|
|
10
10
|
}
|
|
11
11
|
},
|
|
@@ -13,7 +13,7 @@ var color = {
|
|
|
13
13
|
attributes: {
|
|
14
14
|
group: 'paint',
|
|
15
15
|
state: 'deprecated',
|
|
16
|
-
replacement: 'color.background.accent.green.
|
|
16
|
+
replacement: 'color.background.accent.green.bolder',
|
|
17
17
|
description: 'Use for green backgrounds of stronger emphasis when there is no meaning tied to the color, such as bold tags.'
|
|
18
18
|
}
|
|
19
19
|
},
|
|
@@ -21,7 +21,7 @@ var color = {
|
|
|
21
21
|
attributes: {
|
|
22
22
|
group: 'paint',
|
|
23
23
|
state: 'deprecated',
|
|
24
|
-
replacement: 'color.background.accent.orange.
|
|
24
|
+
replacement: 'color.background.accent.orange.bolder',
|
|
25
25
|
description: 'Use for orange backgrounds of stronger emphasis when there is no meaning tied to the color, such as bold tags.'
|
|
26
26
|
}
|
|
27
27
|
},
|
|
@@ -29,7 +29,7 @@ var color = {
|
|
|
29
29
|
attributes: {
|
|
30
30
|
group: 'paint',
|
|
31
31
|
state: 'deprecated',
|
|
32
|
-
replacement: 'color.background.accent.purple.
|
|
32
|
+
replacement: 'color.background.accent.purple.bolder',
|
|
33
33
|
description: 'Use for purple backgrounds of stronger emphasis when there is no meaning tied to the color, such as bold tags.'
|
|
34
34
|
}
|
|
35
35
|
},
|
|
@@ -37,7 +37,7 @@ var color = {
|
|
|
37
37
|
attributes: {
|
|
38
38
|
group: 'paint',
|
|
39
39
|
state: 'deprecated',
|
|
40
|
-
replacement: 'color.background.accent.red.
|
|
40
|
+
replacement: 'color.background.accent.red.bolder',
|
|
41
41
|
description: 'Use for red backgrounds of stronger emphasis when there is no meaning tied to the color, such as bold tags.'
|
|
42
42
|
}
|
|
43
43
|
},
|
|
@@ -45,7 +45,7 @@ var color = {
|
|
|
45
45
|
attributes: {
|
|
46
46
|
group: 'paint',
|
|
47
47
|
state: 'deprecated',
|
|
48
|
-
replacement: 'color.background.accent.teal.
|
|
48
|
+
replacement: 'color.background.accent.teal.bolder',
|
|
49
49
|
description: 'Use for teal backgrounds of stronger emphasis when there is no meaning tied to the color, such as bold tags.'
|
|
50
50
|
}
|
|
51
51
|
},
|
|
@@ -53,7 +53,7 @@ var color = {
|
|
|
53
53
|
attributes: {
|
|
54
54
|
group: 'paint',
|
|
55
55
|
state: 'deprecated',
|
|
56
|
-
replacement: 'color.background.accent.blue.
|
|
56
|
+
replacement: 'color.background.accent.blue.subtler',
|
|
57
57
|
description: 'Use for blue subdued backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
58
58
|
}
|
|
59
59
|
},
|
|
@@ -61,7 +61,7 @@ var color = {
|
|
|
61
61
|
attributes: {
|
|
62
62
|
group: 'paint',
|
|
63
63
|
state: 'deprecated',
|
|
64
|
-
replacement: 'color.background.accent.green.
|
|
64
|
+
replacement: 'color.background.accent.green.subtler',
|
|
65
65
|
description: 'Use for green subdued backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
66
66
|
}
|
|
67
67
|
},
|
|
@@ -69,7 +69,7 @@ var color = {
|
|
|
69
69
|
attributes: {
|
|
70
70
|
group: 'paint',
|
|
71
71
|
state: 'deprecated',
|
|
72
|
-
replacement: 'color.background.accent.magenta.
|
|
72
|
+
replacement: 'color.background.accent.magenta.subtler',
|
|
73
73
|
description: 'Use for magenta subdued backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
74
74
|
}
|
|
75
75
|
},
|
|
@@ -77,7 +77,7 @@ var color = {
|
|
|
77
77
|
attributes: {
|
|
78
78
|
group: 'paint',
|
|
79
79
|
state: 'deprecated',
|
|
80
|
-
replacement: 'color.background.accent.orange.
|
|
80
|
+
replacement: 'color.background.accent.orange.subtler',
|
|
81
81
|
description: 'Use for orange subdued backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
82
82
|
}
|
|
83
83
|
},
|
|
@@ -85,7 +85,7 @@ var color = {
|
|
|
85
85
|
attributes: {
|
|
86
86
|
group: 'paint',
|
|
87
87
|
state: 'deprecated',
|
|
88
|
-
replacement: 'color.background.accent.purple.
|
|
88
|
+
replacement: 'color.background.accent.purple.subtler',
|
|
89
89
|
description: 'Use for purple subdued backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
90
90
|
}
|
|
91
91
|
},
|
|
@@ -93,7 +93,7 @@ var color = {
|
|
|
93
93
|
attributes: {
|
|
94
94
|
group: 'paint',
|
|
95
95
|
state: 'deprecated',
|
|
96
|
-
replacement: 'color.background.accent.red.
|
|
96
|
+
replacement: 'color.background.accent.red.subtler',
|
|
97
97
|
description: 'Use for red subdued backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
98
98
|
}
|
|
99
99
|
},
|
|
@@ -101,12 +101,158 @@ var color = {
|
|
|
101
101
|
attributes: {
|
|
102
102
|
group: 'paint',
|
|
103
103
|
state: 'deprecated',
|
|
104
|
-
replacement: 'color.background.accent.teal.
|
|
104
|
+
replacement: 'color.background.accent.teal.subtler',
|
|
105
105
|
description: 'Use for teal subdued backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
108
|
},
|
|
109
109
|
background: {
|
|
110
|
+
accent: {
|
|
111
|
+
blue: {
|
|
112
|
+
'[default]': {
|
|
113
|
+
attributes: {
|
|
114
|
+
group: 'paint',
|
|
115
|
+
state: 'deprecated',
|
|
116
|
+
replacement: 'color.background.accent.blue.subtler',
|
|
117
|
+
description: 'Use for blue backgrounds when there is no meaning tied to the color, such as coloured tags.'
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
bold: {
|
|
121
|
+
attributes: {
|
|
122
|
+
group: 'paint',
|
|
123
|
+
state: 'deprecated',
|
|
124
|
+
replacement: 'color.background.accent.blue.subtle',
|
|
125
|
+
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.'
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
red: {
|
|
130
|
+
'[default]': {
|
|
131
|
+
attributes: {
|
|
132
|
+
group: 'paint',
|
|
133
|
+
state: 'deprecated',
|
|
134
|
+
replacement: 'color.background.accent.red.subtler',
|
|
135
|
+
description: 'Use for red backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
bold: {
|
|
139
|
+
attributes: {
|
|
140
|
+
group: 'paint',
|
|
141
|
+
state: 'deprecated',
|
|
142
|
+
replacement: 'color.background.accent.red.subtle',
|
|
143
|
+
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.'
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
orange: {
|
|
148
|
+
'[default]': {
|
|
149
|
+
attributes: {
|
|
150
|
+
group: 'paint',
|
|
151
|
+
state: 'deprecated',
|
|
152
|
+
replacement: 'color.background.accent.orange.subtler',
|
|
153
|
+
description: 'Use for orange backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
bold: {
|
|
157
|
+
attributes: {
|
|
158
|
+
group: 'paint',
|
|
159
|
+
state: 'deprecated',
|
|
160
|
+
replacement: 'color.background.accent.orange.subtle',
|
|
161
|
+
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.'
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
yellow: {
|
|
166
|
+
'[default]': {
|
|
167
|
+
attributes: {
|
|
168
|
+
group: 'paint',
|
|
169
|
+
state: 'deprecated',
|
|
170
|
+
replacement: 'color.background.accent.yellow.subtler',
|
|
171
|
+
description: 'Use for yellow backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
bold: {
|
|
175
|
+
attributes: {
|
|
176
|
+
group: 'paint',
|
|
177
|
+
state: 'deprecated',
|
|
178
|
+
replacement: 'color.background.accent.yellow.subtle',
|
|
179
|
+
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.'
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
green: {
|
|
184
|
+
'[default]': {
|
|
185
|
+
attributes: {
|
|
186
|
+
group: 'paint',
|
|
187
|
+
state: 'deprecated',
|
|
188
|
+
replacement: 'color.background.accent.green.subtler',
|
|
189
|
+
description: 'Use for green backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
bold: {
|
|
193
|
+
attributes: {
|
|
194
|
+
group: 'paint',
|
|
195
|
+
state: 'deprecated',
|
|
196
|
+
replacement: 'color.background.accent.green.subtle',
|
|
197
|
+
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.'
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
teal: {
|
|
202
|
+
'[default]': {
|
|
203
|
+
attributes: {
|
|
204
|
+
group: 'paint',
|
|
205
|
+
state: 'deprecated',
|
|
206
|
+
replacement: 'color.background.accent.teal.subtler',
|
|
207
|
+
description: 'Use for teal backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
bold: {
|
|
211
|
+
attributes: {
|
|
212
|
+
group: 'paint',
|
|
213
|
+
state: 'deprecated',
|
|
214
|
+
replacement: 'color.background.accent.teal.subtle',
|
|
215
|
+
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.'
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
},
|
|
219
|
+
purple: {
|
|
220
|
+
'[default]': {
|
|
221
|
+
attributes: {
|
|
222
|
+
group: 'paint',
|
|
223
|
+
state: 'deprecated',
|
|
224
|
+
replacement: 'color.background.accent.purple.subtler',
|
|
225
|
+
description: 'Use for purple backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
226
|
+
}
|
|
227
|
+
},
|
|
228
|
+
bold: {
|
|
229
|
+
attributes: {
|
|
230
|
+
group: 'paint',
|
|
231
|
+
state: 'deprecated',
|
|
232
|
+
replacement: 'color.background.accent.purple.subtle',
|
|
233
|
+
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.'
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
},
|
|
237
|
+
magenta: {
|
|
238
|
+
'[default]': {
|
|
239
|
+
attributes: {
|
|
240
|
+
group: 'paint',
|
|
241
|
+
state: 'deprecated',
|
|
242
|
+
replacement: 'color.background.accent.magenta.subtler',
|
|
243
|
+
description: 'Use for magenta backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
244
|
+
}
|
|
245
|
+
},
|
|
246
|
+
bold: {
|
|
247
|
+
attributes: {
|
|
248
|
+
group: 'paint',
|
|
249
|
+
state: 'deprecated',
|
|
250
|
+
replacement: 'color.background.accent.magenta.subtle',
|
|
251
|
+
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.'
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
},
|
|
110
256
|
blanket: {
|
|
111
257
|
attributes: {
|
|
112
258
|
group: 'paint',
|
|
@@ -115,6 +261,34 @@ var color = {
|
|
|
115
261
|
description: 'Use for the screen overlay that appears with modal dialogs'
|
|
116
262
|
}
|
|
117
263
|
},
|
|
264
|
+
brand: {
|
|
265
|
+
'[default]': {
|
|
266
|
+
'[default]': {
|
|
267
|
+
attributes: {
|
|
268
|
+
group: 'paint',
|
|
269
|
+
state: 'deprecated',
|
|
270
|
+
replacement: 'color.background.selected.[default].[default]',
|
|
271
|
+
description: 'Use for the background of elements used to reinforce our brand.'
|
|
272
|
+
}
|
|
273
|
+
},
|
|
274
|
+
hovered: {
|
|
275
|
+
attributes: {
|
|
276
|
+
group: 'paint',
|
|
277
|
+
state: 'deprecated',
|
|
278
|
+
replacement: 'color.background.selected.[default].hovered',
|
|
279
|
+
description: 'Hovered state for color.background.brand'
|
|
280
|
+
}
|
|
281
|
+
},
|
|
282
|
+
pressed: {
|
|
283
|
+
attributes: {
|
|
284
|
+
group: 'paint',
|
|
285
|
+
state: 'deprecated',
|
|
286
|
+
replacement: 'color.background.selected.[default].pressed',
|
|
287
|
+
description: 'Pressed state for color.background.brand'
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
},
|
|
118
292
|
boldBrand: {
|
|
119
293
|
hover: {
|
|
120
294
|
attributes: {
|
|
@@ -300,7 +474,7 @@ var color = {
|
|
|
300
474
|
attributes: {
|
|
301
475
|
group: 'paint',
|
|
302
476
|
state: 'deprecated',
|
|
303
|
-
replacement: 'color.background.
|
|
477
|
+
replacement: 'color.background.selected.[default].[default]',
|
|
304
478
|
description: 'Use for backgrounds of elements in a selected state'
|
|
305
479
|
}
|
|
306
480
|
},
|
|
@@ -308,17 +482,9 @@ var color = {
|
|
|
308
482
|
attributes: {
|
|
309
483
|
group: 'paint',
|
|
310
484
|
state: 'deprecated',
|
|
311
|
-
replacement: 'color.background.
|
|
485
|
+
replacement: 'color.background.selected.[default].hovered',
|
|
312
486
|
description: 'Hover state for color.background.selected'
|
|
313
487
|
}
|
|
314
|
-
},
|
|
315
|
-
pressed: {
|
|
316
|
-
attributes: {
|
|
317
|
-
group: 'paint',
|
|
318
|
-
state: 'deprecated',
|
|
319
|
-
replacement: 'color.background.brand.[default].pressed',
|
|
320
|
-
description: 'Pressed state for color.background.selected'
|
|
321
|
-
}
|
|
322
488
|
}
|
|
323
489
|
},
|
|
324
490
|
subtleBorderedNeutral: {
|
|
@@ -344,7 +510,7 @@ var color = {
|
|
|
344
510
|
attributes: {
|
|
345
511
|
group: 'paint',
|
|
346
512
|
state: 'deprecated',
|
|
347
|
-
replacement: 'color.background.
|
|
513
|
+
replacement: 'color.background.selected.[default].hovered',
|
|
348
514
|
description: 'Hover state for background.subtleBrand'
|
|
349
515
|
}
|
|
350
516
|
},
|
|
@@ -352,7 +518,7 @@ var color = {
|
|
|
352
518
|
attributes: {
|
|
353
519
|
group: 'paint',
|
|
354
520
|
state: 'deprecated',
|
|
355
|
-
replacement: 'color.background.
|
|
521
|
+
replacement: 'color.background.selected.[default].pressed',
|
|
356
522
|
description: 'Pressed state for background.subtleBrand'
|
|
357
523
|
}
|
|
358
524
|
},
|
|
@@ -360,7 +526,7 @@ var color = {
|
|
|
360
526
|
attributes: {
|
|
361
527
|
group: 'paint',
|
|
362
528
|
state: 'deprecated',
|
|
363
|
-
replacement: 'color.background.
|
|
529
|
+
replacement: 'color.background.selected.[default].[default]',
|
|
364
530
|
description: 'Use for subdued backgrounds of UI elements like information section messages and in progress lozenges.'
|
|
365
531
|
}
|
|
366
532
|
}
|
|
@@ -580,14 +746,6 @@ var color = {
|
|
|
580
746
|
replacement: 'color.text.warning.inverse',
|
|
581
747
|
description: 'Use for text and icons when on bold warning backgrounds'
|
|
582
748
|
}
|
|
583
|
-
},
|
|
584
|
-
selected: {
|
|
585
|
-
attributes: {
|
|
586
|
-
group: 'paint',
|
|
587
|
-
state: 'deprecated',
|
|
588
|
-
replacement: 'color.text.brand',
|
|
589
|
-
description: 'Use for text, icons, borders, or other visual indicators in selected states'
|
|
590
|
-
}
|
|
591
749
|
}
|
|
592
750
|
},
|
|
593
751
|
border: {
|
package/dist/esm/version.json
CHANGED
|
@@ -3,19 +3,28 @@
|
|
|
3
3
|
*/
|
|
4
4
|
declare const defaultTokenValues: {
|
|
5
5
|
readonly 'color.text.accent.blue': "#0055CC";
|
|
6
|
+
readonly 'color.text.accent.blue.bolder': "#09326C";
|
|
6
7
|
readonly 'color.text.accent.red': "#AE2A19";
|
|
8
|
+
readonly 'color.text.accent.red.bolder': "#601E16";
|
|
7
9
|
readonly 'color.text.accent.orange': "#974F0C";
|
|
10
|
+
readonly 'color.text.accent.orange.bolder': "#5F3811";
|
|
8
11
|
readonly 'color.text.accent.yellow': "#7F5F01";
|
|
12
|
+
readonly 'color.text.accent.yellow.bolder': "#533F04";
|
|
9
13
|
readonly 'color.text.accent.green': "#216E4E";
|
|
14
|
+
readonly 'color.text.accent.green.bolder': "#164B35";
|
|
10
15
|
readonly 'color.text.accent.purple': "#5E4DB2";
|
|
16
|
+
readonly 'color.text.accent.purple.bolder': "#352C63";
|
|
11
17
|
readonly 'color.text.accent.teal': "#206B74";
|
|
18
|
+
readonly 'color.text.accent.teal.bolder': "#1D474C";
|
|
12
19
|
readonly 'color.text.accent.magenta': "#943D73";
|
|
20
|
+
readonly 'color.text.accent.magenta.bolder': "#50253F";
|
|
13
21
|
readonly 'color.text': "#172B4D";
|
|
14
22
|
readonly 'color.text.subtle': "#44546F";
|
|
15
23
|
readonly 'color.text.subtlest': "#626F86";
|
|
16
24
|
readonly 'color.text.disabled': "#8993A5";
|
|
17
25
|
readonly 'color.text.inverse': "#FFFFFF";
|
|
18
26
|
readonly 'color.text.brand': "#0C66E4";
|
|
27
|
+
readonly 'color.text.selected': "#0C66E4";
|
|
19
28
|
readonly 'color.text.danger': "#AE2A19";
|
|
20
29
|
readonly 'color.text.warning': "#974F0C";
|
|
21
30
|
readonly 'color.text.warning.inverse': "#172B4D";
|
|
@@ -29,7 +38,6 @@ declare const defaultTokenValues: {
|
|
|
29
38
|
readonly 'color.text.mediumEmphasis': "#44546F";
|
|
30
39
|
readonly 'color.text.onBold': "#FFFFFF";
|
|
31
40
|
readonly 'color.text.onBoldWarning': "#172B4D";
|
|
32
|
-
readonly 'color.text.selected': "#0C66E4";
|
|
33
41
|
readonly 'color.icon.accent.blue': "#1D7AFC";
|
|
34
42
|
readonly 'color.icon.accent.red': "#E34935";
|
|
35
43
|
readonly 'color.icon.accent.orange': "#D97008";
|
|
@@ -43,6 +51,7 @@ declare const defaultTokenValues: {
|
|
|
43
51
|
readonly 'color.icon.inverse': "#FFFFFF";
|
|
44
52
|
readonly 'color.icon.disabled': "#8993A5";
|
|
45
53
|
readonly 'color.icon.brand': "#0C66E4";
|
|
54
|
+
readonly 'color.icon.selected': "#0C66E4";
|
|
46
55
|
readonly 'color.icon.danger': "#E34935";
|
|
47
56
|
readonly 'color.icon.warning': "#D97008";
|
|
48
57
|
readonly 'color.icon.warning.inverse': "#172B4D";
|
|
@@ -62,6 +71,7 @@ declare const defaultTokenValues: {
|
|
|
62
71
|
readonly 'color.border.input': "#091E4224";
|
|
63
72
|
readonly 'color.border.disabled': "#091E420F";
|
|
64
73
|
readonly 'color.border.brand': "#0C66E4";
|
|
74
|
+
readonly 'color.border.selected': "#0C66E4";
|
|
65
75
|
readonly 'color.border.danger': "#E34935";
|
|
66
76
|
readonly 'color.border.warning': "#D97008";
|
|
67
77
|
readonly 'color.border.success': "#22A06B";
|
|
@@ -69,20 +79,52 @@ declare const defaultTokenValues: {
|
|
|
69
79
|
readonly 'color.border.information': "#1D7AFC";
|
|
70
80
|
readonly 'color.border.focus': "#388BFF";
|
|
71
81
|
readonly 'color.border.neutral': "#091E4224";
|
|
82
|
+
readonly 'color.background.accent.blue.subtlest': "#E9F2FF";
|
|
83
|
+
readonly 'color.background.accent.blue.subtler': "#CCE0FF";
|
|
84
|
+
readonly 'color.background.accent.blue.subtle': "#579DFF";
|
|
85
|
+
readonly 'color.background.accent.blue.bolder': "#0C66E4";
|
|
72
86
|
readonly 'color.background.accent.blue': "#CCE0FF";
|
|
73
87
|
readonly 'color.background.accent.blue.bold': "#579DFF";
|
|
88
|
+
readonly 'color.background.accent.red.subtlest': "#FFEDEB";
|
|
89
|
+
readonly 'color.background.accent.red.subtler': "#FFD2CC";
|
|
90
|
+
readonly 'color.background.accent.red.subtle': "#F87462";
|
|
91
|
+
readonly 'color.background.accent.red.bolder': "#CA3521";
|
|
74
92
|
readonly 'color.background.accent.red': "#FFD2CC";
|
|
75
93
|
readonly 'color.background.accent.red.bold': "#F87462";
|
|
94
|
+
readonly 'color.background.accent.orange.subtlest': "#FFF4E5";
|
|
95
|
+
readonly 'color.background.accent.orange.subtler': "#FFE2BD";
|
|
96
|
+
readonly 'color.background.accent.orange.subtle': "#FAA53D";
|
|
97
|
+
readonly 'color.background.accent.orange.bolder': "#B65C02";
|
|
76
98
|
readonly 'color.background.accent.orange': "#FFE2BD";
|
|
77
99
|
readonly 'color.background.accent.orange.bold': "#FAA53D";
|
|
100
|
+
readonly 'color.background.accent.yellow.subtlest': "#FFF7D6";
|
|
101
|
+
readonly 'color.background.accent.yellow.subtler': "#F8E6A0";
|
|
102
|
+
readonly 'color.background.accent.yellow.subtle': "#E2B203";
|
|
103
|
+
readonly 'color.background.accent.yellow.bolder': "#946F00";
|
|
78
104
|
readonly 'color.background.accent.yellow': "#F8E6A0";
|
|
79
105
|
readonly 'color.background.accent.yellow.bold': "#E2B203";
|
|
106
|
+
readonly 'color.background.accent.green.subtlest': "#DFFCF0";
|
|
107
|
+
readonly 'color.background.accent.green.subtler': "#BAF3DB";
|
|
108
|
+
readonly 'color.background.accent.green.subtle': "#4BCE97";
|
|
109
|
+
readonly 'color.background.accent.green.bolder': "#1F845A";
|
|
80
110
|
readonly 'color.background.accent.green': "#BAF3DB";
|
|
81
111
|
readonly 'color.background.accent.green.bold': "#4BCE97";
|
|
112
|
+
readonly 'color.background.accent.teal.subtlest': "#E3FAFC";
|
|
113
|
+
readonly 'color.background.accent.teal.subtler': "#C1F0F5";
|
|
114
|
+
readonly 'color.background.accent.teal.subtle': "#60C6D2";
|
|
115
|
+
readonly 'color.background.accent.teal.bolder': "#1D7F8C";
|
|
82
116
|
readonly 'color.background.accent.teal': "#C1F0F5";
|
|
83
117
|
readonly 'color.background.accent.teal.bold': "#60C6D2";
|
|
118
|
+
readonly 'color.background.accent.purple.subtlest': "#F3F0FF";
|
|
119
|
+
readonly 'color.background.accent.purple.subtler': "#DFD8FD";
|
|
120
|
+
readonly 'color.background.accent.purple.subtle': "#9F8FEF";
|
|
121
|
+
readonly 'color.background.accent.purple.bolder': "#6E5DC6";
|
|
84
122
|
readonly 'color.background.accent.purple': "#DFD8FD";
|
|
85
123
|
readonly 'color.background.accent.purple.bold': "#9F8FEF";
|
|
124
|
+
readonly 'color.background.accent.magenta.subtlest': "#FFECF8";
|
|
125
|
+
readonly 'color.background.accent.magenta.subtler': "#FDD0EC";
|
|
126
|
+
readonly 'color.background.accent.magenta.subtle': "#E774BB";
|
|
127
|
+
readonly 'color.background.accent.magenta.bolder': "#AE4787";
|
|
86
128
|
readonly 'color.background.accent.magenta': "#FDD0EC";
|
|
87
129
|
readonly 'color.background.accent.magenta.bold': "#E774BB";
|
|
88
130
|
readonly 'color.background.disabled': "#091E420F";
|
|
@@ -99,12 +141,20 @@ declare const defaultTokenValues: {
|
|
|
99
141
|
readonly 'color.background.neutral.bold': "#44546F";
|
|
100
142
|
readonly 'color.background.neutral.bold.hovered': "#2C3E5D";
|
|
101
143
|
readonly 'color.background.neutral.bold.pressed': "#172B4D";
|
|
102
|
-
readonly 'color.background.brand': "#E9F2FF";
|
|
103
|
-
readonly 'color.background.brand.hovered': "#CCE0FF";
|
|
104
|
-
readonly 'color.background.brand.pressed': "#85B8FF";
|
|
105
144
|
readonly 'color.background.brand.bold': "#0C66E4";
|
|
106
145
|
readonly 'color.background.brand.bold.hovered': "#0055CC";
|
|
107
146
|
readonly 'color.background.brand.bold.pressed': "#09326C";
|
|
147
|
+
readonly 'color.background.brand': "#E9F2FF";
|
|
148
|
+
readonly 'color.background.brand.hovered': "#CCE0FF";
|
|
149
|
+
readonly 'color.background.brand.pressed': "#85B8FF";
|
|
150
|
+
readonly 'color.background.selected': "#E9F2FF";
|
|
151
|
+
readonly 'color.background.selected.hovered': "#CCE0FF";
|
|
152
|
+
readonly 'color.background.selected.pressed': "#85B8FF";
|
|
153
|
+
readonly 'color.background.selected.bold': "#0C66E4";
|
|
154
|
+
readonly 'color.background.selected.bold.hovered': "#0055CC";
|
|
155
|
+
readonly 'color.background.selected.bold.pressed': "#09326C";
|
|
156
|
+
readonly 'color.background.selected.resting': "#E9F2FF";
|
|
157
|
+
readonly 'color.background.selected.hover': "#CCE0FF";
|
|
108
158
|
readonly 'color.background.danger': "#FFEDEB";
|
|
109
159
|
readonly 'color.background.danger.hovered': "#FFD2CC";
|
|
110
160
|
readonly 'color.background.danger.pressed': "#FF9C8F";
|
|
@@ -157,9 +207,6 @@ declare const defaultTokenValues: {
|
|
|
157
207
|
readonly 'color.background.card': "#FFFFFF";
|
|
158
208
|
readonly 'color.background.default': "#FFFFFF";
|
|
159
209
|
readonly 'color.background.overlay': "#FFFFFF";
|
|
160
|
-
readonly 'color.background.selected.resting': "#E9F2FF";
|
|
161
|
-
readonly 'color.background.selected.hover': "#CCE0FF";
|
|
162
|
-
readonly 'color.background.selected.pressed': "#85B8FF";
|
|
163
210
|
readonly 'color.background.subtleBorderedNeutral.pressed': "#091E420F";
|
|
164
211
|
readonly 'color.background.subtleBorderedNeutral.resting': "#091E4208";
|
|
165
212
|
readonly 'color.background.subtleBrand.hover': "#CCE0FF";
|