@govbr-ds/tokens 4.0.0-next.39 → 4.0.0-next.40
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/README.md +42 -3
- package/dist/css/components/breadcrumbs/tokens.css +2 -1
- package/dist/css/components/chatBubble/tokens.css +2 -1
- package/dist/css/components/chatInput/tokens.css +2 -1
- package/dist/css/components/checkbox/tokens.css +2 -1
- package/dist/css/components/divider/tokens.css +8 -6
- package/dist/css/components/footer/tokens.css +2 -1
- package/dist/css/components/input/tokens.css +2 -1
- package/dist/css/components/radioGroup/tokens.css +2 -1
- package/dist/css/components/tag/tokens.css +29 -33
- package/dist/css/components/tagCount/tokens.css +7 -11
- package/dist/css/components/tagStatus/tokens.css +22 -22
- package/dist/css/theme/{light/contrast-mode.css → color-mode.css} +40 -36
- package/dist/css/theme/dark/prefers-color-scheme.css +7 -5
- package/dist/css/theme/dark/tokens.css +5 -3
- package/dist/css/theme/light/prefers-color-scheme.css +7 -5
- package/dist/css/theme/light/tokens.css +5 -3
- package/dist/css/tokens.css +10 -6
- package/dist/js/components/breadcrumbs/tokens.js +2 -1
- package/dist/js/components/chatBubble/tokens.js +2 -1
- package/dist/js/components/chatInput/tokens.js +2 -1
- package/dist/js/components/checkbox/tokens.js +2 -1
- package/dist/js/components/divider/tokens.js +2 -0
- package/dist/js/components/footer/tokens.js +2 -1
- package/dist/js/components/input/tokens.js +2 -1
- package/dist/js/components/radioGroup/tokens.js +2 -1
- package/dist/js/components/tag/tokens.js +33 -33
- package/dist/js/components/tagCount/tokens.js +9 -11
- package/dist/js/components/tagStatus/tokens.js +24 -22
- package/dist/js/theme/dark/tokens.js +4 -2
- package/dist/js/theme/light/tokens.js +4 -2
- package/dist/js/tokens.js +9 -5
- package/dist/json/components/breadcrumbs/tokens.json +34 -7
- package/dist/json/components/chatBubble/tokens.json +36 -7
- package/dist/json/components/chatInput/tokens.json +33 -8
- package/dist/json/components/checkbox/tokens.json +48 -19
- package/dist/json/components/divider/tokens.json +58 -6
- package/dist/json/components/footer/tokens.json +36 -7
- package/dist/json/components/input/tokens.json +48 -19
- package/dist/json/components/radioGroup/tokens.json +48 -19
- package/dist/json/components/tag/tokens.json +671 -739
- package/dist/json/components/tagCount/tokens.json +148 -252
- package/dist/json/components/tagStatus/tokens.json +530 -494
- package/dist/json/theme/dark/tokens.json +106 -44
- package/dist/json/theme/light/tokens.json +106 -44
- package/dist/json/tokens.json +195 -73
- package/dist/penpot/tokens.json +294 -192
- package/dist/scss/components/breadcrumbs/tokens.scss +2 -1
- package/dist/scss/components/chatBubble/tokens.scss +2 -1
- package/dist/scss/components/chatInput/tokens.scss +2 -1
- package/dist/scss/components/checkbox/tokens.scss +2 -1
- package/dist/scss/components/divider/tokens.scss +8 -6
- package/dist/scss/components/footer/tokens.scss +2 -1
- package/dist/scss/components/input/tokens.scss +2 -1
- package/dist/scss/components/radioGroup/tokens.scss +2 -1
- package/dist/scss/components/tag/tokens.scss +29 -33
- package/dist/scss/components/tagCount/tokens.scss +7 -11
- package/dist/scss/components/tagStatus/tokens.scss +22 -22
- package/dist/scss/theme/dark/tokens.scss +4 -2
- package/dist/scss/theme/light/tokens.scss +4 -2
- package/dist/scss/tokens.scss +23 -9
- package/dist/tokens-studio/tokens.json +258 -160
- package/package.json +7 -9
- package/src/config/config.json +43 -18
- package/src/figma/pattern/form.json +21 -8
- package/src/tokens.json +239 -141
- package/dist/css/theme/dark/contrast-mode.css +0 -76
|
@@ -1,6 +1,58 @@
|
|
|
1
1
|
{
|
|
2
2
|
"br": {
|
|
3
3
|
"divider": {
|
|
4
|
+
"color": {
|
|
5
|
+
"main": {
|
|
6
|
+
"key": "{br.divider.color.main}",
|
|
7
|
+
"$value": "#cccccc",
|
|
8
|
+
"$type": "color",
|
|
9
|
+
"filePath": "/builds/govbr-ds/govbr-ds/projects/tokens/temp/style-dictionary/core/component.json",
|
|
10
|
+
"isSource": true,
|
|
11
|
+
"original": {
|
|
12
|
+
"$value": "{br.color.border.main.primary}",
|
|
13
|
+
"$type": "color",
|
|
14
|
+
"key": "{br.divider.color.main}"
|
|
15
|
+
},
|
|
16
|
+
"name": "brDividerColorMain",
|
|
17
|
+
"attributes": {
|
|
18
|
+
"category": "br",
|
|
19
|
+
"type": "divider",
|
|
20
|
+
"item": "color",
|
|
21
|
+
"subitem": "main"
|
|
22
|
+
},
|
|
23
|
+
"path": [
|
|
24
|
+
"br",
|
|
25
|
+
"divider",
|
|
26
|
+
"color",
|
|
27
|
+
"main"
|
|
28
|
+
]
|
|
29
|
+
},
|
|
30
|
+
"contrast": {
|
|
31
|
+
"key": "{br.divider.color.contrast}",
|
|
32
|
+
"$value": "#565c65",
|
|
33
|
+
"$type": "color",
|
|
34
|
+
"filePath": "/builds/govbr-ds/govbr-ds/projects/tokens/temp/style-dictionary/core/component.json",
|
|
35
|
+
"isSource": true,
|
|
36
|
+
"original": {
|
|
37
|
+
"$value": "{br.color.border.contrast.primary}",
|
|
38
|
+
"$type": "color",
|
|
39
|
+
"key": "{br.divider.color.contrast}"
|
|
40
|
+
},
|
|
41
|
+
"name": "brDividerColorContrast",
|
|
42
|
+
"attributes": {
|
|
43
|
+
"category": "br",
|
|
44
|
+
"type": "divider",
|
|
45
|
+
"item": "color",
|
|
46
|
+
"subitem": "contrast"
|
|
47
|
+
},
|
|
48
|
+
"path": [
|
|
49
|
+
"br",
|
|
50
|
+
"divider",
|
|
51
|
+
"color",
|
|
52
|
+
"contrast"
|
|
53
|
+
]
|
|
54
|
+
}
|
|
55
|
+
},
|
|
4
56
|
"gap": {
|
|
5
57
|
"key": "{br.divider.gap}",
|
|
6
58
|
"$type": "dimension",
|
|
@@ -151,7 +203,7 @@
|
|
|
151
203
|
"isSource": true,
|
|
152
204
|
"original": {
|
|
153
205
|
"$value": {
|
|
154
|
-
"color": "{br.color.
|
|
206
|
+
"color": "{br.divider.color.main}",
|
|
155
207
|
"width": "{br.surface.borderWidth.sm}",
|
|
156
208
|
"style": "solid"
|
|
157
209
|
},
|
|
@@ -182,7 +234,7 @@
|
|
|
182
234
|
"isSource": true,
|
|
183
235
|
"original": {
|
|
184
236
|
"$value": {
|
|
185
|
-
"color": "{br.color.
|
|
237
|
+
"color": "{br.divider.color.main}",
|
|
186
238
|
"width": "{br.surface.borderWidth.md}",
|
|
187
239
|
"style": "solid"
|
|
188
240
|
},
|
|
@@ -213,7 +265,7 @@
|
|
|
213
265
|
"isSource": true,
|
|
214
266
|
"original": {
|
|
215
267
|
"$value": {
|
|
216
|
-
"color": "{br.color.
|
|
268
|
+
"color": "{br.divider.color.main}",
|
|
217
269
|
"width": "{br.surface.borderWidth.lg}",
|
|
218
270
|
"style": "solid"
|
|
219
271
|
},
|
|
@@ -246,7 +298,7 @@
|
|
|
246
298
|
"isSource": true,
|
|
247
299
|
"original": {
|
|
248
300
|
"$value": {
|
|
249
|
-
"color": "{br.color.
|
|
301
|
+
"color": "{br.divider.color.main}",
|
|
250
302
|
"width": "{br.surface.borderWidth.sm}",
|
|
251
303
|
"style": "dashed"
|
|
252
304
|
},
|
|
@@ -277,7 +329,7 @@
|
|
|
277
329
|
"isSource": true,
|
|
278
330
|
"original": {
|
|
279
331
|
"$value": {
|
|
280
|
-
"color": "{br.color.
|
|
332
|
+
"color": "{br.divider.color.main}",
|
|
281
333
|
"width": "{br.surface.borderWidth.md}",
|
|
282
334
|
"style": "dashed"
|
|
283
335
|
},
|
|
@@ -308,7 +360,7 @@
|
|
|
308
360
|
"isSource": true,
|
|
309
361
|
"original": {
|
|
310
362
|
"$value": {
|
|
311
|
-
"color": "{br.color.
|
|
363
|
+
"color": "{br.divider.color.main}",
|
|
312
364
|
"width": "{br.surface.borderWidth.lg}",
|
|
313
365
|
"style": "dashed"
|
|
314
366
|
},
|
|
@@ -524,33 +524,62 @@
|
|
|
524
524
|
}
|
|
525
525
|
},
|
|
526
526
|
"borderStyle": {
|
|
527
|
-
"
|
|
528
|
-
"key": "{br.footer.borderStyle.
|
|
527
|
+
"main": {
|
|
528
|
+
"key": "{br.footer.borderStyle.main}",
|
|
529
529
|
"$value": "1px solid #cccccc",
|
|
530
530
|
"$type": "border",
|
|
531
531
|
"filePath": "/builds/govbr-ds/govbr-ds/projects/tokens/temp/style-dictionary/core/component.json",
|
|
532
532
|
"isSource": true,
|
|
533
533
|
"original": {
|
|
534
534
|
"$value": {
|
|
535
|
-
"color": "{br.color.border.primary}",
|
|
535
|
+
"color": "{br.color.border.main.primary}",
|
|
536
536
|
"width": "{br.surface.borderWidth.sm}",
|
|
537
537
|
"style": "solid"
|
|
538
538
|
},
|
|
539
539
|
"$type": "border",
|
|
540
|
-
"key": "{br.footer.borderStyle.
|
|
540
|
+
"key": "{br.footer.borderStyle.main}"
|
|
541
541
|
},
|
|
542
|
-
"name": "
|
|
542
|
+
"name": "brFooterBorderStyleMain",
|
|
543
543
|
"attributes": {
|
|
544
544
|
"category": "br",
|
|
545
545
|
"type": "footer",
|
|
546
546
|
"item": "borderStyle",
|
|
547
|
-
"subitem": "
|
|
547
|
+
"subitem": "main"
|
|
548
548
|
},
|
|
549
549
|
"path": [
|
|
550
550
|
"br",
|
|
551
551
|
"footer",
|
|
552
552
|
"borderStyle",
|
|
553
|
-
"
|
|
553
|
+
"main"
|
|
554
|
+
]
|
|
555
|
+
},
|
|
556
|
+
"contrast": {
|
|
557
|
+
"key": "{br.footer.borderStyle.contrast}",
|
|
558
|
+
"$value": "1px solid #565c65",
|
|
559
|
+
"$type": "border",
|
|
560
|
+
"filePath": "/builds/govbr-ds/govbr-ds/projects/tokens/temp/style-dictionary/core/component.json",
|
|
561
|
+
"isSource": true,
|
|
562
|
+
"original": {
|
|
563
|
+
"$value": {
|
|
564
|
+
"color": "{br.color.border.contrast.primary}",
|
|
565
|
+
"width": "{br.surface.borderWidth.sm}",
|
|
566
|
+
"style": "solid"
|
|
567
|
+
},
|
|
568
|
+
"$type": "border",
|
|
569
|
+
"key": "{br.footer.borderStyle.contrast}"
|
|
570
|
+
},
|
|
571
|
+
"name": "brFooterBorderStyleContrast",
|
|
572
|
+
"attributes": {
|
|
573
|
+
"category": "br",
|
|
574
|
+
"type": "footer",
|
|
575
|
+
"item": "borderStyle",
|
|
576
|
+
"subitem": "contrast"
|
|
577
|
+
},
|
|
578
|
+
"path": [
|
|
579
|
+
"br",
|
|
580
|
+
"footer",
|
|
581
|
+
"borderStyle",
|
|
582
|
+
"contrast"
|
|
554
583
|
]
|
|
555
584
|
}
|
|
556
585
|
},
|
|
@@ -362,27 +362,56 @@
|
|
|
362
362
|
]
|
|
363
363
|
},
|
|
364
364
|
"borderStyle": {
|
|
365
|
-
"
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
"filePath": "/builds/govbr-ds/govbr-ds/projects/tokens/temp/style-dictionary/core/component.json",
|
|
369
|
-
"isSource": true,
|
|
370
|
-
"original": {
|
|
365
|
+
"main": {
|
|
366
|
+
"key": "{br.input.borderStyle.main}",
|
|
367
|
+
"$value": "1px solid #cccccc",
|
|
371
368
|
"$type": "border",
|
|
372
|
-
"
|
|
373
|
-
"
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
"
|
|
369
|
+
"filePath": "/builds/govbr-ds/govbr-ds/projects/tokens/temp/style-dictionary/core/component.json",
|
|
370
|
+
"isSource": true,
|
|
371
|
+
"original": {
|
|
372
|
+
"$value": "{br.form.borderStyle.main}",
|
|
373
|
+
"$type": "border",
|
|
374
|
+
"key": "{br.input.borderStyle.main}"
|
|
375
|
+
},
|
|
376
|
+
"name": "brInputBorderStyleMain",
|
|
377
|
+
"attributes": {
|
|
378
|
+
"category": "br",
|
|
379
|
+
"type": "input",
|
|
380
|
+
"item": "borderStyle",
|
|
381
|
+
"subitem": "main"
|
|
382
|
+
},
|
|
383
|
+
"path": [
|
|
384
|
+
"br",
|
|
385
|
+
"input",
|
|
386
|
+
"borderStyle",
|
|
387
|
+
"main"
|
|
388
|
+
]
|
|
380
389
|
},
|
|
381
|
-
"
|
|
382
|
-
"br",
|
|
383
|
-
"
|
|
384
|
-
"
|
|
385
|
-
|
|
390
|
+
"contrast": {
|
|
391
|
+
"key": "{br.input.borderStyle.contrast}",
|
|
392
|
+
"$value": "1px solid #565c65",
|
|
393
|
+
"$type": "border",
|
|
394
|
+
"filePath": "/builds/govbr-ds/govbr-ds/projects/tokens/temp/style-dictionary/core/component.json",
|
|
395
|
+
"isSource": true,
|
|
396
|
+
"original": {
|
|
397
|
+
"$value": "{br.form.borderStyle.contrast}",
|
|
398
|
+
"$type": "border",
|
|
399
|
+
"key": "{br.input.borderStyle.contrast}"
|
|
400
|
+
},
|
|
401
|
+
"name": "brInputBorderStyleContrast",
|
|
402
|
+
"attributes": {
|
|
403
|
+
"category": "br",
|
|
404
|
+
"type": "input",
|
|
405
|
+
"item": "borderStyle",
|
|
406
|
+
"subitem": "contrast"
|
|
407
|
+
},
|
|
408
|
+
"path": [
|
|
409
|
+
"br",
|
|
410
|
+
"input",
|
|
411
|
+
"borderStyle",
|
|
412
|
+
"contrast"
|
|
413
|
+
]
|
|
414
|
+
}
|
|
386
415
|
},
|
|
387
416
|
"fontStyle": {
|
|
388
417
|
"placeholder": {
|
|
@@ -328,27 +328,56 @@
|
|
|
328
328
|
}
|
|
329
329
|
},
|
|
330
330
|
"borderStyle": {
|
|
331
|
-
"
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
"filePath": "/builds/govbr-ds/govbr-ds/projects/tokens/temp/style-dictionary/core/component.json",
|
|
335
|
-
"isSource": true,
|
|
336
|
-
"original": {
|
|
331
|
+
"main": {
|
|
332
|
+
"key": "{br.radioGroup.borderStyle.main}",
|
|
333
|
+
"$value": "1px solid #cccccc",
|
|
337
334
|
"$type": "border",
|
|
338
|
-
"
|
|
339
|
-
"
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
"
|
|
335
|
+
"filePath": "/builds/govbr-ds/govbr-ds/projects/tokens/temp/style-dictionary/core/component.json",
|
|
336
|
+
"isSource": true,
|
|
337
|
+
"original": {
|
|
338
|
+
"$value": "{br.form.borderStyle.main}",
|
|
339
|
+
"$type": "border",
|
|
340
|
+
"key": "{br.radioGroup.borderStyle.main}"
|
|
341
|
+
},
|
|
342
|
+
"name": "brRadioGroupBorderStyleMain",
|
|
343
|
+
"attributes": {
|
|
344
|
+
"category": "br",
|
|
345
|
+
"type": "radioGroup",
|
|
346
|
+
"item": "borderStyle",
|
|
347
|
+
"subitem": "main"
|
|
348
|
+
},
|
|
349
|
+
"path": [
|
|
350
|
+
"br",
|
|
351
|
+
"radioGroup",
|
|
352
|
+
"borderStyle",
|
|
353
|
+
"main"
|
|
354
|
+
]
|
|
346
355
|
},
|
|
347
|
-
"
|
|
348
|
-
"br",
|
|
349
|
-
"
|
|
350
|
-
"
|
|
351
|
-
|
|
356
|
+
"contrast": {
|
|
357
|
+
"key": "{br.radioGroup.borderStyle.contrast}",
|
|
358
|
+
"$value": "1px solid #565c65",
|
|
359
|
+
"$type": "border",
|
|
360
|
+
"filePath": "/builds/govbr-ds/govbr-ds/projects/tokens/temp/style-dictionary/core/component.json",
|
|
361
|
+
"isSource": true,
|
|
362
|
+
"original": {
|
|
363
|
+
"$value": "{br.form.borderStyle.contrast}",
|
|
364
|
+
"$type": "border",
|
|
365
|
+
"key": "{br.radioGroup.borderStyle.contrast}"
|
|
366
|
+
},
|
|
367
|
+
"name": "brRadioGroupBorderStyleContrast",
|
|
368
|
+
"attributes": {
|
|
369
|
+
"category": "br",
|
|
370
|
+
"type": "radioGroup",
|
|
371
|
+
"item": "borderStyle",
|
|
372
|
+
"subitem": "contrast"
|
|
373
|
+
},
|
|
374
|
+
"path": [
|
|
375
|
+
"br",
|
|
376
|
+
"radioGroup",
|
|
377
|
+
"borderStyle",
|
|
378
|
+
"contrast"
|
|
379
|
+
]
|
|
380
|
+
}
|
|
352
381
|
},
|
|
353
382
|
"density": {
|
|
354
383
|
"compact": {
|