@neo4j-ndl/base 1.0.1 → 1.0.3
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 +12 -0
- package/lib/LICENSES.txt +206 -0
- package/lib/NOTICE.txt +11 -9
- package/lib/cjs/tokens/js/tokens-esm.js +1 -1
- package/lib/cjs/tokens/js/tokens.js +1 -1
- package/lib/esm/tokens/js/tokens-esm.js +1 -1
- package/lib/esm/tokens/js/tokens.js +1 -1
- package/lib/neo4j-ds-styles.css +5 -4
- package/lib/tokens/css/tokens.css +1 -1
- package/lib/tokens/js/tokens-raw.js +246 -82
- package/lib/tokens/js/tokens.js +1 -1
- package/lib/tokens/scss/tokens.scss +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Wed, 29 Mar 2023 13:16:36 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
module.exports = {
|
|
@@ -114,10 +114,12 @@ module.exports = {
|
|
|
114
114
|
"borderRadius": {
|
|
115
115
|
"none": {
|
|
116
116
|
"value": "0px",
|
|
117
|
+
"description": "Avoid since we want to usually have a slightly rounded layout style",
|
|
117
118
|
"filePath": "src/tokens/borderRadius.json",
|
|
118
119
|
"isSource": true,
|
|
119
120
|
"original": {
|
|
120
|
-
"value": "0px"
|
|
121
|
+
"value": "0px",
|
|
122
|
+
"description": "Avoid since we want to usually have a slightly rounded layout style"
|
|
121
123
|
},
|
|
122
124
|
"name": "BorderRadiusNone",
|
|
123
125
|
"attributes": {
|
|
@@ -131,10 +133,12 @@ module.exports = {
|
|
|
131
133
|
},
|
|
132
134
|
"sm": {
|
|
133
135
|
"value": "4px",
|
|
136
|
+
"description": "Most common radius. Used in most smaller components such as buttons, checkboxes, text fields, radio buttons, tags and tooltips",
|
|
134
137
|
"filePath": "src/tokens/borderRadius.json",
|
|
135
138
|
"isSource": true,
|
|
136
139
|
"original": {
|
|
137
|
-
"value": "4px"
|
|
140
|
+
"value": "4px",
|
|
141
|
+
"description": "Most common radius. Used in most smaller components such as buttons, checkboxes, text fields, radio buttons, tags and tooltips"
|
|
138
142
|
},
|
|
139
143
|
"name": "BorderRadiusSm",
|
|
140
144
|
"attributes": {
|
|
@@ -148,10 +152,12 @@ module.exports = {
|
|
|
148
152
|
},
|
|
149
153
|
"md": {
|
|
150
154
|
"value": "6px",
|
|
155
|
+
"description": "Do not use",
|
|
151
156
|
"filePath": "src/tokens/borderRadius.json",
|
|
152
157
|
"isSource": true,
|
|
153
158
|
"original": {
|
|
154
|
-
"value": "6px"
|
|
159
|
+
"value": "6px",
|
|
160
|
+
"description": "Do not use"
|
|
155
161
|
},
|
|
156
162
|
"name": "BorderRadiusMd",
|
|
157
163
|
"attributes": {
|
|
@@ -165,10 +171,12 @@ module.exports = {
|
|
|
165
171
|
},
|
|
166
172
|
"lg": {
|
|
167
173
|
"value": "8px",
|
|
174
|
+
"description": "Used for slightly larger components such as context menu and view selector",
|
|
168
175
|
"filePath": "src/tokens/borderRadius.json",
|
|
169
176
|
"isSource": true,
|
|
170
177
|
"original": {
|
|
171
|
-
"value": "8px"
|
|
178
|
+
"value": "8px",
|
|
179
|
+
"description": "Used for slightly larger components such as context menu and view selector"
|
|
172
180
|
},
|
|
173
181
|
"name": "BorderRadiusLg",
|
|
174
182
|
"attributes": {
|
|
@@ -182,10 +190,12 @@ module.exports = {
|
|
|
182
190
|
},
|
|
183
191
|
"xl": {
|
|
184
192
|
"value": "10px",
|
|
193
|
+
"description": "Do not use",
|
|
185
194
|
"filePath": "src/tokens/borderRadius.json",
|
|
186
195
|
"isSource": true,
|
|
187
196
|
"original": {
|
|
188
|
-
"value": "10px"
|
|
197
|
+
"value": "10px",
|
|
198
|
+
"description": "Do not use"
|
|
189
199
|
},
|
|
190
200
|
"name": "BorderRadiusXl",
|
|
191
201
|
"attributes": {
|
|
@@ -199,10 +209,12 @@ module.exports = {
|
|
|
199
209
|
},
|
|
200
210
|
"1xl": {
|
|
201
211
|
"value": "12px",
|
|
212
|
+
"description": "Do not use",
|
|
202
213
|
"filePath": "src/tokens/borderRadius.json",
|
|
203
214
|
"isSource": true,
|
|
204
215
|
"original": {
|
|
205
|
-
"value": "12px"
|
|
216
|
+
"value": "12px",
|
|
217
|
+
"description": "Do not use"
|
|
206
218
|
},
|
|
207
219
|
"name": "BorderRadius1xl",
|
|
208
220
|
"attributes": {
|
|
@@ -216,10 +228,12 @@ module.exports = {
|
|
|
216
228
|
},
|
|
217
229
|
"2xl": {
|
|
218
230
|
"value": "14px",
|
|
231
|
+
"description": "Do not use",
|
|
219
232
|
"filePath": "src/tokens/borderRadius.json",
|
|
220
233
|
"isSource": true,
|
|
221
234
|
"original": {
|
|
222
|
-
"value": "14px"
|
|
235
|
+
"value": "14px",
|
|
236
|
+
"description": "Do not use"
|
|
223
237
|
},
|
|
224
238
|
"name": "BorderRadius2xl",
|
|
225
239
|
"attributes": {
|
|
@@ -233,10 +247,12 @@ module.exports = {
|
|
|
233
247
|
},
|
|
234
248
|
"3xl": {
|
|
235
249
|
"value": "16px",
|
|
250
|
+
"description": "Used for larger components such as cards, widgets and dialogs",
|
|
236
251
|
"filePath": "src/tokens/borderRadius.json",
|
|
237
252
|
"isSource": true,
|
|
238
253
|
"original": {
|
|
239
|
-
"value": "16px"
|
|
254
|
+
"value": "16px",
|
|
255
|
+
"description": "Used for larger components such as cards, widgets and dialogs"
|
|
240
256
|
},
|
|
241
257
|
"name": "BorderRadius3xl",
|
|
242
258
|
"attributes": {
|
|
@@ -250,10 +266,12 @@ module.exports = {
|
|
|
250
266
|
},
|
|
251
267
|
"4xl": {
|
|
252
268
|
"value": "18px",
|
|
269
|
+
"description": "Do not use",
|
|
253
270
|
"filePath": "src/tokens/borderRadius.json",
|
|
254
271
|
"isSource": true,
|
|
255
272
|
"original": {
|
|
256
|
-
"value": "18px"
|
|
273
|
+
"value": "18px",
|
|
274
|
+
"description": "Do not use"
|
|
257
275
|
},
|
|
258
276
|
"name": "BorderRadius4xl",
|
|
259
277
|
"attributes": {
|
|
@@ -267,10 +285,12 @@ module.exports = {
|
|
|
267
285
|
},
|
|
268
286
|
"5xl": {
|
|
269
287
|
"value": "20px",
|
|
288
|
+
"description": "Do not use",
|
|
270
289
|
"filePath": "src/tokens/borderRadius.json",
|
|
271
290
|
"isSource": true,
|
|
272
291
|
"original": {
|
|
273
|
-
"value": "20px"
|
|
292
|
+
"value": "20px",
|
|
293
|
+
"description": "Do not use"
|
|
274
294
|
},
|
|
275
295
|
"name": "BorderRadius5xl",
|
|
276
296
|
"attributes": {
|
|
@@ -284,10 +304,12 @@ module.exports = {
|
|
|
284
304
|
},
|
|
285
305
|
"full": {
|
|
286
306
|
"value": "9999px",
|
|
307
|
+
"description": "Fully rounded. Use this with caution since Neo4j does not have an overall rounded style. Rounded is used mainly for labels but also in commonly round components such as progress bar, switch and wizard steps",
|
|
287
308
|
"filePath": "src/tokens/borderRadius.json",
|
|
288
309
|
"isSource": true,
|
|
289
310
|
"original": {
|
|
290
|
-
"value": "9999px"
|
|
311
|
+
"value": "9999px",
|
|
312
|
+
"description": "Fully rounded. Use this with caution since Neo4j does not have an overall rounded style. Rounded is used mainly for labels but also in commonly round components such as progress bar, switch and wizard steps"
|
|
291
313
|
},
|
|
292
314
|
"name": "BorderRadiusFull",
|
|
293
315
|
"attributes": {
|
|
@@ -304,11 +326,13 @@ module.exports = {
|
|
|
304
326
|
"xs": {
|
|
305
327
|
"comment": "Extra small screen / phone, only one not included with Tailwind CSS",
|
|
306
328
|
"value": "450px",
|
|
329
|
+
"description": "Smallest breakpoint, mainly for mobile and also the smallest browser width that is supported",
|
|
307
330
|
"filePath": "src/tokens/breakpoints.json",
|
|
308
331
|
"isSource": true,
|
|
309
332
|
"original": {
|
|
310
333
|
"comment": "Extra small screen / phone, only one not included with Tailwind CSS",
|
|
311
|
-
"value": "450px"
|
|
334
|
+
"value": "450px",
|
|
335
|
+
"description": "Smallest breakpoint, mainly for mobile and also the smallest browser width that is supported"
|
|
312
336
|
},
|
|
313
337
|
"name": "BreakpointsXs",
|
|
314
338
|
"attributes": {
|
|
@@ -323,11 +347,13 @@ module.exports = {
|
|
|
323
347
|
"sm": {
|
|
324
348
|
"comment": "Check here: https://tailwindcss.com/docs/responsive-design",
|
|
325
349
|
"value": "640px",
|
|
350
|
+
"description": "Mainly used for small tablets",
|
|
326
351
|
"filePath": "src/tokens/breakpoints.json",
|
|
327
352
|
"isSource": true,
|
|
328
353
|
"original": {
|
|
329
354
|
"comment": "Check here: https://tailwindcss.com/docs/responsive-design",
|
|
330
|
-
"value": "640px"
|
|
355
|
+
"value": "640px",
|
|
356
|
+
"description": "Mainly used for small tablets"
|
|
331
357
|
},
|
|
332
358
|
"name": "BreakpointsSm",
|
|
333
359
|
"attributes": {
|
|
@@ -341,10 +367,12 @@ module.exports = {
|
|
|
341
367
|
},
|
|
342
368
|
"md": {
|
|
343
369
|
"value": "768px",
|
|
370
|
+
"description": "Tablets and usually the smallest laptop size",
|
|
344
371
|
"filePath": "src/tokens/breakpoints.json",
|
|
345
372
|
"isSource": true,
|
|
346
373
|
"original": {
|
|
347
|
-
"value": "768px"
|
|
374
|
+
"value": "768px",
|
|
375
|
+
"description": "Tablets and usually the smallest laptop size"
|
|
348
376
|
},
|
|
349
377
|
"name": "BreakpointsMd",
|
|
350
378
|
"attributes": {
|
|
@@ -358,10 +386,12 @@ module.exports = {
|
|
|
358
386
|
},
|
|
359
387
|
"lg": {
|
|
360
388
|
"value": "1024px",
|
|
389
|
+
"description": "Smaller laptop size",
|
|
361
390
|
"filePath": "src/tokens/breakpoints.json",
|
|
362
391
|
"isSource": true,
|
|
363
392
|
"original": {
|
|
364
|
-
"value": "1024px"
|
|
393
|
+
"value": "1024px",
|
|
394
|
+
"description": "Smaller laptop size"
|
|
365
395
|
},
|
|
366
396
|
"name": "BreakpointsLg",
|
|
367
397
|
"attributes": {
|
|
@@ -375,10 +405,12 @@ module.exports = {
|
|
|
375
405
|
},
|
|
376
406
|
"xl": {
|
|
377
407
|
"value": "1280px",
|
|
408
|
+
"description": "Common laptop size",
|
|
378
409
|
"filePath": "src/tokens/breakpoints.json",
|
|
379
410
|
"isSource": true,
|
|
380
411
|
"original": {
|
|
381
|
-
"value": "1280px"
|
|
412
|
+
"value": "1280px",
|
|
413
|
+
"description": "Common laptop size"
|
|
382
414
|
},
|
|
383
415
|
"name": "BreakpointsXl",
|
|
384
416
|
"attributes": {
|
|
@@ -392,10 +424,12 @@ module.exports = {
|
|
|
392
424
|
},
|
|
393
425
|
"2xl": {
|
|
394
426
|
"value": "1536px",
|
|
427
|
+
"description": "Desktop size",
|
|
395
428
|
"filePath": "src/tokens/breakpoints.json",
|
|
396
429
|
"isSource": true,
|
|
397
430
|
"original": {
|
|
398
|
-
"value": "1536px"
|
|
431
|
+
"value": "1536px",
|
|
432
|
+
"description": "Desktop size"
|
|
399
433
|
},
|
|
400
434
|
"name": "Breakpoints2xl",
|
|
401
435
|
"attributes": {
|
|
@@ -491,10 +525,12 @@ module.exports = {
|
|
|
491
525
|
]
|
|
492
526
|
},
|
|
493
527
|
"50": {
|
|
528
|
+
"rgb": "0,111,214",
|
|
494
529
|
"value": "#006FD6",
|
|
495
530
|
"filePath": "src/tokens/colors.json",
|
|
496
531
|
"isSource": true,
|
|
497
532
|
"original": {
|
|
533
|
+
"rgb": "0,111,214",
|
|
498
534
|
"value": "#006FD6"
|
|
499
535
|
},
|
|
500
536
|
"name": "ColorsPrimary50",
|
|
@@ -1405,10 +1441,12 @@ module.exports = {
|
|
|
1405
1441
|
"size": {
|
|
1406
1442
|
"h1": {
|
|
1407
1443
|
"value": "3rem",
|
|
1444
|
+
"description": "Do not use, mainly for web",
|
|
1408
1445
|
"filePath": "src/tokens/fonts.json",
|
|
1409
1446
|
"isSource": true,
|
|
1410
1447
|
"original": {
|
|
1411
|
-
"value": "3rem"
|
|
1448
|
+
"value": "3rem",
|
|
1449
|
+
"description": "Do not use, mainly for web"
|
|
1412
1450
|
},
|
|
1413
1451
|
"name": "FontSizeH1",
|
|
1414
1452
|
"attributes": {
|
|
@@ -1424,10 +1462,12 @@ module.exports = {
|
|
|
1424
1462
|
},
|
|
1425
1463
|
"h2": {
|
|
1426
1464
|
"value": "2.5rem",
|
|
1465
|
+
"description": "Use for page headers",
|
|
1427
1466
|
"filePath": "src/tokens/fonts.json",
|
|
1428
1467
|
"isSource": true,
|
|
1429
1468
|
"original": {
|
|
1430
|
-
"value": "2.5rem"
|
|
1469
|
+
"value": "2.5rem",
|
|
1470
|
+
"description": "Use for page headers"
|
|
1431
1471
|
},
|
|
1432
1472
|
"name": "FontSizeH2",
|
|
1433
1473
|
"attributes": {
|
|
@@ -1443,10 +1483,12 @@ module.exports = {
|
|
|
1443
1483
|
},
|
|
1444
1484
|
"h3": {
|
|
1445
1485
|
"value": "1.875rem",
|
|
1486
|
+
"description": "Use cautiously. Used for larger container header such as login screen and dialogs",
|
|
1446
1487
|
"filePath": "src/tokens/fonts.json",
|
|
1447
1488
|
"isSource": true,
|
|
1448
1489
|
"original": {
|
|
1449
|
-
"value": "1.875rem"
|
|
1490
|
+
"value": "1.875rem",
|
|
1491
|
+
"description": "Use cautiously. Used for larger container header such as login screen and dialogs"
|
|
1450
1492
|
},
|
|
1451
1493
|
"name": "FontSizeH3",
|
|
1452
1494
|
"attributes": {
|
|
@@ -1462,10 +1504,12 @@ module.exports = {
|
|
|
1462
1504
|
},
|
|
1463
1505
|
"h4": {
|
|
1464
1506
|
"value": "1.5rem",
|
|
1507
|
+
"description": "Use cautiously. Not used in any components",
|
|
1465
1508
|
"filePath": "src/tokens/fonts.json",
|
|
1466
1509
|
"isSource": true,
|
|
1467
1510
|
"original": {
|
|
1468
|
-
"value": "1.5rem"
|
|
1511
|
+
"value": "1.5rem",
|
|
1512
|
+
"description": "Use cautiously. Not used in any components"
|
|
1469
1513
|
},
|
|
1470
1514
|
"name": "FontSizeH4",
|
|
1471
1515
|
"attributes": {
|
|
@@ -1481,10 +1525,12 @@ module.exports = {
|
|
|
1481
1525
|
},
|
|
1482
1526
|
"h5": {
|
|
1483
1527
|
"value": "1.25rem",
|
|
1528
|
+
"description": "Used for larger containers such as drag & drop and drawer. Use instead of H3 if you want a more compact layout with less spacing and padding inside the container",
|
|
1484
1529
|
"filePath": "src/tokens/fonts.json",
|
|
1485
1530
|
"isSource": true,
|
|
1486
1531
|
"original": {
|
|
1487
|
-
"value": "1.25rem"
|
|
1532
|
+
"value": "1.25rem",
|
|
1533
|
+
"description": "Used for larger containers such as drag & drop and drawer. Use instead of H3 if you want a more compact layout with less spacing and padding inside the container"
|
|
1488
1534
|
},
|
|
1489
1535
|
"name": "FontSizeH5",
|
|
1490
1536
|
"attributes": {
|
|
@@ -1500,10 +1546,12 @@ module.exports = {
|
|
|
1500
1546
|
},
|
|
1501
1547
|
"h6": {
|
|
1502
1548
|
"value": "1rem",
|
|
1549
|
+
"description": "Common smaller header. Used in banner, buttons, context menu, widget and wizard",
|
|
1503
1550
|
"filePath": "src/tokens/fonts.json",
|
|
1504
1551
|
"isSource": true,
|
|
1505
1552
|
"original": {
|
|
1506
|
-
"value": "1rem"
|
|
1553
|
+
"value": "1rem",
|
|
1554
|
+
"description": "Common smaller header. Used in banner, buttons, context menu, widget and wizard"
|
|
1507
1555
|
},
|
|
1508
1556
|
"name": "FontSizeH6",
|
|
1509
1557
|
"attributes": {
|
|
@@ -1519,10 +1567,12 @@ module.exports = {
|
|
|
1519
1567
|
},
|
|
1520
1568
|
"subheading-large": {
|
|
1521
1569
|
"value": "1.25rem",
|
|
1570
|
+
"description": "Pair with larger headers. Not used in any components",
|
|
1522
1571
|
"filePath": "src/tokens/fonts.json",
|
|
1523
1572
|
"isSource": true,
|
|
1524
1573
|
"original": {
|
|
1525
|
-
"value": "1.25rem"
|
|
1574
|
+
"value": "1.25rem",
|
|
1575
|
+
"description": "Pair with larger headers. Not used in any components"
|
|
1526
1576
|
},
|
|
1527
1577
|
"name": "FontSizeSubheadingLarge",
|
|
1528
1578
|
"attributes": {
|
|
@@ -1538,10 +1588,12 @@ module.exports = {
|
|
|
1538
1588
|
},
|
|
1539
1589
|
"subheading-medium": {
|
|
1540
1590
|
"value": "1rem",
|
|
1591
|
+
"description": "Use with medium sized headers or as a header of its own. Is used as header in smaller components and as a selected state to differentiate from body text. Is used in view selector, tabs and code block",
|
|
1541
1592
|
"filePath": "src/tokens/fonts.json",
|
|
1542
1593
|
"isSource": true,
|
|
1543
1594
|
"original": {
|
|
1544
|
-
"value": "1rem"
|
|
1595
|
+
"value": "1rem",
|
|
1596
|
+
"description": "Use with medium sized headers or as a header of its own. Is used as header in smaller components and as a selected state to differentiate from body text. Is used in view selector, tabs and code block"
|
|
1545
1597
|
},
|
|
1546
1598
|
"name": "FontSizeSubheadingMedium",
|
|
1547
1599
|
"attributes": {
|
|
@@ -1557,10 +1609,12 @@ module.exports = {
|
|
|
1557
1609
|
},
|
|
1558
1610
|
"subheading-small": {
|
|
1559
1611
|
"value": "0.875rem",
|
|
1612
|
+
"description": "Use cautiously. Not used in any components",
|
|
1560
1613
|
"filePath": "src/tokens/fonts.json",
|
|
1561
1614
|
"isSource": true,
|
|
1562
1615
|
"original": {
|
|
1563
|
-
"value": "0.875rem"
|
|
1616
|
+
"value": "0.875rem",
|
|
1617
|
+
"description": "Use cautiously. Not used in any components"
|
|
1564
1618
|
},
|
|
1565
1619
|
"name": "FontSizeSubheadingSmall",
|
|
1566
1620
|
"attributes": {
|
|
@@ -1576,10 +1630,12 @@ module.exports = {
|
|
|
1576
1630
|
},
|
|
1577
1631
|
"body-large": {
|
|
1578
1632
|
"value": "1rem",
|
|
1633
|
+
"description": "Use cautiously. Mainly used as the base font in web experiences. Can be used when wanting to create a subtle hierarchy such as in tables, dialogs. Is also used in some components where we provide a size “large”",
|
|
1579
1634
|
"filePath": "src/tokens/fonts.json",
|
|
1580
1635
|
"isSource": true,
|
|
1581
1636
|
"original": {
|
|
1582
|
-
"value": "1rem"
|
|
1637
|
+
"value": "1rem",
|
|
1638
|
+
"description": "Use cautiously. Mainly used as the base font in web experiences. Can be used when wanting to create a subtle hierarchy such as in tables, dialogs. Is also used in some components where we provide a size “large”"
|
|
1583
1639
|
},
|
|
1584
1640
|
"name": "FontSizeBodyLarge",
|
|
1585
1641
|
"attributes": {
|
|
@@ -1595,10 +1651,12 @@ module.exports = {
|
|
|
1595
1651
|
},
|
|
1596
1652
|
"body-medium": {
|
|
1597
1653
|
"value": "0.875rem",
|
|
1654
|
+
"description": "This is the base font and should be used as much as possible",
|
|
1598
1655
|
"filePath": "src/tokens/fonts.json",
|
|
1599
1656
|
"isSource": true,
|
|
1600
1657
|
"original": {
|
|
1601
|
-
"value": "0.875rem"
|
|
1658
|
+
"value": "0.875rem",
|
|
1659
|
+
"description": "This is the base font and should be used as much as possible"
|
|
1602
1660
|
},
|
|
1603
1661
|
"name": "FontSizeBodyMedium",
|
|
1604
1662
|
"attributes": {
|
|
@@ -1614,10 +1672,12 @@ module.exports = {
|
|
|
1614
1672
|
},
|
|
1615
1673
|
"body-small": {
|
|
1616
1674
|
"value": "0.75rem",
|
|
1675
|
+
"description": "Smallest accessible font. Use when having little space or crowded layouts.Examples include charts (widgets) and help texts",
|
|
1617
1676
|
"filePath": "src/tokens/fonts.json",
|
|
1618
1677
|
"isSource": true,
|
|
1619
1678
|
"original": {
|
|
1620
|
-
"value": "0.75rem"
|
|
1679
|
+
"value": "0.75rem",
|
|
1680
|
+
"description": "Smallest accessible font. Use when having little space or crowded layouts.Examples include charts (widgets) and help texts"
|
|
1621
1681
|
},
|
|
1622
1682
|
"name": "FontSizeBodySmall",
|
|
1623
1683
|
"attributes": {
|
|
@@ -1633,10 +1693,12 @@ module.exports = {
|
|
|
1633
1693
|
},
|
|
1634
1694
|
"code": {
|
|
1635
1695
|
"value": "0.875rem",
|
|
1696
|
+
"description": "Base font for code. Uses the same font size as the base font for regular text (body/medium)",
|
|
1636
1697
|
"filePath": "src/tokens/fonts.json",
|
|
1637
1698
|
"isSource": true,
|
|
1638
1699
|
"original": {
|
|
1639
|
-
"value": "0.875rem"
|
|
1700
|
+
"value": "0.875rem",
|
|
1701
|
+
"description": "Base font for code. Uses the same font size as the base font for regular text (body/medium)"
|
|
1640
1702
|
},
|
|
1641
1703
|
"name": "FontSizeCode",
|
|
1642
1704
|
"attributes": {
|
|
@@ -1652,10 +1714,12 @@ module.exports = {
|
|
|
1652
1714
|
},
|
|
1653
1715
|
"label": {
|
|
1654
1716
|
"value": "0.875rem",
|
|
1717
|
+
"description": "Mainly used for the label component but can also be used when needing a bold label inside a small component or space",
|
|
1655
1718
|
"filePath": "src/tokens/fonts.json",
|
|
1656
1719
|
"isSource": true,
|
|
1657
1720
|
"original": {
|
|
1658
|
-
"value": "0.875rem"
|
|
1721
|
+
"value": "0.875rem",
|
|
1722
|
+
"description": "Mainly used for the label component but can also be used when needing a bold label inside a small component or space"
|
|
1659
1723
|
},
|
|
1660
1724
|
"name": "FontSizeLabel",
|
|
1661
1725
|
"attributes": {
|
|
@@ -1774,10 +1838,12 @@ module.exports = {
|
|
|
1774
1838
|
"text": {
|
|
1775
1839
|
"weakest": {
|
|
1776
1840
|
"value": "#B2B7BD",
|
|
1841
|
+
"description": "Should be used mainly for disabled text",
|
|
1777
1842
|
"filePath": "src/tokens/palette.json",
|
|
1778
1843
|
"isSource": true,
|
|
1779
1844
|
"original": {
|
|
1780
|
-
"value": "{colors.neutral.60.value}"
|
|
1845
|
+
"value": "{colors.neutral.60.value}",
|
|
1846
|
+
"description": "Should be used mainly for disabled text"
|
|
1781
1847
|
},
|
|
1782
1848
|
"name": "PaletteLightNeutralTextWeakest",
|
|
1783
1849
|
"attributes": {
|
|
@@ -1797,10 +1863,12 @@ module.exports = {
|
|
|
1797
1863
|
},
|
|
1798
1864
|
"weaker": {
|
|
1799
1865
|
"value": "#717780",
|
|
1866
|
+
"description": "Should be used sparsely and mainly for headers and subtitles to differentiate from input text",
|
|
1800
1867
|
"filePath": "src/tokens/palette.json",
|
|
1801
1868
|
"isSource": true,
|
|
1802
1869
|
"original": {
|
|
1803
|
-
"value": "{colors.neutral.70.value}"
|
|
1870
|
+
"value": "{colors.neutral.70.value}",
|
|
1871
|
+
"description": "Should be used sparsely and mainly for headers and subtitles to differentiate from input text"
|
|
1804
1872
|
},
|
|
1805
1873
|
"name": "PaletteLightNeutralTextWeaker",
|
|
1806
1874
|
"attributes": {
|
|
@@ -1820,10 +1888,12 @@ module.exports = {
|
|
|
1820
1888
|
},
|
|
1821
1889
|
"weak": {
|
|
1822
1890
|
"value": "#535B66",
|
|
1891
|
+
"description": "Used for labels, icon color and descriptions",
|
|
1823
1892
|
"filePath": "src/tokens/palette.json",
|
|
1824
1893
|
"isSource": true,
|
|
1825
1894
|
"original": {
|
|
1826
|
-
"value": "{colors.neutral.80.value}"
|
|
1895
|
+
"value": "{colors.neutral.80.value}",
|
|
1896
|
+
"description": "Used for labels, icon color and descriptions"
|
|
1827
1897
|
},
|
|
1828
1898
|
"name": "PaletteLightNeutralTextWeak",
|
|
1829
1899
|
"attributes": {
|
|
@@ -1843,10 +1913,12 @@ module.exports = {
|
|
|
1843
1913
|
},
|
|
1844
1914
|
"default": {
|
|
1845
1915
|
"value": "#151E29",
|
|
1916
|
+
"description": "Used for all default text",
|
|
1846
1917
|
"filePath": "src/tokens/palette.json",
|
|
1847
1918
|
"isSource": true,
|
|
1848
1919
|
"original": {
|
|
1849
|
-
"value": "{colors.neutral.90.value}"
|
|
1920
|
+
"value": "{colors.neutral.90.value}",
|
|
1921
|
+
"description": "Used for all default text"
|
|
1850
1922
|
},
|
|
1851
1923
|
"name": "PaletteLightNeutralTextDefault",
|
|
1852
1924
|
"attributes": {
|
|
@@ -1866,10 +1938,12 @@ module.exports = {
|
|
|
1866
1938
|
},
|
|
1867
1939
|
"inverse": {
|
|
1868
1940
|
"value": "#FFFFFF",
|
|
1941
|
+
"description": "Default text on Neutral-bg-strongest or other dark backgrounds",
|
|
1869
1942
|
"filePath": "src/tokens/palette.json",
|
|
1870
1943
|
"isSource": true,
|
|
1871
1944
|
"original": {
|
|
1872
|
-
"value": "{colors.neutral.10.value}"
|
|
1945
|
+
"value": "{colors.neutral.10.value}",
|
|
1946
|
+
"description": "Default text on Neutral-bg-strongest or other dark backgrounds"
|
|
1873
1947
|
},
|
|
1874
1948
|
"name": "PaletteLightNeutralTextInverse",
|
|
1875
1949
|
"attributes": {
|
|
@@ -1891,10 +1965,12 @@ module.exports = {
|
|
|
1891
1965
|
"bg": {
|
|
1892
1966
|
"weak": {
|
|
1893
1967
|
"value": "#FFFFFF",
|
|
1968
|
+
"description": "Used as a surface color for containers, panels, side navigation and drawers on top of Neutral-bg-default",
|
|
1894
1969
|
"filePath": "src/tokens/palette.json",
|
|
1895
1970
|
"isSource": true,
|
|
1896
1971
|
"original": {
|
|
1897
|
-
"value": "{colors.neutral.10.value}"
|
|
1972
|
+
"value": "{colors.neutral.10.value}",
|
|
1973
|
+
"description": "Used as a surface color for containers, panels, side navigation and drawers on top of Neutral-bg-default"
|
|
1898
1974
|
},
|
|
1899
1975
|
"name": "PaletteLightNeutralBgWeak",
|
|
1900
1976
|
"attributes": {
|
|
@@ -1914,10 +1990,12 @@ module.exports = {
|
|
|
1914
1990
|
},
|
|
1915
1991
|
"default": {
|
|
1916
1992
|
"value": "#F5F7FA",
|
|
1993
|
+
"description": "Used as canvas/main background color in applications. Can also be used if adding a container on Neutral-bg-weak",
|
|
1917
1994
|
"filePath": "src/tokens/palette.json",
|
|
1918
1995
|
"isSource": true,
|
|
1919
1996
|
"original": {
|
|
1920
|
-
"value": "{colors.neutral.20.value}"
|
|
1997
|
+
"value": "{colors.neutral.20.value}",
|
|
1998
|
+
"description": "Used as canvas/main background color in applications. Can also be used if adding a container on Neutral-bg-weak"
|
|
1921
1999
|
},
|
|
1922
2000
|
"name": "PaletteLightNeutralBgDefault",
|
|
1923
2001
|
"attributes": {
|
|
@@ -1937,10 +2015,12 @@ module.exports = {
|
|
|
1937
2015
|
},
|
|
1938
2016
|
"strong": {
|
|
1939
2017
|
"value": "#E6E9EE",
|
|
2018
|
+
"description": "Use sparsely, mainly included in some component states",
|
|
1940
2019
|
"filePath": "src/tokens/palette.json",
|
|
1941
2020
|
"isSource": true,
|
|
1942
2021
|
"original": {
|
|
1943
|
-
"value": "{colors.neutral.40.value}"
|
|
2022
|
+
"value": "{colors.neutral.40.value}",
|
|
2023
|
+
"description": "Use sparsely, mainly included in some component states"
|
|
1944
2024
|
},
|
|
1945
2025
|
"name": "PaletteLightNeutralBgStrong",
|
|
1946
2026
|
"attributes": {
|
|
@@ -1960,10 +2040,12 @@ module.exports = {
|
|
|
1960
2040
|
},
|
|
1961
2041
|
"strongest": {
|
|
1962
2042
|
"value": "#535B66",
|
|
2043
|
+
"description": "Use sparsely, mainly for tooltips or other elements that should stand out from the light layout",
|
|
1963
2044
|
"filePath": "src/tokens/palette.json",
|
|
1964
2045
|
"isSource": true,
|
|
1965
2046
|
"original": {
|
|
1966
|
-
"value": "{colors.neutral.80.value}"
|
|
2047
|
+
"value": "{colors.neutral.80.value}",
|
|
2048
|
+
"description": "Use sparsely, mainly for tooltips or other elements that should stand out from the light layout"
|
|
1967
2049
|
},
|
|
1968
2050
|
"name": "PaletteLightNeutralBgStrongest",
|
|
1969
2051
|
"attributes": {
|
|
@@ -1985,10 +2067,12 @@ module.exports = {
|
|
|
1985
2067
|
"border": {
|
|
1986
2068
|
"weak": {
|
|
1987
2069
|
"value": "#EEF1F6",
|
|
2070
|
+
"description": "Used for light borders such as dividers and tables as well as some components such as context menu and code block to make them stand out more from the background",
|
|
1988
2071
|
"filePath": "src/tokens/palette.json",
|
|
1989
2072
|
"isSource": true,
|
|
1990
2073
|
"original": {
|
|
1991
|
-
"value": "{colors.neutral.30.value}"
|
|
2074
|
+
"value": "{colors.neutral.30.value}",
|
|
2075
|
+
"description": "Used for light borders such as dividers and tables as well as some components such as context menu and code block to make them stand out more from the background"
|
|
1992
2076
|
},
|
|
1993
2077
|
"name": "PaletteLightNeutralBorderWeak",
|
|
1994
2078
|
"attributes": {
|
|
@@ -2008,10 +2092,12 @@ module.exports = {
|
|
|
2008
2092
|
},
|
|
2009
2093
|
"strong": {
|
|
2010
2094
|
"value": "#C4C8CD",
|
|
2095
|
+
"description": "Used for components that are outlined and need to stand out such as text fields, search fields, drop-downs, buttons, checkboxes and radio buttons",
|
|
2011
2096
|
"filePath": "src/tokens/palette.json",
|
|
2012
2097
|
"isSource": true,
|
|
2013
2098
|
"original": {
|
|
2014
|
-
"value": "{colors.neutral.50.value}"
|
|
2099
|
+
"value": "{colors.neutral.50.value}",
|
|
2100
|
+
"description": "Used for components that are outlined and need to stand out such as text fields, search fields, drop-downs, buttons, checkboxes and radio buttons"
|
|
2015
2101
|
},
|
|
2016
2102
|
"name": "PaletteLightNeutralBorderStrong",
|
|
2017
2103
|
"attributes": {
|
|
@@ -2033,11 +2119,13 @@ module.exports = {
|
|
|
2033
2119
|
"hover": {
|
|
2034
2120
|
"alpha": "0.1",
|
|
2035
2121
|
"value": "rgba(113,119,128,0.1)",
|
|
2122
|
+
"description": "Used for neutral hover states on components",
|
|
2036
2123
|
"filePath": "src/tokens/palette.json",
|
|
2037
2124
|
"isSource": true,
|
|
2038
2125
|
"original": {
|
|
2039
2126
|
"alpha": "0.1",
|
|
2040
|
-
"value": "rgba({colors.neutral.70.rgb},{palette.light.neutral.hover.alpha})"
|
|
2127
|
+
"value": "rgba({colors.neutral.70.rgb},{palette.light.neutral.hover.alpha})",
|
|
2128
|
+
"description": "Used for neutral hover states on components"
|
|
2041
2129
|
},
|
|
2042
2130
|
"name": "PaletteLightNeutralHover",
|
|
2043
2131
|
"attributes": {
|
|
@@ -2056,11 +2144,13 @@ module.exports = {
|
|
|
2056
2144
|
"pressed": {
|
|
2057
2145
|
"alpha": "0.2",
|
|
2058
2146
|
"value": "rgba(113,119,128,0.2)",
|
|
2147
|
+
"description": "Used for neutral pressed states on components",
|
|
2059
2148
|
"filePath": "src/tokens/palette.json",
|
|
2060
2149
|
"isSource": true,
|
|
2061
2150
|
"original": {
|
|
2062
2151
|
"alpha": "0.2",
|
|
2063
|
-
"value": "rgba({colors.neutral.70.rgb},{palette.light.neutral.pressed.alpha})"
|
|
2152
|
+
"value": "rgba({colors.neutral.70.rgb},{palette.light.neutral.pressed.alpha})",
|
|
2153
|
+
"description": "Used for neutral pressed states on components"
|
|
2064
2154
|
},
|
|
2065
2155
|
"name": "PaletteLightNeutralPressed",
|
|
2066
2156
|
"attributes": {
|
|
@@ -2080,10 +2170,12 @@ module.exports = {
|
|
|
2080
2170
|
"primary": {
|
|
2081
2171
|
"text": {
|
|
2082
2172
|
"value": "#006FD6",
|
|
2173
|
+
"description": "Used for accent text, in text buttons, links, tabs and view selectors. Provides accessible text on both neutral backgrounds. We use the primary color both as a brand/primary color and for informational states",
|
|
2083
2174
|
"filePath": "src/tokens/palette.json",
|
|
2084
2175
|
"isSource": true,
|
|
2085
2176
|
"original": {
|
|
2086
|
-
"value": "{colors.primary.50.value}"
|
|
2177
|
+
"value": "{colors.primary.50.value}",
|
|
2178
|
+
"description": "Used for accent text, in text buttons, links, tabs and view selectors. Provides accessible text on both neutral backgrounds. We use the primary color both as a brand/primary color and for informational states"
|
|
2087
2179
|
},
|
|
2088
2180
|
"name": "PaletteLightPrimaryText",
|
|
2089
2181
|
"attributes": {
|
|
@@ -2101,10 +2193,12 @@ module.exports = {
|
|
|
2101
2193
|
},
|
|
2102
2194
|
"icon": {
|
|
2103
2195
|
"value": "#006FD6",
|
|
2196
|
+
"description": "Used for accent text, in text buttons, links, tabs and view selectors. Provides accessible text on both neutral backgrounds. We use the primary color both as a brand/primary color and for informational states",
|
|
2104
2197
|
"filePath": "src/tokens/palette.json",
|
|
2105
2198
|
"isSource": true,
|
|
2106
2199
|
"original": {
|
|
2107
|
-
"value": "{colors.primary.50.value}"
|
|
2200
|
+
"value": "{colors.primary.50.value}",
|
|
2201
|
+
"description": "Used for accent text, in text buttons, links, tabs and view selectors. Provides accessible text on both neutral backgrounds. We use the primary color both as a brand/primary color and for informational states"
|
|
2108
2202
|
},
|
|
2109
2203
|
"name": "PaletteLightPrimaryIcon",
|
|
2110
2204
|
"attributes": {
|
|
@@ -2123,10 +2217,12 @@ module.exports = {
|
|
|
2123
2217
|
"bg": {
|
|
2124
2218
|
"strong": {
|
|
2125
2219
|
"value": "#006FD6",
|
|
2220
|
+
"description": "Used as backgrounds for highlighted components such as filled buttons, checkboxes, radio buttons, cards, filled labels, pagination and view selectors",
|
|
2126
2221
|
"filePath": "src/tokens/palette.json",
|
|
2127
2222
|
"isSource": true,
|
|
2128
2223
|
"original": {
|
|
2129
|
-
"value": "{colors.primary.50.value}"
|
|
2224
|
+
"value": "{colors.primary.50.value}",
|
|
2225
|
+
"description": "Used as backgrounds for highlighted components such as filled buttons, checkboxes, radio buttons, cards, filled labels, pagination and view selectors"
|
|
2130
2226
|
},
|
|
2131
2227
|
"name": "PaletteLightPrimaryBgStrong",
|
|
2132
2228
|
"attributes": {
|
|
@@ -2146,10 +2242,12 @@ module.exports = {
|
|
|
2146
2242
|
},
|
|
2147
2243
|
"weak": {
|
|
2148
2244
|
"value": "#e6f8ff",
|
|
2245
|
+
"description": "Used as a light primary background and usually in combination with Primary-text,icon. Components include banners, semi-filled labels, drag & drops and filled tabs",
|
|
2149
2246
|
"filePath": "src/tokens/palette.json",
|
|
2150
2247
|
"isSource": true,
|
|
2151
2248
|
"original": {
|
|
2152
|
-
"value": "{colors.primary.10.value}"
|
|
2249
|
+
"value": "{colors.primary.10.value}",
|
|
2250
|
+
"description": "Used as a light primary background and usually in combination with Primary-text,icon. Components include banners, semi-filled labels, drag & drops and filled tabs"
|
|
2153
2251
|
},
|
|
2154
2252
|
"name": "PaletteLightPrimaryBgWeak",
|
|
2155
2253
|
"attributes": {
|
|
@@ -2171,10 +2269,12 @@ module.exports = {
|
|
|
2171
2269
|
"border": {
|
|
2172
2270
|
"strong": {
|
|
2173
2271
|
"value": "#006FD6",
|
|
2272
|
+
"description": "Use sparsely. Used for outlined primary buttons, drag & drop dragged state, outlined labels and wizard",
|
|
2174
2273
|
"filePath": "src/tokens/palette.json",
|
|
2175
2274
|
"isSource": true,
|
|
2176
2275
|
"original": {
|
|
2177
|
-
"value": "{colors.primary.50.value}"
|
|
2276
|
+
"value": "{colors.primary.50.value}",
|
|
2277
|
+
"description": "Use sparsely. Used for outlined primary buttons, drag & drop dragged state, outlined labels and wizard"
|
|
2178
2278
|
},
|
|
2179
2279
|
"name": "PaletteLightPrimaryBorderStrong",
|
|
2180
2280
|
"attributes": {
|
|
@@ -2194,10 +2294,12 @@ module.exports = {
|
|
|
2194
2294
|
},
|
|
2195
2295
|
"weak": {
|
|
2196
2296
|
"value": "#7ad1ff",
|
|
2297
|
+
"description": "Use sparsely. Mainly used in combination with elements that use the Primary-bg-weak to stand out more from the background",
|
|
2197
2298
|
"filePath": "src/tokens/palette.json",
|
|
2198
2299
|
"isSource": true,
|
|
2199
2300
|
"original": {
|
|
2200
|
-
"value": "{colors.primary.30.value}"
|
|
2301
|
+
"value": "{colors.primary.30.value}",
|
|
2302
|
+
"description": "Use sparsely. Mainly used in combination with elements that use the Primary-bg-weak to stand out more from the background"
|
|
2201
2303
|
},
|
|
2202
2304
|
"name": "PaletteLightPrimaryBorderWeak",
|
|
2203
2305
|
"attributes": {
|
|
@@ -2218,10 +2320,12 @@ module.exports = {
|
|
|
2218
2320
|
},
|
|
2219
2321
|
"focus": {
|
|
2220
2322
|
"value": "#018bff",
|
|
2323
|
+
"description": "Used for all focused states",
|
|
2221
2324
|
"filePath": "src/tokens/palette.json",
|
|
2222
2325
|
"isSource": true,
|
|
2223
2326
|
"original": {
|
|
2224
|
-
"value": "{colors.primary.40.value}"
|
|
2327
|
+
"value": "{colors.primary.40.value}",
|
|
2328
|
+
"description": "Used for all focused states"
|
|
2225
2329
|
},
|
|
2226
2330
|
"name": "PaletteLightPrimaryFocus",
|
|
2227
2331
|
"attributes": {
|
|
@@ -2241,11 +2345,13 @@ module.exports = {
|
|
|
2241
2345
|
"weak": {
|
|
2242
2346
|
"alpha": "0.08",
|
|
2243
2347
|
"value": "rgba(1,139,255,0.08)",
|
|
2348
|
+
"description": "Used for hover states where the background is either transparent or use Neutral-bg-weak",
|
|
2244
2349
|
"filePath": "src/tokens/palette.json",
|
|
2245
2350
|
"isSource": true,
|
|
2246
2351
|
"original": {
|
|
2247
2352
|
"alpha": "0.08",
|
|
2248
|
-
"value": "rgba({colors.primary.40.rgb},{palette.light.primary.hover.weak.alpha})"
|
|
2353
|
+
"value": "rgba({colors.primary.40.rgb},{palette.light.primary.hover.weak.alpha})",
|
|
2354
|
+
"description": "Used for hover states where the background is either transparent or use Neutral-bg-weak"
|
|
2249
2355
|
},
|
|
2250
2356
|
"name": "PaletteLightPrimaryHoverWeak",
|
|
2251
2357
|
"attributes": {
|
|
@@ -2265,10 +2371,12 @@ module.exports = {
|
|
|
2265
2371
|
},
|
|
2266
2372
|
"strong": {
|
|
2267
2373
|
"value": "#0056b3",
|
|
2374
|
+
"description": "Used for hover states where the background is the Primary-bg-strong with the label being Neutral-text-inverse",
|
|
2268
2375
|
"filePath": "src/tokens/palette.json",
|
|
2269
2376
|
"isSource": true,
|
|
2270
2377
|
"original": {
|
|
2271
|
-
"value": "{colors.primary.60.value}"
|
|
2378
|
+
"value": "{colors.primary.60.value}",
|
|
2379
|
+
"description": "Used for hover states where the background is the Primary-bg-strong with the label being Neutral-text-inverse"
|
|
2272
2380
|
},
|
|
2273
2381
|
"name": "PaletteLightPrimaryHoverStrong",
|
|
2274
2382
|
"attributes": {
|
|
@@ -2291,11 +2399,13 @@ module.exports = {
|
|
|
2291
2399
|
"weak": {
|
|
2292
2400
|
"alpha": "0.12",
|
|
2293
2401
|
"value": "rgba(1,139,255,0.12)",
|
|
2402
|
+
"description": "Used for pressed states where the background is either transparent or use Neutral-bg-weak",
|
|
2294
2403
|
"filePath": "src/tokens/palette.json",
|
|
2295
2404
|
"isSource": true,
|
|
2296
2405
|
"original": {
|
|
2297
2406
|
"alpha": "0.12",
|
|
2298
|
-
"value": "rgba({colors.primary.40.rgb},{palette.light.primary.pressed.weak.alpha})"
|
|
2407
|
+
"value": "rgba({colors.primary.40.rgb},{palette.light.primary.pressed.weak.alpha})",
|
|
2408
|
+
"description": "Used for pressed states where the background is either transparent or use Neutral-bg-weak"
|
|
2299
2409
|
},
|
|
2300
2410
|
"name": "PaletteLightPrimaryPressedWeak",
|
|
2301
2411
|
"attributes": {
|
|
@@ -2315,10 +2425,12 @@ module.exports = {
|
|
|
2315
2425
|
},
|
|
2316
2426
|
"strong": {
|
|
2317
2427
|
"value": "#004092",
|
|
2428
|
+
"description": "Used for pressed states where the background is the Primary-bg-strong with the label being Neutral-text-inverse",
|
|
2318
2429
|
"filePath": "src/tokens/palette.json",
|
|
2319
2430
|
"isSource": true,
|
|
2320
2431
|
"original": {
|
|
2321
|
-
"value": "{colors.primary.70.value}"
|
|
2432
|
+
"value": "{colors.primary.70.value}",
|
|
2433
|
+
"description": "Used for pressed states where the background is the Primary-bg-strong with the label being Neutral-text-inverse"
|
|
2322
2434
|
},
|
|
2323
2435
|
"name": "PaletteLightPrimaryPressedStrong",
|
|
2324
2436
|
"attributes": {
|
|
@@ -2341,10 +2453,12 @@ module.exports = {
|
|
|
2341
2453
|
"danger": {
|
|
2342
2454
|
"text": {
|
|
2343
2455
|
"value": "#cc254b",
|
|
2456
|
+
"description": "Used for error state texts and icons. Do not use for other semantic states, visualization or graph colors",
|
|
2344
2457
|
"filePath": "src/tokens/palette.json",
|
|
2345
2458
|
"isSource": true,
|
|
2346
2459
|
"original": {
|
|
2347
|
-
"value": "{colors.danger.50.value}"
|
|
2460
|
+
"value": "{colors.danger.50.value}",
|
|
2461
|
+
"description": "Used for error state texts and icons. Do not use for other semantic states, visualization or graph colors"
|
|
2348
2462
|
},
|
|
2349
2463
|
"name": "PaletteLightDangerText",
|
|
2350
2464
|
"attributes": {
|
|
@@ -2362,10 +2476,12 @@ module.exports = {
|
|
|
2362
2476
|
},
|
|
2363
2477
|
"icon": {
|
|
2364
2478
|
"value": "#cc254b",
|
|
2479
|
+
"description": "Used for error state texts and icons. Do not use for other semantic states, visualization or graph colors",
|
|
2365
2480
|
"filePath": "src/tokens/palette.json",
|
|
2366
2481
|
"isSource": true,
|
|
2367
2482
|
"original": {
|
|
2368
|
-
"value": "{colors.danger.50.value}"
|
|
2483
|
+
"value": "{colors.danger.50.value}",
|
|
2484
|
+
"description": "Used for error state texts and icons. Do not use for other semantic states, visualization or graph colors"
|
|
2369
2485
|
},
|
|
2370
2486
|
"name": "PaletteLightDangerIcon",
|
|
2371
2487
|
"attributes": {
|
|
@@ -2384,10 +2500,12 @@ module.exports = {
|
|
|
2384
2500
|
"bg": {
|
|
2385
2501
|
"strong": {
|
|
2386
2502
|
"value": "#cc254b",
|
|
2503
|
+
"description": "Used as backgrounds for filled critical buttons. Can also be used for illustrative background elements in critical states",
|
|
2387
2504
|
"filePath": "src/tokens/palette.json",
|
|
2388
2505
|
"isSource": true,
|
|
2389
2506
|
"original": {
|
|
2390
|
-
"value": "{colors.danger.50.value}"
|
|
2507
|
+
"value": "{colors.danger.50.value}",
|
|
2508
|
+
"description": "Used as backgrounds for filled critical buttons. Can also be used for illustrative background elements in critical states"
|
|
2391
2509
|
},
|
|
2392
2510
|
"name": "PaletteLightDangerBgStrong",
|
|
2393
2511
|
"attributes": {
|
|
@@ -2407,10 +2525,12 @@ module.exports = {
|
|
|
2407
2525
|
},
|
|
2408
2526
|
"weak": {
|
|
2409
2527
|
"value": "#ffe6e9",
|
|
2528
|
+
"description": "Used as backgrounds for critical components states such as banner drag & drop (invalid file type), semi-filled labels and “clear all” tags",
|
|
2410
2529
|
"filePath": "src/tokens/palette.json",
|
|
2411
2530
|
"isSource": true,
|
|
2412
2531
|
"original": {
|
|
2413
|
-
"value": "{colors.danger.10.value}"
|
|
2532
|
+
"value": "{colors.danger.10.value}",
|
|
2533
|
+
"description": "Used as backgrounds for critical components states such as banner drag & drop (invalid file type), semi-filled labels and “clear all” tags"
|
|
2414
2534
|
},
|
|
2415
2535
|
"name": "PaletteLightDangerBgWeak",
|
|
2416
2536
|
"attributes": {
|
|
@@ -2432,10 +2552,12 @@ module.exports = {
|
|
|
2432
2552
|
"border": {
|
|
2433
2553
|
"strong": {
|
|
2434
2554
|
"value": "#cc254b",
|
|
2555
|
+
"description": "Use sparsely. Used for outlined critical buttons, drag & drop (invalid file type) and outlined critical labels",
|
|
2435
2556
|
"filePath": "src/tokens/palette.json",
|
|
2436
2557
|
"isSource": true,
|
|
2437
2558
|
"original": {
|
|
2438
|
-
"value": "{colors.danger.50.value}"
|
|
2559
|
+
"value": "{colors.danger.50.value}",
|
|
2560
|
+
"description": "Use sparsely. Used for outlined critical buttons, drag & drop (invalid file type) and outlined critical labels"
|
|
2439
2561
|
},
|
|
2440
2562
|
"name": "PaletteLightDangerBorderStrong",
|
|
2441
2563
|
"attributes": {
|
|
@@ -2455,10 +2577,12 @@ module.exports = {
|
|
|
2455
2577
|
},
|
|
2456
2578
|
"weak": {
|
|
2457
2579
|
"value": "#ffb8c4",
|
|
2580
|
+
"description": "Use sparsely. Mainly used in combination with elements that use the Critical-bg-weak to stand out more from the background",
|
|
2458
2581
|
"filePath": "src/tokens/palette.json",
|
|
2459
2582
|
"isSource": true,
|
|
2460
2583
|
"original": {
|
|
2461
|
-
"value": "{colors.danger.20.value}"
|
|
2584
|
+
"value": "{colors.danger.20.value}",
|
|
2585
|
+
"description": "Use sparsely. Mainly used in combination with elements that use the Critical-bg-weak to stand out more from the background"
|
|
2462
2586
|
},
|
|
2463
2587
|
"name": "PaletteLightDangerBorderWeak",
|
|
2464
2588
|
"attributes": {
|
|
@@ -2481,11 +2605,13 @@ module.exports = {
|
|
|
2481
2605
|
"weak": {
|
|
2482
2606
|
"alpha": "0.08",
|
|
2483
2607
|
"value": "rgba(237,18,82,0.08)",
|
|
2608
|
+
"description": "Used for hover states for critical buttons where the background is either transparent or use Neutral-bg-weak",
|
|
2484
2609
|
"filePath": "src/tokens/palette.json",
|
|
2485
2610
|
"isSource": true,
|
|
2486
2611
|
"original": {
|
|
2487
2612
|
"alpha": "0.08",
|
|
2488
|
-
"value": "rgba({colors.danger.40.rgb},{palette.light.danger.hover.weak.alpha})"
|
|
2613
|
+
"value": "rgba({colors.danger.40.rgb},{palette.light.danger.hover.weak.alpha})",
|
|
2614
|
+
"description": "Used for hover states for critical buttons where the background is either transparent or use Neutral-bg-weak"
|
|
2489
2615
|
},
|
|
2490
2616
|
"name": "PaletteLightDangerHoverWeak",
|
|
2491
2617
|
"attributes": {
|
|
@@ -2505,10 +2631,12 @@ module.exports = {
|
|
|
2505
2631
|
},
|
|
2506
2632
|
"strong": {
|
|
2507
2633
|
"value": "#a1003b",
|
|
2634
|
+
"description": "Only used for hover states in critical filled buttons",
|
|
2508
2635
|
"filePath": "src/tokens/palette.json",
|
|
2509
2636
|
"isSource": true,
|
|
2510
2637
|
"original": {
|
|
2511
|
-
"value": "{colors.danger.60.value}"
|
|
2638
|
+
"value": "{colors.danger.60.value}",
|
|
2639
|
+
"description": "Only used for hover states in critical filled buttons"
|
|
2512
2640
|
},
|
|
2513
2641
|
"name": "PaletteLightDangerHoverStrong",
|
|
2514
2642
|
"attributes": {
|
|
@@ -2531,11 +2659,13 @@ module.exports = {
|
|
|
2531
2659
|
"weak": {
|
|
2532
2660
|
"alpha": "0.12",
|
|
2533
2661
|
"value": "rgba(237,18,82,0.12)",
|
|
2662
|
+
"description": "Used for pressed states for critical buttons where the background is either transparent or use Neutral-bg-weak",
|
|
2534
2663
|
"filePath": "src/tokens/palette.json",
|
|
2535
2664
|
"isSource": true,
|
|
2536
2665
|
"original": {
|
|
2537
2666
|
"alpha": "0.12",
|
|
2538
|
-
"value": "rgba({colors.danger.40.rgb},{palette.light.danger.pressed.weak.alpha})"
|
|
2667
|
+
"value": "rgba({colors.danger.40.rgb},{palette.light.danger.pressed.weak.alpha})",
|
|
2668
|
+
"description": "Used for pressed states for critical buttons where the background is either transparent or use Neutral-bg-weak"
|
|
2539
2669
|
},
|
|
2540
2670
|
"name": "PaletteLightDangerPressedWeak",
|
|
2541
2671
|
"attributes": {
|
|
@@ -2555,10 +2685,12 @@ module.exports = {
|
|
|
2555
2685
|
},
|
|
2556
2686
|
"strong": {
|
|
2557
2687
|
"value": "#7a0031",
|
|
2688
|
+
"description": "Only used for pressed states in critical filled buttons",
|
|
2558
2689
|
"filePath": "src/tokens/palette.json",
|
|
2559
2690
|
"isSource": true,
|
|
2560
2691
|
"original": {
|
|
2561
|
-
"value": "{colors.danger.70.value}"
|
|
2692
|
+
"value": "{colors.danger.70.value}",
|
|
2693
|
+
"description": "Only used for pressed states in critical filled buttons"
|
|
2562
2694
|
},
|
|
2563
2695
|
"name": "PaletteLightDangerPressedStrong",
|
|
2564
2696
|
"attributes": {
|
|
@@ -2581,10 +2713,12 @@ module.exports = {
|
|
|
2581
2713
|
"warning": {
|
|
2582
2714
|
"text": {
|
|
2583
2715
|
"value": "#966c2e",
|
|
2716
|
+
"description": "Used for warning state texts and icons. Do not use for other semantic states, visualization or graph colors",
|
|
2584
2717
|
"filePath": "src/tokens/palette.json",
|
|
2585
2718
|
"isSource": true,
|
|
2586
2719
|
"original": {
|
|
2587
|
-
"value": "{colors.warning.60.value}"
|
|
2720
|
+
"value": "{colors.warning.60.value}",
|
|
2721
|
+
"description": "Used for warning state texts and icons. Do not use for other semantic states, visualization or graph colors"
|
|
2588
2722
|
},
|
|
2589
2723
|
"name": "PaletteLightWarningText",
|
|
2590
2724
|
"attributes": {
|
|
@@ -2602,10 +2736,12 @@ module.exports = {
|
|
|
2602
2736
|
},
|
|
2603
2737
|
"icon": {
|
|
2604
2738
|
"value": "#966c2e",
|
|
2739
|
+
"description": "Used for warning state texts and icons. Do not use for other semantic states, visualization or graph colors",
|
|
2605
2740
|
"filePath": "src/tokens/palette.json",
|
|
2606
2741
|
"isSource": true,
|
|
2607
2742
|
"original": {
|
|
2608
|
-
"value": "{colors.warning.60.value}"
|
|
2743
|
+
"value": "{colors.warning.60.value}",
|
|
2744
|
+
"description": "Used for warning state texts and icons. Do not use for other semantic states, visualization or graph colors"
|
|
2609
2745
|
},
|
|
2610
2746
|
"name": "PaletteLightWarningIcon",
|
|
2611
2747
|
"attributes": {
|
|
@@ -2624,10 +2760,12 @@ module.exports = {
|
|
|
2624
2760
|
"bg": {
|
|
2625
2761
|
"strong": {
|
|
2626
2762
|
"value": "#966c2e",
|
|
2763
|
+
"description": "Use sparsely. Only used for filled labels",
|
|
2627
2764
|
"filePath": "src/tokens/palette.json",
|
|
2628
2765
|
"isSource": true,
|
|
2629
2766
|
"original": {
|
|
2630
|
-
"value": "{colors.warning.60.value}"
|
|
2767
|
+
"value": "{colors.warning.60.value}",
|
|
2768
|
+
"description": "Use sparsely. Only used for filled labels"
|
|
2631
2769
|
},
|
|
2632
2770
|
"name": "PaletteLightWarningBgStrong",
|
|
2633
2771
|
"attributes": {
|
|
@@ -2647,10 +2785,12 @@ module.exports = {
|
|
|
2647
2785
|
},
|
|
2648
2786
|
"weak": {
|
|
2649
2787
|
"value": "#FFFBDE",
|
|
2788
|
+
"description": "Used as backgrounds for warning components states such as banner and semi-filled labels",
|
|
2650
2789
|
"filePath": "src/tokens/palette.json",
|
|
2651
2790
|
"isSource": true,
|
|
2652
2791
|
"original": {
|
|
2653
|
-
"value": "{colors.warning.10.value}"
|
|
2792
|
+
"value": "{colors.warning.10.value}",
|
|
2793
|
+
"description": "Used as backgrounds for warning components states such as banner and semi-filled labels"
|
|
2654
2794
|
},
|
|
2655
2795
|
"name": "PaletteLightWarningBgWeak",
|
|
2656
2796
|
"attributes": {
|
|
@@ -2672,10 +2812,12 @@ module.exports = {
|
|
|
2672
2812
|
"border": {
|
|
2673
2813
|
"strong": {
|
|
2674
2814
|
"value": "#966c2e",
|
|
2815
|
+
"description": "Use sparsely. Only used for outlined labels",
|
|
2675
2816
|
"filePath": "src/tokens/palette.json",
|
|
2676
2817
|
"isSource": true,
|
|
2677
2818
|
"original": {
|
|
2678
|
-
"value": "{colors.warning.60.value}"
|
|
2819
|
+
"value": "{colors.warning.60.value}",
|
|
2820
|
+
"description": "Use sparsely. Only used for outlined labels"
|
|
2679
2821
|
},
|
|
2680
2822
|
"name": "PaletteLightWarningBorderStrong",
|
|
2681
2823
|
"attributes": {
|
|
@@ -2695,10 +2837,12 @@ module.exports = {
|
|
|
2695
2837
|
},
|
|
2696
2838
|
"weak": {
|
|
2697
2839
|
"value": "#FFEA8C",
|
|
2840
|
+
"description": "Use sparsely. Mainly used in combination with elements that use the Warning-bg-weak to stand out more from the background",
|
|
2698
2841
|
"filePath": "src/tokens/palette.json",
|
|
2699
2842
|
"isSource": true,
|
|
2700
2843
|
"original": {
|
|
2701
|
-
"value": "{colors.warning.30.value}"
|
|
2844
|
+
"value": "{colors.warning.30.value}",
|
|
2845
|
+
"description": "Use sparsely. Mainly used in combination with elements that use the Warning-bg-weak to stand out more from the background"
|
|
2702
2846
|
},
|
|
2703
2847
|
"name": "PaletteLightWarningBorderWeak",
|
|
2704
2848
|
"attributes": {
|
|
@@ -2721,10 +2865,12 @@ module.exports = {
|
|
|
2721
2865
|
"success": {
|
|
2722
2866
|
"text": {
|
|
2723
2867
|
"value": "#327D60",
|
|
2868
|
+
"description": "Used for success state texts and icons. Do not use for other semantic states, visualization or graph colors",
|
|
2724
2869
|
"filePath": "src/tokens/palette.json",
|
|
2725
2870
|
"isSource": true,
|
|
2726
2871
|
"original": {
|
|
2727
|
-
"value": "{colors.success.50.value}"
|
|
2872
|
+
"value": "{colors.success.50.value}",
|
|
2873
|
+
"description": "Used for success state texts and icons. Do not use for other semantic states, visualization or graph colors"
|
|
2728
2874
|
},
|
|
2729
2875
|
"name": "PaletteLightSuccessText",
|
|
2730
2876
|
"attributes": {
|
|
@@ -2742,10 +2888,12 @@ module.exports = {
|
|
|
2742
2888
|
},
|
|
2743
2889
|
"icon": {
|
|
2744
2890
|
"value": "#327D60",
|
|
2891
|
+
"description": "Used for success state texts and icons. Do not use for other semantic states, visualization or graph colors",
|
|
2745
2892
|
"filePath": "src/tokens/palette.json",
|
|
2746
2893
|
"isSource": true,
|
|
2747
2894
|
"original": {
|
|
2748
|
-
"value": "{colors.success.50.value}"
|
|
2895
|
+
"value": "{colors.success.50.value}",
|
|
2896
|
+
"description": "Used for success state texts and icons. Do not use for other semantic states, visualization or graph colors"
|
|
2749
2897
|
},
|
|
2750
2898
|
"name": "PaletteLightSuccessIcon",
|
|
2751
2899
|
"attributes": {
|
|
@@ -2764,10 +2912,12 @@ module.exports = {
|
|
|
2764
2912
|
"bg": {
|
|
2765
2913
|
"strong": {
|
|
2766
2914
|
"value": "#327D60",
|
|
2915
|
+
"description": "Use sparsely. Only used for filled labels",
|
|
2767
2916
|
"filePath": "src/tokens/palette.json",
|
|
2768
2917
|
"isSource": true,
|
|
2769
2918
|
"original": {
|
|
2770
|
-
"value": "{colors.success.50.value}"
|
|
2919
|
+
"value": "{colors.success.50.value}",
|
|
2920
|
+
"description": "Use sparsely. Only used for filled labels"
|
|
2771
2921
|
},
|
|
2772
2922
|
"name": "PaletteLightSuccessBgStrong",
|
|
2773
2923
|
"attributes": {
|
|
@@ -2787,10 +2937,12 @@ module.exports = {
|
|
|
2787
2937
|
},
|
|
2788
2938
|
"weak": {
|
|
2789
2939
|
"value": "#E1FAEF",
|
|
2940
|
+
"description": "Used as backgrounds for success components states such as banner and semi-filled labels",
|
|
2790
2941
|
"filePath": "src/tokens/palette.json",
|
|
2791
2942
|
"isSource": true,
|
|
2792
2943
|
"original": {
|
|
2793
|
-
"value": "{colors.success.10.value}"
|
|
2944
|
+
"value": "{colors.success.10.value}",
|
|
2945
|
+
"description": "Used as backgrounds for success components states such as banner and semi-filled labels"
|
|
2794
2946
|
},
|
|
2795
2947
|
"name": "PaletteLightSuccessBgWeak",
|
|
2796
2948
|
"attributes": {
|
|
@@ -2812,10 +2964,12 @@ module.exports = {
|
|
|
2812
2964
|
"border": {
|
|
2813
2965
|
"strong": {
|
|
2814
2966
|
"value": "#327D60",
|
|
2967
|
+
"description": "Use sparsely. Only used for outlined labels",
|
|
2815
2968
|
"filePath": "src/tokens/palette.json",
|
|
2816
2969
|
"isSource": true,
|
|
2817
2970
|
"original": {
|
|
2818
|
-
"value": "{colors.success.50.value}"
|
|
2971
|
+
"value": "{colors.success.50.value}",
|
|
2972
|
+
"description": "Use sparsely. Only used for outlined labels"
|
|
2819
2973
|
},
|
|
2820
2974
|
"name": "PaletteLightSuccessBorderStrong",
|
|
2821
2975
|
"attributes": {
|
|
@@ -2835,10 +2989,12 @@ module.exports = {
|
|
|
2835
2989
|
},
|
|
2836
2990
|
"weak": {
|
|
2837
2991
|
"value": "#98EDCB",
|
|
2992
|
+
"description": "Use sparsely. Mainly used in combination with elements that use the Success-bg-weak to stand out more from the background",
|
|
2838
2993
|
"filePath": "src/tokens/palette.json",
|
|
2839
2994
|
"isSource": true,
|
|
2840
2995
|
"original": {
|
|
2841
|
-
"value": "{colors.success.20.value}"
|
|
2996
|
+
"value": "{colors.success.20.value}",
|
|
2997
|
+
"description": "Use sparsely. Mainly used in combination with elements that use the Success-bg-weak to stand out more from the background"
|
|
2842
2998
|
},
|
|
2843
2999
|
"name": "PaletteLightSuccessBorderWeak",
|
|
2844
3000
|
"attributes": {
|
|
@@ -2863,10 +3019,12 @@ module.exports = {
|
|
|
2863
3019
|
"boxShadow": {
|
|
2864
3020
|
"l2": {
|
|
2865
3021
|
"value": "0px 1px 2px 0px rgba(12, 26, 37, 0.18)",
|
|
3022
|
+
"description": "Used for small components that need sharper shadows to illustrate elevation. Only switch is using level 2",
|
|
2866
3023
|
"filePath": "src/tokens/shadows.json",
|
|
2867
3024
|
"isSource": true,
|
|
2868
3025
|
"original": {
|
|
2869
|
-
"value": "0px 1px 2px 0px rgba(12, 26, 37, 0.18)"
|
|
3026
|
+
"value": "0px 1px 2px 0px rgba(12, 26, 37, 0.18)",
|
|
3027
|
+
"description": "Used for small components that need sharper shadows to illustrate elevation. Only switch is using level 2"
|
|
2870
3028
|
},
|
|
2871
3029
|
"name": "BoxShadowL2",
|
|
2872
3030
|
"attributes": {
|
|
@@ -2880,10 +3038,12 @@ module.exports = {
|
|
|
2880
3038
|
},
|
|
2881
3039
|
"l3": {
|
|
2882
3040
|
"value": "0px 4px 8px 0px rgba(12, 26, 37, 0.04)",
|
|
3041
|
+
"description": "Not used in any components, do not use it since it will most likely be removed",
|
|
2883
3042
|
"filePath": "src/tokens/shadows.json",
|
|
2884
3043
|
"isSource": true,
|
|
2885
3044
|
"original": {
|
|
2886
|
-
"value": "0px 4px 8px 0px rgba(12, 26, 37, 0.04)"
|
|
3045
|
+
"value": "0px 4px 8px 0px rgba(12, 26, 37, 0.04)",
|
|
3046
|
+
"description": "Not used in any components, do not use it since it will most likely be removed"
|
|
2887
3047
|
},
|
|
2888
3048
|
"name": "BoxShadowL3",
|
|
2889
3049
|
"attributes": {
|
|
@@ -2897,10 +3057,12 @@ module.exports = {
|
|
|
2897
3057
|
},
|
|
2898
3058
|
"l4": {
|
|
2899
3059
|
"value": "0px 4px 8px 0px rgba(12, 26, 37, 0.08)",
|
|
3060
|
+
"description": "Used for most mid/large sized components with floating states. Components include banner, button, card, drop down, progress bar and view selector",
|
|
2900
3061
|
"filePath": "src/tokens/shadows.json",
|
|
2901
3062
|
"isSource": true,
|
|
2902
3063
|
"original": {
|
|
2903
|
-
"value": "0px 4px 8px 0px rgba(12, 26, 37, 0.08)"
|
|
3064
|
+
"value": "0px 4px 8px 0px rgba(12, 26, 37, 0.08)",
|
|
3065
|
+
"description": "Used for most mid/large sized components with floating states. Components include banner, button, card, drop down, progress bar and view selector"
|
|
2904
3066
|
},
|
|
2905
3067
|
"name": "BoxShadowL4",
|
|
2906
3068
|
"attributes": {
|
|
@@ -2914,10 +3076,12 @@ module.exports = {
|
|
|
2914
3076
|
},
|
|
2915
3077
|
"l5": {
|
|
2916
3078
|
"value": "0px 8px 20px 0px rgba(12, 26, 37, 0.12)",
|
|
3079
|
+
"description": "Use for large containers such as dialogs, login screens and context menus",
|
|
2917
3080
|
"filePath": "src/tokens/shadows.json",
|
|
2918
3081
|
"isSource": true,
|
|
2919
3082
|
"original": {
|
|
2920
|
-
"value": "0px 8px 20px 0px rgba(12, 26, 37, 0.12)"
|
|
3083
|
+
"value": "0px 8px 20px 0px rgba(12, 26, 37, 0.12)",
|
|
3084
|
+
"description": "Use for large containers such as dialogs, login screens and context menus"
|
|
2921
3085
|
},
|
|
2922
3086
|
"name": "BoxShadowL5",
|
|
2923
3087
|
"attributes": {
|