@abgov/design-tokens 1.3.0 → 1.4.0-dev.1
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/data/component-design-tokens/accordion-design-tokens.json +54 -0
- package/data/component-design-tokens/button-design-tokens.json +26 -0
- package/data/component-design-tokens/callout-design-tokens.json +122 -0
- package/data/component-design-tokens/container-design-tokens.json +18 -0
- package/data/component-design-tokens/side-menu-design-tokens.json +46 -0
- package/data/component-design-tokens/table-design-tokens.json +10 -0
- package/data/goa-global-design-tokens.json +756 -0
- package/dist/tokens.css +116 -67
- package/dist/tokens.scss +117 -68
- package/lib/design-tokens.js +16 -0
- package/package.json +1 -1
- package/data/global-ddi.json +0 -851
package/data/global-ddi.json
DELETED
|
@@ -1,851 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"color": {
|
|
3
|
-
"brand": {
|
|
4
|
-
"default": {
|
|
5
|
-
"value": "#0081A2",
|
|
6
|
-
"type": "color",
|
|
7
|
-
"description": "Teal GOA color"
|
|
8
|
-
},
|
|
9
|
-
"dark": {
|
|
10
|
-
"value": "#005072",
|
|
11
|
-
"type": "color",
|
|
12
|
-
"description": "Dark GOA brand color"
|
|
13
|
-
},
|
|
14
|
-
"light": {
|
|
15
|
-
"value": "#C8EEFA",
|
|
16
|
-
"type": "color",
|
|
17
|
-
"description": "Light GOA brand color"
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
"interactive": {
|
|
21
|
-
"default": {
|
|
22
|
-
"value": "#0070C4",
|
|
23
|
-
"type": "color",
|
|
24
|
-
"description": "Default color for interactive elements."
|
|
25
|
-
},
|
|
26
|
-
"hover": {
|
|
27
|
-
"value": "#004F84",
|
|
28
|
-
"type": "color",
|
|
29
|
-
"description": "Hover state color for interactive elements."
|
|
30
|
-
},
|
|
31
|
-
"error": {
|
|
32
|
-
"value": "#EC040B",
|
|
33
|
-
"type": "color",
|
|
34
|
-
"description": "Error state color for interactive elements."
|
|
35
|
-
},
|
|
36
|
-
"focus": {
|
|
37
|
-
"value": "#FEBA35",
|
|
38
|
-
"type": "color",
|
|
39
|
-
"description": "Focus state color for interactive elements."
|
|
40
|
-
},
|
|
41
|
-
"disabled": {
|
|
42
|
-
"value": "#80B7E1",
|
|
43
|
-
"type": "color",
|
|
44
|
-
"description": "Color for disabled interactive elements."
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
"text": {
|
|
48
|
-
"default": {
|
|
49
|
-
"value": "{color.greyscale.black}",
|
|
50
|
-
"type": "color",
|
|
51
|
-
"description": "Default color for most text (such as body, headings, subheadings)."
|
|
52
|
-
},
|
|
53
|
-
"secondary": {
|
|
54
|
-
"value": "{color.greyscale.700}",
|
|
55
|
-
"type": "color",
|
|
56
|
-
"description": "Default colour for secondary text labels such as “optional” or “required”."
|
|
57
|
-
},
|
|
58
|
-
"light": {
|
|
59
|
-
"value": "{color.greyscale.white}",
|
|
60
|
-
"type": "color",
|
|
61
|
-
"description": "Use as the text color on dark backgrounds."
|
|
62
|
-
},
|
|
63
|
-
"disabled": {
|
|
64
|
-
"value": "{color.greyscale.700}",
|
|
65
|
-
"type": "color",
|
|
66
|
-
"description": "Default color for text on a grey background within the disabled text input, text area, combobox, and dropdown."
|
|
67
|
-
}
|
|
68
|
-
},
|
|
69
|
-
"info": {
|
|
70
|
-
"default": {
|
|
71
|
-
"value": "#004A8F",
|
|
72
|
-
"type": "color",
|
|
73
|
-
"description": "Use this color to indicate information to the user."
|
|
74
|
-
},
|
|
75
|
-
"light": {
|
|
76
|
-
"value": "#AAC9E7",
|
|
77
|
-
"type": "color"
|
|
78
|
-
},
|
|
79
|
-
"dark": {
|
|
80
|
-
"value": "#003B70",
|
|
81
|
-
"type": "color"
|
|
82
|
-
},
|
|
83
|
-
"background": {
|
|
84
|
-
"value": "#EFF8FF",
|
|
85
|
-
"type": "color",
|
|
86
|
-
"description": "Use this color as a background when indicating information to the user such as within a container or small callout."
|
|
87
|
-
}
|
|
88
|
-
},
|
|
89
|
-
"warning": {
|
|
90
|
-
"default": {
|
|
91
|
-
"value": "#F9CE2D",
|
|
92
|
-
"type": "color",
|
|
93
|
-
"description": "Use this color to indicate a warning to the user."
|
|
94
|
-
},
|
|
95
|
-
"light": {
|
|
96
|
-
"value": "#FFEAB6",
|
|
97
|
-
"type": "color"
|
|
98
|
-
},
|
|
99
|
-
"dark": {
|
|
100
|
-
"value": "#BF8D23",
|
|
101
|
-
"type": "color"
|
|
102
|
-
},
|
|
103
|
-
"background": {
|
|
104
|
-
"value": "#FFF6E5",
|
|
105
|
-
"type": "color",
|
|
106
|
-
"description": "Use this color as a background when indicating caution to the user such as within a container or small callout."
|
|
107
|
-
}
|
|
108
|
-
},
|
|
109
|
-
"emergency": {
|
|
110
|
-
"default": {
|
|
111
|
-
"value": "#DA291C",
|
|
112
|
-
"type": "color",
|
|
113
|
-
"description": "Use this color to indicate an emergency to the user."
|
|
114
|
-
},
|
|
115
|
-
"light": {
|
|
116
|
-
"value": "#FBD1CE",
|
|
117
|
-
"type": "color"
|
|
118
|
-
},
|
|
119
|
-
"dark": {
|
|
120
|
-
"value": "#A91A10",
|
|
121
|
-
"type": "color"
|
|
122
|
-
},
|
|
123
|
-
"background": {
|
|
124
|
-
"value": "#FFF1F2",
|
|
125
|
-
"type": "color",
|
|
126
|
-
"description": "Use this color as a background when indicating emergency to the user such as within a container or small callout."
|
|
127
|
-
}
|
|
128
|
-
},
|
|
129
|
-
"success": {
|
|
130
|
-
"default": {
|
|
131
|
-
"value": "#006F4C",
|
|
132
|
-
"type": "color",
|
|
133
|
-
"description": "Use this color to indicate success to the user."
|
|
134
|
-
},
|
|
135
|
-
"light": {
|
|
136
|
-
"value": "#CCE4DC",
|
|
137
|
-
"type": "color"
|
|
138
|
-
},
|
|
139
|
-
"dark": {
|
|
140
|
-
"value": "#00563A",
|
|
141
|
-
"type": "color"
|
|
142
|
-
},
|
|
143
|
-
"background": {
|
|
144
|
-
"value": "#EEF9F3",
|
|
145
|
-
"type": "color",
|
|
146
|
-
"description": "Use this color as a background when indicating success to the user such as within a container or small callout."
|
|
147
|
-
}
|
|
148
|
-
},
|
|
149
|
-
"greyscale": {
|
|
150
|
-
"50": {
|
|
151
|
-
"value": "#F8F8F8",
|
|
152
|
-
"type": "color"
|
|
153
|
-
},
|
|
154
|
-
"100": {
|
|
155
|
-
"value": "#F1F1F1",
|
|
156
|
-
"type": "color"
|
|
157
|
-
},
|
|
158
|
-
"200": {
|
|
159
|
-
"value": "#DCDCDC",
|
|
160
|
-
"type": "color"
|
|
161
|
-
},
|
|
162
|
-
"400": {
|
|
163
|
-
"value": "#ADADAD",
|
|
164
|
-
"type": "color"
|
|
165
|
-
},
|
|
166
|
-
"500": {
|
|
167
|
-
"value": "#949494",
|
|
168
|
-
"type": "color"
|
|
169
|
-
},
|
|
170
|
-
"600": {
|
|
171
|
-
"value": "#858585",
|
|
172
|
-
"type": "color"
|
|
173
|
-
},
|
|
174
|
-
"700": {
|
|
175
|
-
"value": "#666666",
|
|
176
|
-
"type": "color"
|
|
177
|
-
},
|
|
178
|
-
"black": {
|
|
179
|
-
"value": "#333333",
|
|
180
|
-
"type": "color"
|
|
181
|
-
},
|
|
182
|
-
"white": {
|
|
183
|
-
"value": "#FFFFFF",
|
|
184
|
-
"type": "color"
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
},
|
|
188
|
-
"fontWeight": {
|
|
189
|
-
"regular": {
|
|
190
|
-
"value": "400",
|
|
191
|
-
"type": "fontWeights"
|
|
192
|
-
},
|
|
193
|
-
"medium": {
|
|
194
|
-
"value": "500",
|
|
195
|
-
"type": "fontWeights"
|
|
196
|
-
},
|
|
197
|
-
"bold": {
|
|
198
|
-
"value": "700",
|
|
199
|
-
"type": "fontWeights"
|
|
200
|
-
}
|
|
201
|
-
},
|
|
202
|
-
"fontSize": {
|
|
203
|
-
"1": {
|
|
204
|
-
"value": "0.75rem",
|
|
205
|
-
"type": "fontSizes",
|
|
206
|
-
"description": "12px"
|
|
207
|
-
},
|
|
208
|
-
"2": {
|
|
209
|
-
"value": "0.875rem",
|
|
210
|
-
"type": "fontSizes",
|
|
211
|
-
"description": "14px"
|
|
212
|
-
},
|
|
213
|
-
"3": {
|
|
214
|
-
"value": "1rem",
|
|
215
|
-
"type": "fontSizes",
|
|
216
|
-
"description": "16px"
|
|
217
|
-
},
|
|
218
|
-
"4": {
|
|
219
|
-
"value": "1.125rem",
|
|
220
|
-
"type": "fontSizes",
|
|
221
|
-
"description": "18px"
|
|
222
|
-
},
|
|
223
|
-
"5": {
|
|
224
|
-
"value": "1.25rem",
|
|
225
|
-
"type": "fontSizes",
|
|
226
|
-
"description": "20px"
|
|
227
|
-
},
|
|
228
|
-
"6": {
|
|
229
|
-
"value": "1.375rem",
|
|
230
|
-
"type": "fontSizes",
|
|
231
|
-
"description": "22px"
|
|
232
|
-
},
|
|
233
|
-
"7": {
|
|
234
|
-
"value": "1.5rem",
|
|
235
|
-
"type": "fontSizes",
|
|
236
|
-
"description": "24px"
|
|
237
|
-
},
|
|
238
|
-
"8": {
|
|
239
|
-
"value": "2rem",
|
|
240
|
-
"type": "fontSizes",
|
|
241
|
-
"description": "32px"
|
|
242
|
-
},
|
|
243
|
-
"9": {
|
|
244
|
-
"value": "2.25rem",
|
|
245
|
-
"type": "fontSizes",
|
|
246
|
-
"description": "2.25rem"
|
|
247
|
-
},
|
|
248
|
-
"10": {
|
|
249
|
-
"value": "3rem",
|
|
250
|
-
"type": "fontSizes",
|
|
251
|
-
"description": "48px"
|
|
252
|
-
}
|
|
253
|
-
},
|
|
254
|
-
"space": {
|
|
255
|
-
"none": {
|
|
256
|
-
"value": "0rem",
|
|
257
|
-
"type": "spacing",
|
|
258
|
-
"description": "0px | 0rem"
|
|
259
|
-
},
|
|
260
|
-
"3xs": {
|
|
261
|
-
"value": "0.125rem",
|
|
262
|
-
"type": "spacing",
|
|
263
|
-
"description": "2px"
|
|
264
|
-
},
|
|
265
|
-
"2xs": {
|
|
266
|
-
"value": "0.25rem",
|
|
267
|
-
"type": "spacing",
|
|
268
|
-
"description": "4px"
|
|
269
|
-
},
|
|
270
|
-
"xs": {
|
|
271
|
-
"value": "0.5rem",
|
|
272
|
-
"type": "spacing",
|
|
273
|
-
"description": "8px"
|
|
274
|
-
},
|
|
275
|
-
"s": {
|
|
276
|
-
"value": "0.75rem",
|
|
277
|
-
"type": "spacing",
|
|
278
|
-
"description": "12px"
|
|
279
|
-
},
|
|
280
|
-
"m": {
|
|
281
|
-
"value": "1rem",
|
|
282
|
-
"type": "spacing",
|
|
283
|
-
"description": "16px"
|
|
284
|
-
},
|
|
285
|
-
"l": {
|
|
286
|
-
"value": "1.5rem",
|
|
287
|
-
"type": "spacing",
|
|
288
|
-
"description": "24px"
|
|
289
|
-
},
|
|
290
|
-
"xl": {
|
|
291
|
-
"value": "2rem",
|
|
292
|
-
"type": "spacing",
|
|
293
|
-
"description": "32px"
|
|
294
|
-
},
|
|
295
|
-
"2xl": {
|
|
296
|
-
"value": "3rem",
|
|
297
|
-
"type": "spacing",
|
|
298
|
-
"description": "48px"
|
|
299
|
-
},
|
|
300
|
-
"3xl": {
|
|
301
|
-
"value": "4rem",
|
|
302
|
-
"type": "spacing",
|
|
303
|
-
"description": "64px"
|
|
304
|
-
},
|
|
305
|
-
"4xl": {
|
|
306
|
-
"value": "8rem",
|
|
307
|
-
"type": "spacing",
|
|
308
|
-
"description": "128px"
|
|
309
|
-
}
|
|
310
|
-
},
|
|
311
|
-
"borderRadius": {
|
|
312
|
-
"none": {
|
|
313
|
-
"value": "0rem",
|
|
314
|
-
"type": "borderRadius",
|
|
315
|
-
"description": "0px, square corner"
|
|
316
|
-
},
|
|
317
|
-
"m": {
|
|
318
|
-
"value": "0.25rem",
|
|
319
|
-
"type": "borderRadius",
|
|
320
|
-
"description": "4px"
|
|
321
|
-
}
|
|
322
|
-
},
|
|
323
|
-
"opacity": {
|
|
324
|
-
"background": {
|
|
325
|
-
"modal": {
|
|
326
|
-
"value": "50%",
|
|
327
|
-
"type": "opacity",
|
|
328
|
-
"description": "50% opacity for black scrim behind modal to disable the rest of the screen."
|
|
329
|
-
},
|
|
330
|
-
"loading": {
|
|
331
|
-
"value": "90%",
|
|
332
|
-
"type": "opacity",
|
|
333
|
-
"description": "90% opacity for white scrum behind loading indicator."
|
|
334
|
-
}
|
|
335
|
-
}
|
|
336
|
-
},
|
|
337
|
-
"lineHeight": {
|
|
338
|
-
"1": {
|
|
339
|
-
"value": "1.25rem",
|
|
340
|
-
"type": "lineHeights",
|
|
341
|
-
"description": "20px"
|
|
342
|
-
},
|
|
343
|
-
"2": {
|
|
344
|
-
"value": "1.5rem",
|
|
345
|
-
"type": "lineHeights",
|
|
346
|
-
"description": "24px"
|
|
347
|
-
},
|
|
348
|
-
"3": {
|
|
349
|
-
"value": "1.75rem",
|
|
350
|
-
"type": "lineHeights",
|
|
351
|
-
"description": "28px"
|
|
352
|
-
},
|
|
353
|
-
"4": {
|
|
354
|
-
"value": "2rem",
|
|
355
|
-
"type": "lineHeights",
|
|
356
|
-
"description": "32px"
|
|
357
|
-
},
|
|
358
|
-
"5": {
|
|
359
|
-
"value": "2.5rem",
|
|
360
|
-
"type": "lineHeights",
|
|
361
|
-
"description": "40px"
|
|
362
|
-
},
|
|
363
|
-
"6": {
|
|
364
|
-
"value": "2.75rem",
|
|
365
|
-
"type": "lineHeights",
|
|
366
|
-
"description": "44px"
|
|
367
|
-
},
|
|
368
|
-
"7": {
|
|
369
|
-
"value": "3.5rem",
|
|
370
|
-
"type": "lineHeights",
|
|
371
|
-
"description": "56px"
|
|
372
|
-
},
|
|
373
|
-
"05": {
|
|
374
|
-
"value": "1.125rem",
|
|
375
|
-
"type": "lineHeights",
|
|
376
|
-
"description": "18px"
|
|
377
|
-
}
|
|
378
|
-
},
|
|
379
|
-
"fontFamily": {
|
|
380
|
-
"sans": {
|
|
381
|
-
"value": "acumin-pro-semi-condensed, helvetica-neue, arial, sans-serif",
|
|
382
|
-
"type": "fontFamilies",
|
|
383
|
-
"description": "Deafult font family and fallback fonts when unavailable"
|
|
384
|
-
},
|
|
385
|
-
"number": {
|
|
386
|
-
"value": "roboto-mono, monospace",
|
|
387
|
-
"type": "fontFamilies",
|
|
388
|
-
"description": "monospace typeface for numbers and fallback fonts when unavailable"
|
|
389
|
-
}
|
|
390
|
-
},
|
|
391
|
-
"typography": {
|
|
392
|
-
"heading": {
|
|
393
|
-
"xs": {
|
|
394
|
-
"value": {
|
|
395
|
-
"fontFamily": "{fontFamily.sans}",
|
|
396
|
-
"fontWeight": "{fontWeight.bold}",
|
|
397
|
-
"lineHeight": "{lineHeight.2}",
|
|
398
|
-
"fontSize": "{fontSize.3}"
|
|
399
|
-
},
|
|
400
|
-
"type": "typography",
|
|
401
|
-
"description": "Heading XS"
|
|
402
|
-
},
|
|
403
|
-
"s": {
|
|
404
|
-
"value": {
|
|
405
|
-
"fontFamily": "{fontFamily.sans}",
|
|
406
|
-
"fontWeight": "{fontWeight.bold}",
|
|
407
|
-
"lineHeight": "{lineHeight.3}",
|
|
408
|
-
"fontSize": "{fontSize.4}"
|
|
409
|
-
},
|
|
410
|
-
"type": "typography",
|
|
411
|
-
"description": "Heading S"
|
|
412
|
-
},
|
|
413
|
-
"m": {
|
|
414
|
-
"value": {
|
|
415
|
-
"fontFamily": "{fontFamily.sans}",
|
|
416
|
-
"fontWeight": "{fontWeight.regular}",
|
|
417
|
-
"lineHeight": "{lineHeight.4}",
|
|
418
|
-
"fontSize": "{fontSize.7}"
|
|
419
|
-
},
|
|
420
|
-
"type": "typography",
|
|
421
|
-
"description": "Heading M"
|
|
422
|
-
},
|
|
423
|
-
"l": {
|
|
424
|
-
"value": {
|
|
425
|
-
"fontFamily": "{fontFamily.sans}",
|
|
426
|
-
"fontWeight": "{fontWeight.regular}",
|
|
427
|
-
"lineHeight": "{lineHeight.6}",
|
|
428
|
-
"fontSize": "{fontSize.9}"
|
|
429
|
-
},
|
|
430
|
-
"type": "typography",
|
|
431
|
-
"description": "Heading L"
|
|
432
|
-
},
|
|
433
|
-
"xl": {
|
|
434
|
-
"value": {
|
|
435
|
-
"fontFamily": "{fontFamily.sans}",
|
|
436
|
-
"fontWeight": "{fontWeight.bold}",
|
|
437
|
-
"lineHeight": "{lineHeight.7}",
|
|
438
|
-
"fontSize": "{fontSize.10}"
|
|
439
|
-
},
|
|
440
|
-
"type": "typography",
|
|
441
|
-
"description": "Heading XL"
|
|
442
|
-
}
|
|
443
|
-
},
|
|
444
|
-
"body": {
|
|
445
|
-
"xs": {
|
|
446
|
-
"value": {
|
|
447
|
-
"fontFamily": "{fontFamily.sans}",
|
|
448
|
-
"fontWeight": "{fontWeight.regular}",
|
|
449
|
-
"lineHeight": "{lineHeight.1}",
|
|
450
|
-
"fontSize": "{fontSize.2}"
|
|
451
|
-
},
|
|
452
|
-
"type": "typography",
|
|
453
|
-
"description": "Micro text"
|
|
454
|
-
},
|
|
455
|
-
"s": {
|
|
456
|
-
"value": {
|
|
457
|
-
"fontFamily": "{fontFamily.sans}",
|
|
458
|
-
"fontWeight": "{fontWeight.regular}",
|
|
459
|
-
"lineHeight": "{lineHeight.2}",
|
|
460
|
-
"fontSize": "{fontSize.3}"
|
|
461
|
-
},
|
|
462
|
-
"type": "typography",
|
|
463
|
-
"description": "Small text"
|
|
464
|
-
},
|
|
465
|
-
"m": {
|
|
466
|
-
"value": {
|
|
467
|
-
"fontFamily": "{fontFamily.sans}",
|
|
468
|
-
"fontWeight": "{fontWeight.regular}",
|
|
469
|
-
"lineHeight": "{lineHeight.3}",
|
|
470
|
-
"fontSize": "{fontSize.4}"
|
|
471
|
-
},
|
|
472
|
-
"type": "typography",
|
|
473
|
-
"description": "Body text"
|
|
474
|
-
},
|
|
475
|
-
"l": {
|
|
476
|
-
"value": {
|
|
477
|
-
"fontFamily": "{fontFamily.sans}",
|
|
478
|
-
"fontWeight": "{fontWeight.regular}",
|
|
479
|
-
"lineHeight": "{lineHeight.4}",
|
|
480
|
-
"fontSize": "{fontSize.7}"
|
|
481
|
-
},
|
|
482
|
-
"type": "typography",
|
|
483
|
-
"description": "Large text"
|
|
484
|
-
}
|
|
485
|
-
},
|
|
486
|
-
"button": {
|
|
487
|
-
"default": {
|
|
488
|
-
"value": {
|
|
489
|
-
"fontFamily": "{fontFamily.sans}",
|
|
490
|
-
"fontWeight": "{fontWeight.regular}",
|
|
491
|
-
"lineHeight": "{lineHeight.1}",
|
|
492
|
-
"fontSize": "{fontSize.4}",
|
|
493
|
-
"letterSpacing": "{letterSpacing.button}"
|
|
494
|
-
},
|
|
495
|
-
"type": "typography"
|
|
496
|
-
}
|
|
497
|
-
},
|
|
498
|
-
"number": {
|
|
499
|
-
"m": {
|
|
500
|
-
"value": {
|
|
501
|
-
"fontFamily": "{fontFamily.number}",
|
|
502
|
-
"fontWeight": "{fontWeight.medium}",
|
|
503
|
-
"lineHeight": "{lineHeight.3}",
|
|
504
|
-
"fontSize": "{fontSize.4}",
|
|
505
|
-
"letterSpacing": ""
|
|
506
|
-
},
|
|
507
|
-
"type": "typography"
|
|
508
|
-
}
|
|
509
|
-
}
|
|
510
|
-
},
|
|
511
|
-
"borderWidth": {
|
|
512
|
-
"none": {
|
|
513
|
-
"value": "0px",
|
|
514
|
-
"type": "borderWidth",
|
|
515
|
-
"description": "No border"
|
|
516
|
-
},
|
|
517
|
-
"s": {
|
|
518
|
-
"value": "1px",
|
|
519
|
-
"type": "borderWidth",
|
|
520
|
-
"description": "Small border width"
|
|
521
|
-
},
|
|
522
|
-
"m": {
|
|
523
|
-
"value": "2px",
|
|
524
|
-
"type": "borderWidth",
|
|
525
|
-
"description": "Medium border width"
|
|
526
|
-
},
|
|
527
|
-
"l": {
|
|
528
|
-
"value": "3px",
|
|
529
|
-
"type": "borderWidth",
|
|
530
|
-
"description": "Large border width"
|
|
531
|
-
}
|
|
532
|
-
},
|
|
533
|
-
"letterSpacing": {
|
|
534
|
-
"button": {
|
|
535
|
-
"value": "0.0125rem",
|
|
536
|
-
"type": "letterSpacing",
|
|
537
|
-
"description": "small letter spacing adjustment to slightly kern letters out for readability on buttons."
|
|
538
|
-
}
|
|
539
|
-
},
|
|
540
|
-
"iconSize": {
|
|
541
|
-
"s": {
|
|
542
|
-
"value": "1rem",
|
|
543
|
-
"type": "sizing",
|
|
544
|
-
"description": "16px"
|
|
545
|
-
},
|
|
546
|
-
"m": {
|
|
547
|
-
"value": "1.25rem",
|
|
548
|
-
"type": "sizing",
|
|
549
|
-
"description": "20px"
|
|
550
|
-
},
|
|
551
|
-
"l": {
|
|
552
|
-
"value": "1.5rem",
|
|
553
|
-
"type": "sizing",
|
|
554
|
-
"description": "24px"
|
|
555
|
-
}
|
|
556
|
-
},
|
|
557
|
-
"Shadow": {
|
|
558
|
-
"modal": {
|
|
559
|
-
"value": {
|
|
560
|
-
"x": "6",
|
|
561
|
-
"y": "6",
|
|
562
|
-
"blur": "6",
|
|
563
|
-
"spread": "0",
|
|
564
|
-
"color": "rgba(0,0,0,0.16)",
|
|
565
|
-
"type": "dropShadow"
|
|
566
|
-
},
|
|
567
|
-
"type": "boxShadow",
|
|
568
|
-
"description": "Drop shadow for modals."
|
|
569
|
-
}
|
|
570
|
-
},
|
|
571
|
-
"button": {
|
|
572
|
-
"border-radius": {
|
|
573
|
-
"value": "{borderRadius.m.value}",
|
|
574
|
-
"type": "borderRadius",
|
|
575
|
-
"description": "Button border radius"
|
|
576
|
-
},
|
|
577
|
-
"text": {
|
|
578
|
-
"value": "{typography.button.default.value}",
|
|
579
|
-
"type": "fontFamily",
|
|
580
|
-
"description": "Button text style"
|
|
581
|
-
},
|
|
582
|
-
"padding-lr": {
|
|
583
|
-
"value": "{space.s.value}",
|
|
584
|
-
"type": "spacing",
|
|
585
|
-
"description": "Padding for the left and right sides of a regular button"
|
|
586
|
-
},
|
|
587
|
-
"padding-lr-compact": {
|
|
588
|
-
"value": "{space.xs.value}",
|
|
589
|
-
"type": "spacing",
|
|
590
|
-
"description": "Padding for the left and right sides of a compact button"
|
|
591
|
-
},
|
|
592
|
-
"height": {
|
|
593
|
-
"value": "2.625rem",
|
|
594
|
-
"type": "spacing",
|
|
595
|
-
"description": "Button regular height (42px)"
|
|
596
|
-
},
|
|
597
|
-
"height-compact": {
|
|
598
|
-
"value": "2rem",
|
|
599
|
-
"type": "spacing",
|
|
600
|
-
"description": "Button compact height (36px)"
|
|
601
|
-
},
|
|
602
|
-
"height-start": {
|
|
603
|
-
"value": "3.25rem",
|
|
604
|
-
"type": "spacing",
|
|
605
|
-
"description": "Height for the start button type (52px)"
|
|
606
|
-
}
|
|
607
|
-
},
|
|
608
|
-
"accordion": {
|
|
609
|
-
"color-bg-heading": {
|
|
610
|
-
"value": "{color.greyscale.100.value}",
|
|
611
|
-
"type": "color",
|
|
612
|
-
"description": "Background color of accordion heading"
|
|
613
|
-
},
|
|
614
|
-
"color-bg-content": {
|
|
615
|
-
"value": "{color.greyscale.white.value}",
|
|
616
|
-
"type": "color",
|
|
617
|
-
"description": "Background color of accordion content"
|
|
618
|
-
},
|
|
619
|
-
"color-heading": {
|
|
620
|
-
"value": "{color.text.default.value}",
|
|
621
|
-
"type": "color",
|
|
622
|
-
"description": "Color of accordion heading text"
|
|
623
|
-
},
|
|
624
|
-
"border": {
|
|
625
|
-
"value": "{borderWidth.s.value} solid {color.greyscale.200.value}",
|
|
626
|
-
"type": "border",
|
|
627
|
-
"description": "Border of accordion"
|
|
628
|
-
},
|
|
629
|
-
"border-radius": {
|
|
630
|
-
"value": "{borderRadius.m.value}",
|
|
631
|
-
"type": "borderRadius",
|
|
632
|
-
"description": "Border radius of accordion"
|
|
633
|
-
},
|
|
634
|
-
"padding-heading": {
|
|
635
|
-
"value": "{space.s.value} {space.m.value} {space.s.value} 0",
|
|
636
|
-
"type": "spacing",
|
|
637
|
-
"description": "Padding of accordion heading"
|
|
638
|
-
},
|
|
639
|
-
"heading-s": {
|
|
640
|
-
"value": "{typography.heading.s.value}",
|
|
641
|
-
"type": "fontFamily",
|
|
642
|
-
"description": "Typography of accordion heading"
|
|
643
|
-
},
|
|
644
|
-
"heading-m": {
|
|
645
|
-
"value": "{typography.heading.m.value}",
|
|
646
|
-
"type": "fontFamily",
|
|
647
|
-
"description": "Typography of accordion heading"
|
|
648
|
-
},
|
|
649
|
-
"padding-content-wide": {
|
|
650
|
-
"value": "{space.l.value} {space.l.value} {space.xl.value} 56px",
|
|
651
|
-
"type": "spacing",
|
|
652
|
-
"description": "Padding of accordion content"
|
|
653
|
-
},
|
|
654
|
-
"padding-content-narrow": {
|
|
655
|
-
"value": "{space.l.value}",
|
|
656
|
-
"type": "spacing",
|
|
657
|
-
"description": "Padding of accordion content"
|
|
658
|
-
},
|
|
659
|
-
"color-bg-heading-hover": {
|
|
660
|
-
"value": "{color.greyscale.200.value}",
|
|
661
|
-
"type": "color",
|
|
662
|
-
"description": "Background color of accordion heading on hover"
|
|
663
|
-
},
|
|
664
|
-
"color-heading-hover": {
|
|
665
|
-
"value": "{color.text.default.value}",
|
|
666
|
-
"type": "color",
|
|
667
|
-
"description": "Color of accordion heading text on hover"
|
|
668
|
-
}
|
|
669
|
-
},
|
|
670
|
-
"callout": {
|
|
671
|
-
"border-radius": {
|
|
672
|
-
"value": "{borderRadius.none.value}",
|
|
673
|
-
"type": "borderRadius",
|
|
674
|
-
"description": "Border radius of callout"
|
|
675
|
-
},
|
|
676
|
-
"l-border-width": {
|
|
677
|
-
"value": "{borderWidth.none.value}",
|
|
678
|
-
"type": "borderWidth",
|
|
679
|
-
"description": "Border width of callout"
|
|
680
|
-
},
|
|
681
|
-
"l-heading-size": {
|
|
682
|
-
"value": "{typography.heading.m.value}",
|
|
683
|
-
"type": "fontSizes",
|
|
684
|
-
"description": "Large heading size"
|
|
685
|
-
},
|
|
686
|
-
"l-text-size": {
|
|
687
|
-
"value": "{typography.body.m.value}",
|
|
688
|
-
"type": "fontSizes",
|
|
689
|
-
"description": "Large text size"
|
|
690
|
-
},
|
|
691
|
-
"l-content-padding": {
|
|
692
|
-
"value": "{space.l.value}",
|
|
693
|
-
"type": "spacing",
|
|
694
|
-
"description": "Large content padding"
|
|
695
|
-
},
|
|
696
|
-
"l-content-gap": {
|
|
697
|
-
"value": "{space.m.value}",
|
|
698
|
-
"type": "spacing",
|
|
699
|
-
"description": "Large content gap"
|
|
700
|
-
},
|
|
701
|
-
"l-statusbar-padding": {
|
|
702
|
-
"value": "{space.l.value} {space.s.value}",
|
|
703
|
-
"type": "spacing",
|
|
704
|
-
"description": "Large status bar padding"
|
|
705
|
-
},
|
|
706
|
-
"m-border-width": {
|
|
707
|
-
"value": "{borderWidth.none.value}",
|
|
708
|
-
"type": "borderWidth",
|
|
709
|
-
"description": "Border width of callout"
|
|
710
|
-
},
|
|
711
|
-
"m-heading-size": {
|
|
712
|
-
"value": "{typography.heading.xs.value}",
|
|
713
|
-
"type": "fontSizes",
|
|
714
|
-
"description": "Medium heading size"
|
|
715
|
-
},
|
|
716
|
-
"m-text-size": {
|
|
717
|
-
"value": "{typography.body.s.value}",
|
|
718
|
-
"type": "fontSizes",
|
|
719
|
-
"description": "Medium text size"
|
|
720
|
-
},
|
|
721
|
-
"m-content-padding": {
|
|
722
|
-
"value": "{space.s.value}",
|
|
723
|
-
"type": "spacing",
|
|
724
|
-
"description": "Medium content padding"
|
|
725
|
-
},
|
|
726
|
-
"m-content-gap": {
|
|
727
|
-
"value": "{space.2xs.value}",
|
|
728
|
-
"type": "spacing",
|
|
729
|
-
"description": "Medium content gap"
|
|
730
|
-
},
|
|
731
|
-
"m-statusbar-padding": {
|
|
732
|
-
"value": "{space.s.value} {space.2xs.value}",
|
|
733
|
-
"type": "spacing",
|
|
734
|
-
"description": "Medium status bar padding"
|
|
735
|
-
},
|
|
736
|
-
"info-color-bg-content": {
|
|
737
|
-
"value": "{color.greyscale.100.value}",
|
|
738
|
-
"type": "color",
|
|
739
|
-
"description": "Background color of info callout content"
|
|
740
|
-
},
|
|
741
|
-
"info-icon-color": {
|
|
742
|
-
"value": "{color.greyscale.white.value}",
|
|
743
|
-
"type": "color",
|
|
744
|
-
"description": "Icon color of info callout"
|
|
745
|
-
},
|
|
746
|
-
"info-color-bg-statusbar": {
|
|
747
|
-
"value": "{color.info.default.value}",
|
|
748
|
-
"type": "color",
|
|
749
|
-
"description": "Background color of info callout status bar"
|
|
750
|
-
},
|
|
751
|
-
"info-border-color": {
|
|
752
|
-
"value": "none",
|
|
753
|
-
"type": "color",
|
|
754
|
-
"description": "Border color of info callout"
|
|
755
|
-
},
|
|
756
|
-
"warning-color-bg-content": {
|
|
757
|
-
"value": "{color.greyscale.100.value}",
|
|
758
|
-
"type": "color",
|
|
759
|
-
"description": "Background color of warning callout content"
|
|
760
|
-
},
|
|
761
|
-
"warning-color-bg-statusbar": {
|
|
762
|
-
"value": "{color.warning.default.value}",
|
|
763
|
-
"type": "color",
|
|
764
|
-
"description": "Background color of warning callout status bar"
|
|
765
|
-
},
|
|
766
|
-
"warning-icon-color": {
|
|
767
|
-
"value": "{color.greyscale.black.value}",
|
|
768
|
-
"type": "color",
|
|
769
|
-
"description": "Icon color of warning callout"
|
|
770
|
-
},
|
|
771
|
-
"warning-border-color": {
|
|
772
|
-
"value": "none",
|
|
773
|
-
"type": "color",
|
|
774
|
-
"description": "Border color of warning callout"
|
|
775
|
-
},
|
|
776
|
-
"success-color-bg-content": {
|
|
777
|
-
"value": "{color.greyscale.100.value}",
|
|
778
|
-
"type": "color",
|
|
779
|
-
"description": "Background color of success callout content"
|
|
780
|
-
},
|
|
781
|
-
"success-color-bg-statusbar": {
|
|
782
|
-
"value": "{color.success.default.value}",
|
|
783
|
-
"type": "color",
|
|
784
|
-
"description": "Background color of success callout status bar"
|
|
785
|
-
},
|
|
786
|
-
"success-icon-color": {
|
|
787
|
-
"value": "{color.greyscale.white.value}",
|
|
788
|
-
"type": "color",
|
|
789
|
-
"description": "Icon color of success callout"
|
|
790
|
-
},
|
|
791
|
-
"success-border-color": {
|
|
792
|
-
"value": "none",
|
|
793
|
-
"type": "color",
|
|
794
|
-
"description": "Border color of success callout"
|
|
795
|
-
},
|
|
796
|
-
"emergency-color-bg-content": {
|
|
797
|
-
"value": "{color.greyscale.100.value}",
|
|
798
|
-
"type": "color",
|
|
799
|
-
"description": "Background color of emergency callout content"
|
|
800
|
-
},
|
|
801
|
-
"emergency-color-bg-statusbar": {
|
|
802
|
-
"value": "{color.emergency.default.value}",
|
|
803
|
-
"type": "color",
|
|
804
|
-
"description": "Background color of emergency callout status bar"
|
|
805
|
-
},
|
|
806
|
-
"emergency-icon-color": {
|
|
807
|
-
"value": "{color.greyscale.white.value}",
|
|
808
|
-
"type": "color",
|
|
809
|
-
"description": "Icon color of emergency callout"
|
|
810
|
-
},
|
|
811
|
-
"emergency-border-color": {
|
|
812
|
-
"value": "none",
|
|
813
|
-
"type": "color",
|
|
814
|
-
"description": "Border color of emergency callout"
|
|
815
|
-
},
|
|
816
|
-
"event-icon-color": {
|
|
817
|
-
"value": "{color.greyscale.white.value}",
|
|
818
|
-
"type": "color",
|
|
819
|
-
"description": "Icon color of event callout"
|
|
820
|
-
}
|
|
821
|
-
},
|
|
822
|
-
"container": {
|
|
823
|
-
"border-radius": {
|
|
824
|
-
"value": "{borderRadius.m.value}",
|
|
825
|
-
"type": "borderRadius",
|
|
826
|
-
"description": "Border radius of container"
|
|
827
|
-
},
|
|
828
|
-
"border": {
|
|
829
|
-
"value": "{borderWidth.s.value} solid {color.greyscale.200.value}",
|
|
830
|
-
"type": "border",
|
|
831
|
-
"description": "Border of container"
|
|
832
|
-
},
|
|
833
|
-
"padding": {
|
|
834
|
-
"value": "{space.l.value}",
|
|
835
|
-
"type": "spacing",
|
|
836
|
-
"description": "Padding of container"
|
|
837
|
-
}
|
|
838
|
-
},
|
|
839
|
-
"table": {
|
|
840
|
-
"color-heading": {
|
|
841
|
-
"value": "{color.text.secondary.value}",
|
|
842
|
-
"type": "color",
|
|
843
|
-
"description": "Color of table heading text"
|
|
844
|
-
},
|
|
845
|
-
"color-border-heading": {
|
|
846
|
-
"value": "{color.greyscale.600.value}",
|
|
847
|
-
"type": "color",
|
|
848
|
-
"description": "Color of table heading border"
|
|
849
|
-
}
|
|
850
|
-
}
|
|
851
|
-
}
|