@atlaskit/tokens 0.1.1 → 0.4.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 +39 -0
- package/README.md +28 -0
- package/babel-plugin/package.json +7 -0
- package/css/atlassian-dark.css +89 -88
- package/css/atlassian-light.css +89 -88
- package/dist/cjs/artifacts/rename-mapping.js +23 -0
- package/dist/cjs/artifacts/token-default-values.js +105 -0
- package/dist/cjs/artifacts/token-names.js +101 -0
- package/dist/cjs/artifacts/tokens-raw/atlassian-dark.js +1786 -0
- package/dist/cjs/artifacts/tokens-raw/atlassian-light.js +1766 -0
- package/dist/cjs/artifacts/types.js +5 -0
- package/dist/cjs/babel-plugin/index.js +15 -0
- package/dist/cjs/babel-plugin/plugin.js +176 -0
- package/dist/cjs/entry-points/rename-mapping.js +1 -1
- package/dist/cjs/entry-points/token-names.js +1 -1
- package/dist/cjs/figma/synchronize-figma-tokens.js +43 -41
- package/dist/cjs/get-token.js +1 -1
- package/dist/cjs/tokens/atlassian-dark/utility/utility.js +3 -0
- package/dist/cjs/tokens/atlassian-light/utility/utility.js +3 -0
- package/dist/cjs/tokens/default/color/accent.js +26 -13
- package/dist/cjs/tokens/default/color/background.js +98 -49
- package/dist/cjs/tokens/default/color/border.js +4 -2
- package/dist/cjs/tokens/default/color/icon-border.js +10 -5
- package/dist/cjs/tokens/default/color/overlay.js +4 -2
- package/dist/cjs/tokens/default/color/text.js +28 -14
- package/dist/cjs/tokens/default/shadow/shadow.js +4 -2
- package/dist/cjs/tokens/default/utility/utility.js +10 -2
- package/dist/cjs/tokens/palette.js +145 -260
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/artifacts/rename-mapping.js +16 -0
- package/dist/es2019/artifacts/token-default-values.js +98 -0
- package/dist/es2019/artifacts/token-names.js +94 -0
- package/dist/es2019/artifacts/tokens-raw/atlassian-dark.js +1779 -0
- package/dist/es2019/artifacts/tokens-raw/atlassian-light.js +1759 -0
- package/dist/es2019/artifacts/types.js +1 -0
- package/dist/es2019/babel-plugin/index.js +1 -0
- package/dist/es2019/babel-plugin/plugin.js +151 -0
- package/dist/es2019/entry-points/rename-mapping.js +1 -1
- package/dist/es2019/entry-points/token-names.js +1 -1
- package/dist/es2019/figma/synchronize-figma-tokens.js +43 -41
- package/dist/es2019/get-token.js +1 -1
- package/dist/es2019/tokens/atlassian-dark/utility/utility.js +3 -0
- package/dist/es2019/tokens/atlassian-light/utility/utility.js +3 -0
- package/dist/es2019/tokens/default/color/accent.js +26 -13
- package/dist/es2019/tokens/default/color/background.js +103 -49
- package/dist/es2019/tokens/default/color/border.js +4 -2
- package/dist/es2019/tokens/default/color/icon-border.js +28 -5
- package/dist/es2019/tokens/default/color/overlay.js +4 -2
- package/dist/es2019/tokens/default/color/text.js +35 -14
- package/dist/es2019/tokens/default/shadow/shadow.js +12 -2
- package/dist/es2019/tokens/default/utility/utility.js +10 -2
- package/dist/es2019/tokens/palette.js +145 -260
- package/dist/es2019/version.json +1 -1
- package/dist/esm/artifacts/rename-mapping.js +16 -0
- package/dist/esm/artifacts/token-default-values.js +98 -0
- package/dist/esm/artifacts/token-names.js +94 -0
- package/dist/esm/artifacts/tokens-raw/atlassian-dark.js +1779 -0
- package/dist/esm/artifacts/tokens-raw/atlassian-light.js +1759 -0
- package/dist/esm/artifacts/types.js +1 -0
- package/dist/esm/babel-plugin/index.js +1 -0
- package/dist/esm/babel-plugin/plugin.js +158 -0
- package/dist/esm/entry-points/rename-mapping.js +1 -1
- package/dist/esm/entry-points/token-names.js +1 -1
- package/dist/esm/figma/synchronize-figma-tokens.js +43 -41
- package/dist/esm/get-token.js +1 -1
- package/dist/esm/tokens/atlassian-dark/utility/utility.js +3 -0
- package/dist/esm/tokens/atlassian-light/utility/utility.js +3 -0
- package/dist/esm/tokens/default/color/accent.js +26 -13
- package/dist/esm/tokens/default/color/background.js +98 -49
- package/dist/esm/tokens/default/color/border.js +4 -2
- package/dist/esm/tokens/default/color/icon-border.js +10 -5
- package/dist/esm/tokens/default/color/overlay.js +4 -2
- package/dist/esm/tokens/default/color/text.js +28 -14
- package/dist/esm/tokens/default/shadow/shadow.js +4 -2
- package/dist/esm/tokens/default/utility/utility.js +10 -2
- package/dist/esm/tokens/palette.js +145 -260
- package/dist/esm/version.json +1 -1
- package/dist/types/artifacts/rename-mapping.d.ts +17 -0
- package/dist/types/artifacts/token-default-values.d.ts +95 -0
- package/dist/types/artifacts/token-names.d.ts +184 -0
- package/dist/types/artifacts/tokens-raw/atlassian-dark.d.ts +80 -0
- package/dist/types/artifacts/tokens-raw/atlassian-light.d.ts +56 -0
- package/dist/types/artifacts/types.d.ts +4 -0
- package/dist/types/babel-plugin/index.d.ts +1 -0
- package/dist/types/babel-plugin/plugin.d.ts +14 -0
- package/dist/types/entry-points/babel-plugin.d.ts +1 -0
- package/dist/types/entry-points/rename-mapping.d.ts +1 -1
- package/dist/types/entry-points/token-names.d.ts +2 -2
- package/dist/types/get-token.d.ts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/tokens/atlassian-dark/utility/utility.d.ts +10 -2
- package/dist/types/tokens/atlassian-light/utility/utility.d.ts +10 -2
- package/dist/types/tokens/default/utility/utility.d.ts +138 -2
- package/dist/types/types.d.ts +49 -14
- package/package.json +17 -5
- package/tokens-browser-extension/README.md +28 -0
- package/tokens-browser-extension/atlassian-theme.css +375 -0
- package/tokens-browser-extension/background.js +75 -0
- package/tokens-browser-extension/content-script.js +75 -0
- package/tokens-browser-extension/devtools.html +1 -0
- package/tokens-browser-extension/devtools.js +14 -0
- package/tokens-browser-extension/manifest.json +36 -0
- package/tokens-browser-extension/messageback-script.js +10 -0
- package/tokens-browser-extension/messaging.js +36 -0
- package/tokens-browser-extension/panel.html +25 -0
- package/tokens-browser-extension/panel.js +46 -0
- package/tokens-browser-extension/toast.png +0 -0
- package/dist/cjs/tokens/rename-mapping.js +0 -29
- package/dist/cjs/tokens/token-names.js +0 -100
- package/dist/es2019/tokens/rename-mapping.js +0 -21
- package/dist/es2019/tokens/token-names.js +0 -93
- package/dist/esm/tokens/rename-mapping.js +0 -21
- package/dist/esm/tokens/token-names.js +0 -93
- package/dist/types/tokens/rename-mapping.d.ts +0 -24
- package/dist/types/tokens/token-names.d.ts +0 -182
|
@@ -10,76 +10,88 @@ var color = {
|
|
|
10
10
|
sunken: {
|
|
11
11
|
attributes: {
|
|
12
12
|
group: 'paint',
|
|
13
|
-
|
|
13
|
+
state: 'active',
|
|
14
|
+
description: 'Use as a secondary background for the UI'
|
|
14
15
|
}
|
|
15
16
|
},
|
|
16
17
|
default: {
|
|
17
18
|
attributes: {
|
|
18
19
|
group: 'paint',
|
|
19
|
-
|
|
20
|
+
state: 'active',
|
|
21
|
+
description: 'Use as the primary background for the UI'
|
|
20
22
|
}
|
|
21
23
|
},
|
|
22
24
|
card: {
|
|
23
25
|
attributes: {
|
|
24
26
|
group: 'paint',
|
|
25
|
-
|
|
27
|
+
state: 'active',
|
|
28
|
+
description: 'Use for the background of raised cards, such as Jira cards on a Kanban board.\nCombine with shadow.card.'
|
|
26
29
|
}
|
|
27
30
|
},
|
|
28
31
|
overlay: {
|
|
29
32
|
attributes: {
|
|
30
33
|
group: 'paint',
|
|
31
|
-
|
|
34
|
+
state: 'active',
|
|
35
|
+
description: "\nUse for the background of overlay elements, such as modals, dropdown menus, flags, and inline dialogs (i.e. elements that sit on top of the UI).\n\nAlso use for the background of raised cards in a dragged state.\n\nCombine with shadow.overlay."
|
|
32
36
|
}
|
|
33
37
|
},
|
|
34
38
|
selected: {
|
|
35
39
|
resting: {
|
|
36
40
|
attributes: {
|
|
37
41
|
group: 'paint',
|
|
38
|
-
|
|
42
|
+
state: 'active',
|
|
43
|
+
description: 'Use for backgrounds of elements in a selected state'
|
|
39
44
|
}
|
|
40
45
|
},
|
|
41
46
|
hover: {
|
|
42
47
|
attributes: {
|
|
43
48
|
group: 'paint',
|
|
44
|
-
|
|
49
|
+
state: 'active',
|
|
50
|
+
description: 'Hover state of background.selected'
|
|
45
51
|
}
|
|
46
52
|
},
|
|
47
53
|
pressed: {
|
|
48
54
|
attributes: {
|
|
49
55
|
group: 'paint',
|
|
50
|
-
|
|
56
|
+
state: 'active',
|
|
57
|
+
description: 'Pressed state of background.selected'
|
|
51
58
|
}
|
|
52
59
|
}
|
|
53
60
|
},
|
|
54
61
|
blanket: {
|
|
55
62
|
attributes: {
|
|
56
63
|
group: 'paint',
|
|
57
|
-
|
|
64
|
+
state: 'active',
|
|
65
|
+
description: 'Use for the screen overlay that appears with modal dialogs'
|
|
58
66
|
}
|
|
59
67
|
},
|
|
60
68
|
disabled: {
|
|
61
69
|
attributes: {
|
|
62
70
|
group: 'paint',
|
|
63
|
-
|
|
71
|
+
state: 'active',
|
|
72
|
+
description: 'Use for backgrounds of elements in a disabled state'
|
|
64
73
|
}
|
|
65
74
|
},
|
|
66
75
|
boldBrand: {
|
|
67
76
|
resting: {
|
|
68
77
|
attributes: {
|
|
69
78
|
group: 'paint',
|
|
70
|
-
|
|
79
|
+
state: 'active',
|
|
80
|
+
description: 'A vibrant background for small UI elements like primary buttons and bold in progress lozenges.'
|
|
71
81
|
}
|
|
72
82
|
},
|
|
73
83
|
hover: {
|
|
74
84
|
attributes: {
|
|
75
85
|
group: 'paint',
|
|
76
|
-
|
|
86
|
+
state: 'active',
|
|
87
|
+
description: 'Hover state of background.boldBrand'
|
|
77
88
|
}
|
|
78
89
|
},
|
|
79
90
|
pressed: {
|
|
80
91
|
attributes: {
|
|
81
92
|
group: 'paint',
|
|
82
|
-
|
|
93
|
+
state: 'active',
|
|
94
|
+
description: 'Pressed state of background.boldBrand'
|
|
83
95
|
}
|
|
84
96
|
}
|
|
85
97
|
},
|
|
@@ -87,19 +99,22 @@ var color = {
|
|
|
87
99
|
resting: {
|
|
88
100
|
attributes: {
|
|
89
101
|
group: 'paint',
|
|
90
|
-
|
|
102
|
+
state: 'active',
|
|
103
|
+
description: 'Use for subdued backgrounds of UI elements like information section messages and in progress lozenges.'
|
|
91
104
|
}
|
|
92
105
|
},
|
|
93
106
|
hover: {
|
|
94
107
|
attributes: {
|
|
95
108
|
group: 'paint',
|
|
96
|
-
|
|
109
|
+
state: 'active',
|
|
110
|
+
description: 'Hover state for background.subtleBrand'
|
|
97
111
|
}
|
|
98
112
|
},
|
|
99
113
|
pressed: {
|
|
100
114
|
attributes: {
|
|
101
115
|
group: 'paint',
|
|
102
|
-
|
|
116
|
+
state: 'active',
|
|
117
|
+
description: 'Pressed state for background.subtleBrand'
|
|
103
118
|
}
|
|
104
119
|
}
|
|
105
120
|
},
|
|
@@ -107,19 +122,22 @@ var color = {
|
|
|
107
122
|
resting: {
|
|
108
123
|
attributes: {
|
|
109
124
|
group: 'paint',
|
|
110
|
-
|
|
125
|
+
state: 'active',
|
|
126
|
+
description: 'A vibrant background for small UI elements like danger buttons and bold removed lozenges.'
|
|
111
127
|
}
|
|
112
128
|
},
|
|
113
129
|
hover: {
|
|
114
130
|
attributes: {
|
|
115
131
|
group: 'paint',
|
|
116
|
-
|
|
132
|
+
state: 'active',
|
|
133
|
+
description: 'Hover state of background.boldDanger'
|
|
117
134
|
}
|
|
118
135
|
},
|
|
119
136
|
pressed: {
|
|
120
137
|
attributes: {
|
|
121
138
|
group: 'paint',
|
|
122
|
-
|
|
139
|
+
state: 'active',
|
|
140
|
+
description: 'Pressed state of background.boldDanger'
|
|
123
141
|
}
|
|
124
142
|
}
|
|
125
143
|
},
|
|
@@ -127,19 +145,22 @@ var color = {
|
|
|
127
145
|
resting: {
|
|
128
146
|
attributes: {
|
|
129
147
|
group: 'paint',
|
|
130
|
-
|
|
148
|
+
state: 'active',
|
|
149
|
+
description: 'Use for subdued backgrounds of UI elements like error section messages and removed lozenges.'
|
|
131
150
|
}
|
|
132
151
|
},
|
|
133
152
|
hover: {
|
|
134
153
|
attributes: {
|
|
135
154
|
group: 'paint',
|
|
136
|
-
|
|
155
|
+
state: 'active',
|
|
156
|
+
description: 'Hover state for background.subtleDanger'
|
|
137
157
|
}
|
|
138
158
|
},
|
|
139
159
|
pressed: {
|
|
140
160
|
attributes: {
|
|
141
161
|
group: 'paint',
|
|
142
|
-
|
|
162
|
+
state: 'active',
|
|
163
|
+
description: 'Pressed state for background.subtleDanger'
|
|
143
164
|
}
|
|
144
165
|
}
|
|
145
166
|
},
|
|
@@ -147,19 +168,22 @@ var color = {
|
|
|
147
168
|
resting: {
|
|
148
169
|
attributes: {
|
|
149
170
|
group: 'paint',
|
|
150
|
-
|
|
171
|
+
state: 'active',
|
|
172
|
+
description: 'A vibrant background for small UI elements like warning buttons and bold moved lozenges.'
|
|
151
173
|
}
|
|
152
174
|
},
|
|
153
175
|
hover: {
|
|
154
176
|
attributes: {
|
|
155
177
|
group: 'paint',
|
|
156
|
-
|
|
178
|
+
state: 'active',
|
|
179
|
+
description: 'Hover state of background.boldWarning'
|
|
157
180
|
}
|
|
158
181
|
},
|
|
159
182
|
pressed: {
|
|
160
183
|
attributes: {
|
|
161
184
|
group: 'paint',
|
|
162
|
-
|
|
185
|
+
state: 'active',
|
|
186
|
+
description: 'Pressed state of background.boldWarning'
|
|
163
187
|
}
|
|
164
188
|
}
|
|
165
189
|
},
|
|
@@ -167,19 +191,22 @@ var color = {
|
|
|
167
191
|
resting: {
|
|
168
192
|
attributes: {
|
|
169
193
|
group: 'paint',
|
|
170
|
-
|
|
194
|
+
state: 'active',
|
|
195
|
+
description: 'Use for subdued backgrounds of UI elements like warning section messages and moved lozenges.'
|
|
171
196
|
}
|
|
172
197
|
},
|
|
173
198
|
hover: {
|
|
174
199
|
attributes: {
|
|
175
200
|
group: 'paint',
|
|
176
|
-
|
|
201
|
+
state: 'active',
|
|
202
|
+
description: 'Hover state for background.subtleWarning'
|
|
177
203
|
}
|
|
178
204
|
},
|
|
179
205
|
pressed: {
|
|
180
206
|
attributes: {
|
|
181
207
|
group: 'paint',
|
|
182
|
-
|
|
208
|
+
state: 'active',
|
|
209
|
+
description: 'Pressed state for background.subtleWarning'
|
|
183
210
|
}
|
|
184
211
|
}
|
|
185
212
|
},
|
|
@@ -187,19 +214,22 @@ var color = {
|
|
|
187
214
|
resting: {
|
|
188
215
|
attributes: {
|
|
189
216
|
group: 'paint',
|
|
190
|
-
|
|
217
|
+
state: 'active',
|
|
218
|
+
description: 'A vibrant background for small UI elements like checked toggles and bold success lozenges.'
|
|
191
219
|
}
|
|
192
220
|
},
|
|
193
221
|
hover: {
|
|
194
222
|
attributes: {
|
|
195
223
|
group: 'paint',
|
|
196
|
-
|
|
224
|
+
state: 'active',
|
|
225
|
+
description: 'Hover state of background.boldSuccess'
|
|
197
226
|
}
|
|
198
227
|
},
|
|
199
228
|
pressed: {
|
|
200
229
|
attributes: {
|
|
201
230
|
group: 'paint',
|
|
202
|
-
|
|
231
|
+
state: 'active',
|
|
232
|
+
description: 'Pressed state of background.boldSuccess'
|
|
203
233
|
}
|
|
204
234
|
}
|
|
205
235
|
},
|
|
@@ -207,19 +237,22 @@ var color = {
|
|
|
207
237
|
resting: {
|
|
208
238
|
attributes: {
|
|
209
239
|
group: 'paint',
|
|
210
|
-
|
|
240
|
+
state: 'active',
|
|
241
|
+
description: 'Use for subdued backgrounds of UI elements like success section messages and success lozenges. '
|
|
211
242
|
}
|
|
212
243
|
},
|
|
213
244
|
hover: {
|
|
214
245
|
attributes: {
|
|
215
246
|
group: 'paint',
|
|
216
|
-
|
|
247
|
+
state: 'active',
|
|
248
|
+
description: 'Hover state for background.subtleSuccess'
|
|
217
249
|
}
|
|
218
250
|
},
|
|
219
251
|
pressed: {
|
|
220
252
|
attributes: {
|
|
221
253
|
group: 'paint',
|
|
222
|
-
|
|
254
|
+
state: 'active',
|
|
255
|
+
description: 'Pressed state for background.subtleSuccess'
|
|
223
256
|
}
|
|
224
257
|
}
|
|
225
258
|
},
|
|
@@ -227,19 +260,22 @@ var color = {
|
|
|
227
260
|
resting: {
|
|
228
261
|
attributes: {
|
|
229
262
|
group: 'paint',
|
|
230
|
-
|
|
263
|
+
state: 'active',
|
|
264
|
+
description: 'A vibrant background for small UI elements like onboarding buttons and bold new lozenges.'
|
|
231
265
|
}
|
|
232
266
|
},
|
|
233
267
|
hover: {
|
|
234
268
|
attributes: {
|
|
235
269
|
group: 'paint',
|
|
236
|
-
|
|
270
|
+
state: 'active',
|
|
271
|
+
description: 'Hover state of background.boldDiscovery'
|
|
237
272
|
}
|
|
238
273
|
},
|
|
239
274
|
pressed: {
|
|
240
275
|
attributes: {
|
|
241
276
|
group: 'paint',
|
|
242
|
-
|
|
277
|
+
state: 'active',
|
|
278
|
+
description: 'Pressed state of background.boldDiscovery'
|
|
243
279
|
}
|
|
244
280
|
}
|
|
245
281
|
},
|
|
@@ -247,19 +283,22 @@ var color = {
|
|
|
247
283
|
resting: {
|
|
248
284
|
attributes: {
|
|
249
285
|
group: 'paint',
|
|
250
|
-
|
|
286
|
+
state: 'active',
|
|
287
|
+
description: 'Use for subdued backgrounds of UI elements like discovery section messages and new lozenges.'
|
|
251
288
|
}
|
|
252
289
|
},
|
|
253
290
|
hover: {
|
|
254
291
|
attributes: {
|
|
255
292
|
group: 'paint',
|
|
256
|
-
|
|
293
|
+
state: 'active',
|
|
294
|
+
description: 'Hover state for background.subtleDiscovery'
|
|
257
295
|
}
|
|
258
296
|
},
|
|
259
297
|
pressed: {
|
|
260
298
|
attributes: {
|
|
261
299
|
group: 'paint',
|
|
262
|
-
|
|
300
|
+
state: 'active',
|
|
301
|
+
description: 'Pressed state for background.subtleDiscovery'
|
|
263
302
|
}
|
|
264
303
|
}
|
|
265
304
|
},
|
|
@@ -267,19 +306,22 @@ var color = {
|
|
|
267
306
|
resting: {
|
|
268
307
|
attributes: {
|
|
269
308
|
group: 'paint',
|
|
270
|
-
|
|
309
|
+
state: 'active',
|
|
310
|
+
description: 'A vibrant background for small UI elements like unchecked toggles and bold default lozenges.'
|
|
271
311
|
}
|
|
272
312
|
},
|
|
273
313
|
hover: {
|
|
274
314
|
attributes: {
|
|
275
315
|
group: 'paint',
|
|
276
|
-
|
|
316
|
+
state: 'active',
|
|
317
|
+
description: 'Hover state of background.boldNeutral'
|
|
277
318
|
}
|
|
278
319
|
},
|
|
279
320
|
pressed: {
|
|
280
321
|
attributes: {
|
|
281
322
|
group: 'paint',
|
|
282
|
-
|
|
323
|
+
state: 'active',
|
|
324
|
+
description: 'Pressed state of background.boldNeutral'
|
|
283
325
|
}
|
|
284
326
|
}
|
|
285
327
|
},
|
|
@@ -287,13 +329,15 @@ var color = {
|
|
|
287
329
|
hover: {
|
|
288
330
|
attributes: {
|
|
289
331
|
group: 'paint',
|
|
290
|
-
|
|
332
|
+
state: 'active',
|
|
333
|
+
description: 'Hover state for UIs that don’t have a default background, such as menu items or subtle buttons.'
|
|
291
334
|
}
|
|
292
335
|
},
|
|
293
336
|
pressed: {
|
|
294
337
|
attributes: {
|
|
295
338
|
group: 'paint',
|
|
296
|
-
|
|
339
|
+
state: 'active',
|
|
340
|
+
description: 'Pressed state for UIs that don’t have a default background, such as menu items or subtle buttons.'
|
|
297
341
|
}
|
|
298
342
|
}
|
|
299
343
|
},
|
|
@@ -301,19 +345,22 @@ var color = {
|
|
|
301
345
|
resting: {
|
|
302
346
|
attributes: {
|
|
303
347
|
group: 'paint',
|
|
304
|
-
|
|
348
|
+
state: 'active',
|
|
349
|
+
description: 'Use as the default background of UI elements like buttons, lozenges, and tags.'
|
|
305
350
|
}
|
|
306
351
|
},
|
|
307
352
|
hover: {
|
|
308
353
|
attributes: {
|
|
309
354
|
group: 'paint',
|
|
310
|
-
|
|
355
|
+
state: 'active',
|
|
356
|
+
description: 'Hover state for background.subtleNeutral'
|
|
311
357
|
}
|
|
312
358
|
},
|
|
313
359
|
pressed: {
|
|
314
360
|
attributes: {
|
|
315
361
|
group: 'paint',
|
|
316
|
-
|
|
362
|
+
state: 'active',
|
|
363
|
+
description: 'Pressed state for background.subtleNeutral'
|
|
317
364
|
}
|
|
318
365
|
}
|
|
319
366
|
},
|
|
@@ -321,13 +368,15 @@ var color = {
|
|
|
321
368
|
resting: {
|
|
322
369
|
attributes: {
|
|
323
370
|
group: 'paint',
|
|
324
|
-
|
|
371
|
+
state: 'active',
|
|
372
|
+
description: 'Hover state for background.subtleBorderedNeutral'
|
|
325
373
|
}
|
|
326
374
|
},
|
|
327
375
|
pressed: {
|
|
328
376
|
attributes: {
|
|
329
377
|
group: 'paint',
|
|
330
|
-
|
|
378
|
+
state: 'active',
|
|
379
|
+
description: 'Pressed state for background.subtleBorderedNeutral'
|
|
331
380
|
}
|
|
332
381
|
}
|
|
333
382
|
}
|
|
@@ -10,13 +10,15 @@ var color = {
|
|
|
10
10
|
focus: {
|
|
11
11
|
attributes: {
|
|
12
12
|
group: 'paint',
|
|
13
|
-
|
|
13
|
+
state: 'active',
|
|
14
|
+
description: 'Use for focus rings of elements in a focus state'
|
|
14
15
|
}
|
|
15
16
|
},
|
|
16
17
|
neutral: {
|
|
17
18
|
attributes: {
|
|
18
19
|
group: 'paint',
|
|
19
|
-
|
|
20
|
+
state: 'active',
|
|
21
|
+
description: 'Use to create borders around UI elements such as text fields, checkboxes, and radio buttons, or to visually group or separate UI elements, such as flat cards or side panel dividers'
|
|
20
22
|
}
|
|
21
23
|
}
|
|
22
24
|
}
|
|
@@ -10,31 +10,36 @@ var color = {
|
|
|
10
10
|
brand: {
|
|
11
11
|
attributes: {
|
|
12
12
|
group: 'paint',
|
|
13
|
-
|
|
13
|
+
state: 'active',
|
|
14
|
+
description: "\nUse rarely for icons or borders representing brand, in-progress, or information, such as the icons in information sections messages.\n\nAlso use for blue icons or borders when there is no meaning tied to the color, such as file type icons."
|
|
14
15
|
}
|
|
15
16
|
},
|
|
16
17
|
danger: {
|
|
17
18
|
attributes: {
|
|
18
19
|
group: 'paint',
|
|
19
|
-
|
|
20
|
+
state: 'active',
|
|
21
|
+
description: "\nUse rarely for icons and borders representing critical information, such the icons in error section messages or the borders on invalid text fields.\n\nAlso use for red icons or borders when there is no meaning tied to the color, such as file type icons."
|
|
20
22
|
}
|
|
21
23
|
},
|
|
22
24
|
warning: {
|
|
23
25
|
attributes: {
|
|
24
26
|
group: 'paint',
|
|
25
|
-
|
|
27
|
+
state: 'active',
|
|
28
|
+
description: "\nUse rarely for icons and borders representing semi-urgent information, such as the icons in warning section messages.\n\nAlso use for yellow icons or borders when there is no meaning tied to the color, such as file type icons.\n"
|
|
26
29
|
}
|
|
27
30
|
},
|
|
28
31
|
success: {
|
|
29
32
|
attributes: {
|
|
30
33
|
group: 'paint',
|
|
31
|
-
|
|
34
|
+
state: 'active',
|
|
35
|
+
description: "\nUse rarely for icons and borders representing positive information, such as the icons in success section messages or the borders on validated text fields.\n\nAlso use for green icons or borders when there is no meaning tied to the color, such as file type icons.\n"
|
|
32
36
|
}
|
|
33
37
|
},
|
|
34
38
|
discovery: {
|
|
35
39
|
attributes: {
|
|
36
40
|
group: 'paint',
|
|
37
|
-
|
|
41
|
+
state: 'active',
|
|
42
|
+
description: "\nUse rarely for icons and borders representing new information, such as the icons in discovery section mesages or the borders in onboarding spotlights.\n\nAlso use for purple icons or borders when there is no meaning tied to the color, such as file type icons.\n"
|
|
38
43
|
}
|
|
39
44
|
}
|
|
40
45
|
}
|
|
@@ -10,13 +10,15 @@ var color = {
|
|
|
10
10
|
hover: {
|
|
11
11
|
attributes: {
|
|
12
12
|
group: 'paint',
|
|
13
|
-
|
|
13
|
+
state: 'active',
|
|
14
|
+
description: 'Use as a background overlay for elements in a hover state when their background color cannot change, such as avatars.'
|
|
14
15
|
}
|
|
15
16
|
},
|
|
16
17
|
pressed: {
|
|
17
18
|
attributes: {
|
|
18
19
|
group: 'paint',
|
|
19
|
-
|
|
20
|
+
state: 'active',
|
|
21
|
+
description: 'Use as a background overlay for elements in a pressed state when their background color cannot change, such as avatars.'
|
|
20
22
|
}
|
|
21
23
|
}
|
|
22
24
|
}
|
|
@@ -10,87 +10,101 @@ var color = {
|
|
|
10
10
|
selected: {
|
|
11
11
|
attributes: {
|
|
12
12
|
group: 'paint',
|
|
13
|
-
|
|
13
|
+
state: 'active',
|
|
14
|
+
description: 'Use for text, icons, borders, or other visual indicators in selected states'
|
|
14
15
|
}
|
|
15
16
|
},
|
|
16
17
|
highEmphasis: {
|
|
17
18
|
attributes: {
|
|
18
19
|
group: 'paint',
|
|
19
|
-
|
|
20
|
+
state: 'active',
|
|
21
|
+
description: 'Use for primary text, such as body copy, sentence case headers, and buttons'
|
|
20
22
|
}
|
|
21
23
|
},
|
|
22
24
|
mediumEmphasis: {
|
|
23
25
|
attributes: {
|
|
24
26
|
group: 'paint',
|
|
25
|
-
|
|
27
|
+
state: 'active',
|
|
28
|
+
description: "\nUse for secondary text, such navigation, subtle button links, input field labels, and all caps subheadings.\n\nUse for icon-only buttons, or icons paired with text.highEmphasis text\n "
|
|
26
29
|
}
|
|
27
30
|
},
|
|
28
31
|
lowEmphasis: {
|
|
29
32
|
attributes: {
|
|
30
33
|
group: 'paint',
|
|
31
|
-
|
|
34
|
+
state: 'active',
|
|
35
|
+
description: "\nUse for tertiary text, such as meta-data, breadcrumbs, input field placeholder and helper text.\n\nUse for icons that are paired with text.medEmphasis text"
|
|
32
36
|
}
|
|
33
37
|
},
|
|
34
38
|
onBold: {
|
|
35
39
|
attributes: {
|
|
36
40
|
group: 'paint',
|
|
37
|
-
|
|
41
|
+
state: 'active',
|
|
42
|
+
description: 'Use for text and icons when on bold backgrounds'
|
|
38
43
|
}
|
|
39
44
|
},
|
|
40
45
|
onBoldWarning: {
|
|
41
46
|
attributes: {
|
|
42
47
|
group: 'paint',
|
|
43
|
-
|
|
48
|
+
state: 'active',
|
|
49
|
+
description: 'Use for text and icons when on bold warning backgrounds'
|
|
44
50
|
}
|
|
45
51
|
},
|
|
46
52
|
link: {
|
|
47
53
|
resting: {
|
|
48
54
|
attributes: {
|
|
49
55
|
group: 'paint',
|
|
50
|
-
|
|
56
|
+
state: 'active',
|
|
57
|
+
description: 'Use for links in a resting or hover state. Add an underline for hover states'
|
|
51
58
|
}
|
|
52
59
|
},
|
|
53
60
|
pressed: {
|
|
54
61
|
attributes: {
|
|
55
62
|
group: 'paint',
|
|
56
|
-
|
|
63
|
+
state: 'active',
|
|
64
|
+
description: 'Use for links in a pressed state'
|
|
57
65
|
}
|
|
58
66
|
}
|
|
59
67
|
},
|
|
60
68
|
brand: {
|
|
61
69
|
attributes: {
|
|
62
70
|
group: 'paint',
|
|
63
|
-
|
|
71
|
+
state: 'active',
|
|
72
|
+
description: 'Use rarely for text on subtle brand backgrounds, such as in progress lozenges, or on subtle blue accent backgrounds, such as colored tags.'
|
|
64
73
|
}
|
|
65
74
|
},
|
|
66
75
|
warning: {
|
|
67
76
|
attributes: {
|
|
68
77
|
group: 'paint',
|
|
69
|
-
|
|
78
|
+
state: 'active',
|
|
79
|
+
description: 'Use rarely for text on subtle warning backgrounds, such as in lozenges, or text on subtle warning backgrounds, such as in moved lozenges'
|
|
70
80
|
}
|
|
71
81
|
},
|
|
72
82
|
danger: {
|
|
73
83
|
attributes: {
|
|
74
84
|
group: 'paint',
|
|
75
|
-
|
|
85
|
+
state: 'active',
|
|
86
|
+
description: 'Use rarely for critical text, such as input field error messaging, or text on subtle danger backgrounds, such as in removed lozenges, or text on subtle red accent backgrounds, such as colored tags.'
|
|
76
87
|
}
|
|
77
88
|
},
|
|
78
89
|
success: {
|
|
79
90
|
attributes: {
|
|
80
91
|
group: 'paint',
|
|
81
|
-
|
|
92
|
+
state: 'active',
|
|
93
|
+
description: 'Use rarely for positive text, such as input field success messaging, or text on subtle success backgrounds, such as in success lozenges, or text on subtle green accent backgrounds, such as colored tags.'
|
|
82
94
|
}
|
|
83
95
|
},
|
|
84
96
|
discovery: {
|
|
85
97
|
attributes: {
|
|
86
98
|
group: 'paint',
|
|
87
|
-
|
|
99
|
+
state: 'active',
|
|
100
|
+
description: 'Use rarely for text on subtle discovery backgrounds, such as in new lozenges, or text on subtle purple accent backgrounds, such as colored tags.'
|
|
88
101
|
}
|
|
89
102
|
},
|
|
90
103
|
disabled: {
|
|
91
104
|
attributes: {
|
|
92
105
|
group: 'paint',
|
|
93
|
-
|
|
106
|
+
state: 'active',
|
|
107
|
+
description: 'Use for text and icons in disabled states'
|
|
94
108
|
}
|
|
95
109
|
}
|
|
96
110
|
}
|
|
@@ -9,13 +9,15 @@ var shadow = {
|
|
|
9
9
|
card: {
|
|
10
10
|
attributes: {
|
|
11
11
|
group: 'shadow',
|
|
12
|
-
|
|
12
|
+
state: 'active',
|
|
13
|
+
description: "\nUse for the box shadow of raised card elements, such as Jira cards on a Kanban board.\n\nCombine with background.overlay"
|
|
13
14
|
}
|
|
14
15
|
},
|
|
15
16
|
overlay: {
|
|
16
17
|
attributes: {
|
|
17
18
|
group: 'shadow',
|
|
18
|
-
|
|
19
|
+
state: 'active',
|
|
20
|
+
description: "\nUse for the box shadow of overlay elements, such as modals, dropdown menus, flags, and inline dialogs (i.e. elements that sit on top of the UI).\n\nAlso use for the box shadow of raised cards in a dragged state.\n\nCombine with background.overlay"
|
|
19
21
|
}
|
|
20
22
|
}
|
|
21
23
|
}
|
|
@@ -8,8 +8,16 @@ var utility = {
|
|
|
8
8
|
UNSAFE_util: {
|
|
9
9
|
transparent: {
|
|
10
10
|
attributes: {
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
group: 'raw',
|
|
12
|
+
state: 'active',
|
|
13
|
+
description: 'Transparent token used for backwards compatibility between new and old theming solutions'
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
MISSING_TOKEN: {
|
|
17
|
+
attributes: {
|
|
18
|
+
group: 'raw',
|
|
19
|
+
state: 'active',
|
|
20
|
+
description: 'Used as a placeholder when a suitable token does not exist'
|
|
13
21
|
}
|
|
14
22
|
}
|
|
15
23
|
}
|