@govbr-ds/tokens 4.0.0-next.6 → 4.0.0-next.8
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 +12 -130
- package/dist/css/themes/dark.css +49 -49
- package/dist/css/themes/light.css +50 -50
- package/dist/css/tokens.css +489 -534
- package/dist/js/themes/dark.js +49 -49
- package/dist/js/themes/light.js +50 -50
- package/dist/js/tokens.js +522 -567
- package/dist/json/themes/dark.json +367 -444
- package/dist/json/themes/light.json +368 -445
- package/dist/json/tokens.json +2718 -3054
- package/dist/scss/themes/dark.scss +80 -0
- package/dist/scss/themes/light.scss +80 -0
- package/dist/scss/tokens.scss +721 -0
- package/package.json +11 -10
- package/src/figma/tokens.json +193 -91
- package/src/figma/variables/base14.json +4 -0
- package/src/figma/variables/spacing.json +21 -1
- package/src/figma/variables/typography.json +4 -0
- package/dist/scss/_tokens.scss +0 -769
- package/dist/scss/themes/_dark.scss +0 -83
- package/dist/scss/themes/_light.scss +0 -83
- package/src/style-dictionary/themes/dark.json +0 -692
- package/src/style-dictionary/themes/light.json +0 -692
- package/src/style-dictionary/tokens.json +0 -3131
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
$tokens-dark: (
|
|
3
|
-
'theme-shadow-opacity': 0.6,
|
|
4
|
-
'theme-shadow-color': rgba(0, 0, 0, 0.6),
|
|
5
|
-
'theme-border-style-focus-high-main': 3px dashed #FF8C00,
|
|
6
|
-
'theme-border-style-focus-high-contrast': 3px dashed #FF8C00,
|
|
7
|
-
'theme-border-style-focus-low-main': 2px solid #FF8C00,
|
|
8
|
-
'theme-border-style-focus-low-contrast': 2px solid #FF8C00,
|
|
9
|
-
'theme-border-style-active-main': 4px dashed #5992ED,
|
|
10
|
-
'theme-border-style-active-contrast': 4px dashed #5992ED,
|
|
11
|
-
'theme-border-style-grabbing-main': 2px solid #81AEFC,
|
|
12
|
-
'theme-border-style-grabbing-contrast': 2px solid #81AEFC,
|
|
13
|
-
'theme-border-style-dropzone-main': 1px dashed #81AEFC,
|
|
14
|
-
'theme-border-style-dropzone-contrast': 1px dashed #81AEFC,
|
|
15
|
-
'theme-shadow-style-level-0': 0 0 0 0 rgba(0, 0, 0, 0.6), 0 0 0 0 rgba(0, 0, 0, 0.6),
|
|
16
|
-
'theme-shadow-style-level-1': 0 1px 1px 0 rgba(0, 0, 0, 0.6), 0 0 4px 0 rgba(0, 0, 0, 0.6),
|
|
17
|
-
'theme-shadow-style-level-2': 0 4px 4px 0 rgba(0, 0, 0, 0.6), 0 0 8px 0 rgba(0, 0, 0, 0.6),
|
|
18
|
-
'theme-shadow-style-level-3': 0 8px 8px 0 rgba(0, 0, 0, 0.6), 0 0 12px 0 rgba(0, 0, 0, 0.6),
|
|
19
|
-
'theme-shadow-style-level-4': 0 12px 12px 0 rgba(0, 0, 0, 0.6), 0 0 16px 0 rgba(0, 0, 0, 0.6),
|
|
20
|
-
'theme-shadow-style-disabled': 0 0 0 0 rgba(0, 0, 0, 0.6), 0 0 0 0 rgba(0, 0, 0, 0.6),
|
|
21
|
-
'theme-shadow-style-hover-highlight': 0 0 4px 0 rgba(0, 0, 0, 0.6),
|
|
22
|
-
'theme-shadow-style-pressed': inset 1px 1px 8px 0 rgba(0, 0, 0, 0.5),
|
|
23
|
-
'theme-shadow-style-grabbing-main': 0 12px 12px 0 rgba(129, 174, 252, 0.6), 0 0 16px 0 rgba(129, 174, 252, 0.6),
|
|
24
|
-
'theme-shadow-style-grabbing-contrast': 0 12px 12px 0 rgba(129, 174, 252, 0.6), 0 0 16px 0 rgba(129, 174, 252, 0.6),
|
|
25
|
-
'theme-text-main-base': #FCFCFC,
|
|
26
|
-
'theme-text-main-alternative': #CCCCCC,
|
|
27
|
-
'theme-text-contrast-base': #FCFCFC,
|
|
28
|
-
'theme-text-contrast-alternative': #CCCCCC,
|
|
29
|
-
'theme-surface-main-base': #2D2E2F,
|
|
30
|
-
'theme-surface-main-alternative': #1C1D1F,
|
|
31
|
-
'theme-surface-contrast-base': #2D2E2F,
|
|
32
|
-
'theme-surface-contrast-alternative': #1C1D1F,
|
|
33
|
-
'theme-border-base': #4A4A4A,
|
|
34
|
-
'theme-border-alternative': #757575,
|
|
35
|
-
'theme-interactive-main': #81AEFC,
|
|
36
|
-
'theme-interactive-contrast': #81AEFC,
|
|
37
|
-
'theme-interactive-text-main': #000000,
|
|
38
|
-
'theme-interactive-text-contrast': #000000,
|
|
39
|
-
'theme-cta-main': #21C834,
|
|
40
|
-
'theme-cta-contrast': #21C834,
|
|
41
|
-
'theme-cta-text-main': #000000,
|
|
42
|
-
'theme-cta-text-contrast': #000000,
|
|
43
|
-
'theme-disabled-main': #A9AEB1,
|
|
44
|
-
'theme-disabled-contrast': #A9AEB1,
|
|
45
|
-
'theme-visited-main': #98AFD2,
|
|
46
|
-
'theme-visited-contrast': #98AFD2,
|
|
47
|
-
'theme-hover-bright': rgba(212, 229, 255, 0.5),
|
|
48
|
-
'theme-hover-dim': rgba(12, 50, 111, 0.6),
|
|
49
|
-
'theme-hover-main-text': rgba(12, 50, 111, 0.6),
|
|
50
|
-
'theme-hover-main-surface': rgba(212, 229, 255, 0.5),
|
|
51
|
-
'theme-hover-contrast-text': rgba(12, 50, 111, 0.6),
|
|
52
|
-
'theme-hover-contrast-surface': rgba(212, 229, 255, 0.5),
|
|
53
|
-
'theme-focus-main': #FF8C00,
|
|
54
|
-
'theme-focus-contrast': #FF8C00,
|
|
55
|
-
'theme-active-main': #5992ED,
|
|
56
|
-
'theme-active-contrast': #5992ED,
|
|
57
|
-
'theme-active-text-main': #000000,
|
|
58
|
-
'theme-active-text-contrast': #000000,
|
|
59
|
-
'theme-selected-main': #ADCDFF,
|
|
60
|
-
'theme-selected-contrast': #ADCDFF,
|
|
61
|
-
'theme-selected-text-main': #000000,
|
|
62
|
-
'theme-selected-text-contrast': #000000,
|
|
63
|
-
'theme-grabbing-main': #81AEFC,
|
|
64
|
-
'theme-grabbing-contrast': #81AEFC,
|
|
65
|
-
'theme-dropzone-main': #81AEFC,
|
|
66
|
-
'theme-dropzone-contrast': #81AEFC,
|
|
67
|
-
'theme-dropzone-active-main': #81AEFC,
|
|
68
|
-
'theme-dropzone-active-contrast': #81AEFC,
|
|
69
|
-
'theme-on-main': #155BCB,
|
|
70
|
-
'theme-on-contrast': #155BCB,
|
|
71
|
-
'theme-on-text-main': #FFFFFF,
|
|
72
|
-
'theme-on-text-contrast': #FFFFFF,
|
|
73
|
-
'theme-off-main': #636363,
|
|
74
|
-
'theme-off-contrast': #636363,
|
|
75
|
-
'theme-off-text-main': #FFFFFF,
|
|
76
|
-
'theme-off-text-contrast': #FFFFFF,
|
|
77
|
-
'theme-success-main': #538200,
|
|
78
|
-
'theme-success-text-main': #FFFFFF,
|
|
79
|
-
'theme-alert-main': #FFCD07,
|
|
80
|
-
'theme-alert-text-main': #000000,
|
|
81
|
-
'theme-error-main': #E52207,
|
|
82
|
-
'theme-error-text-main': #FFFFFF
|
|
83
|
-
);
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
$tokens-light: (
|
|
3
|
-
'theme-shadow-opacity': 0.2,
|
|
4
|
-
'theme-shadow-color': rgba(0, 0, 0, 0.2),
|
|
5
|
-
'theme-border-style-focus-high-main': 3px dashed #DA680B,
|
|
6
|
-
'theme-border-style-focus-high-contrast': 3px dashed #FF8C00,
|
|
7
|
-
'theme-border-style-focus-low-main': 2px solid #DA680B,
|
|
8
|
-
'theme-border-style-focus-low-contrast': 2px solid #FF8C00,
|
|
9
|
-
'theme-border-style-active-main': 4px solid #0C326F,
|
|
10
|
-
'theme-border-style-active-contrast': 4px solid #81AEFC,
|
|
11
|
-
'theme-border-style-grabbing-main': 2px solid #0040B4,
|
|
12
|
-
'theme-border-style-grabbing-contrast': 2px solid #ADCDFF,
|
|
13
|
-
'theme-border-style-dropzone-main': 1px dashed #0040B4,
|
|
14
|
-
'theme-border-style-dropzone-contrast': 1px dashed #ADCDFF,
|
|
15
|
-
'theme-shadow-style-level-0': 0 0 0 0 rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(0, 0, 0, 0.2),
|
|
16
|
-
'theme-shadow-style-level-1': 0 1px 1px 0 rgba(0, 0, 0, 0.2), 0 0 4px 0 rgba(0, 0, 0, 0.2),
|
|
17
|
-
'theme-shadow-style-level-2': 0 4px 4px 0 rgba(0, 0, 0, 0.2), 0 0 8px 0 rgba(0, 0, 0, 0.2),
|
|
18
|
-
'theme-shadow-style-level-3': 0 8px 8px 0 rgba(0, 0, 0, 0.2), 0 0 12px 0 rgba(0, 0, 0, 0.2),
|
|
19
|
-
'theme-shadow-style-level-4': 0 12px 12px 0 rgba(0, 0, 0, 0.2), 0 0 16px 0 rgba(0, 0, 0, 0.2),
|
|
20
|
-
'theme-shadow-style-disabled': 0 0 0 0 rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(0, 0, 0, 0.2),
|
|
21
|
-
'theme-shadow-style-hover-highlight': 0 0 4px 0 rgba(0, 0, 0, 0.2),
|
|
22
|
-
'theme-shadow-style-pressed': inset 1px 1px 8px 0 rgba(0, 0, 0, 0.5),
|
|
23
|
-
'theme-shadow-style-grabbing-main': 0 12px 12px 0 rgba(0, 64, 180, 0.2), 0 0 16px 0 rgba(0, 64, 180, 0.2),
|
|
24
|
-
'theme-shadow-style-grabbing-contrast': 0 12px 12px 0 rgba(173, 205, 255, 0.2), 0 0 16px 0 rgba(173, 205, 255, 0.2),
|
|
25
|
-
'theme-text-main-base': #1B1B1B,
|
|
26
|
-
'theme-text-main-alternative': #636363,
|
|
27
|
-
'theme-text-contrast-base': #FCFCFC,
|
|
28
|
-
'theme-text-contrast-alternative': #CCCCCC,
|
|
29
|
-
'theme-surface-main-base': #FCFCFC,
|
|
30
|
-
'theme-surface-main-alternative': #F0F0F0,
|
|
31
|
-
'theme-surface-contrast-base': #252F3E,
|
|
32
|
-
'theme-surface-contrast-alternative': #2F4668,
|
|
33
|
-
'theme-border-base': #CCCCCC,
|
|
34
|
-
'theme-border-alternative': #888888,
|
|
35
|
-
'theme-interactive-main': #0040B4,
|
|
36
|
-
'theme-interactive-contrast': #ADCDFF,
|
|
37
|
-
'theme-interactive-text-main': #FFFFFF,
|
|
38
|
-
'theme-interactive-text-contrast': #000000,
|
|
39
|
-
'theme-cta-main': #216E1F,
|
|
40
|
-
'theme-cta-contrast': #70E17B,
|
|
41
|
-
'theme-cta-text-main': #FFFFFF,
|
|
42
|
-
'theme-cta-text-contrast': #000000,
|
|
43
|
-
'theme-disabled-main': #4A4A4A,
|
|
44
|
-
'theme-disabled-contrast': #CCCCCC,
|
|
45
|
-
'theme-visited-main': #2F4668,
|
|
46
|
-
'theme-visited-contrast': #C5D4EB,
|
|
47
|
-
'theme-hover-bright': rgba(212, 229, 255, 0.5),
|
|
48
|
-
'theme-hover-dim': rgba(12, 50, 111, 0.6),
|
|
49
|
-
'theme-hover-main-text': rgba(212, 229, 255, 0.5),
|
|
50
|
-
'theme-hover-main-surface': rgba(12, 50, 111, 0.6),
|
|
51
|
-
'theme-hover-contrast-text': rgba(12, 50, 111, 0.6),
|
|
52
|
-
'theme-hover-contrast-surface': rgba(212, 229, 255, 0.5),
|
|
53
|
-
'theme-focus-main': #DA680B,
|
|
54
|
-
'theme-focus-contrast': #FF8C00,
|
|
55
|
-
'theme-active-main': #0C326F,
|
|
56
|
-
'theme-active-contrast': #81AEFC,
|
|
57
|
-
'theme-active-text-main': #FFFFFF,
|
|
58
|
-
'theme-active-text-contrast': #000000,
|
|
59
|
-
'theme-selected-main': #2670E8,
|
|
60
|
-
'theme-selected-contrast': #5992ED,
|
|
61
|
-
'theme-selected-text-main': #FFFFFF,
|
|
62
|
-
'theme-selected-text-contrast': #000000,
|
|
63
|
-
'theme-grabbing-main': #0040B4,
|
|
64
|
-
'theme-grabbing-contrast': #ADCDFF,
|
|
65
|
-
'theme-dropzone-main': #0040B4,
|
|
66
|
-
'theme-dropzone-contrast': #ADCDFF,
|
|
67
|
-
'theme-dropzone-active-main': #0040B4,
|
|
68
|
-
'theme-dropzone-active-contrast': #ADCDFF,
|
|
69
|
-
'theme-on-main': #5992ED,
|
|
70
|
-
'theme-on-contrast': #2670E8,
|
|
71
|
-
'theme-on-text-main': #000000,
|
|
72
|
-
'theme-on-text-contrast': #FFFFFF,
|
|
73
|
-
'theme-off-main': #888888,
|
|
74
|
-
'theme-off-contrast': #757575,
|
|
75
|
-
'theme-off-text-main': #000000,
|
|
76
|
-
'theme-off-text-contrast': #FFFFFF,
|
|
77
|
-
'theme-success-main': #538200,
|
|
78
|
-
'theme-success-text-main': #FFFFFF,
|
|
79
|
-
'theme-alert-main': #FFCD07,
|
|
80
|
-
'theme-alert-text-main': #000000,
|
|
81
|
-
'theme-error-main': #E52207,
|
|
82
|
-
'theme-error-text-main': #FFFFFF
|
|
83
|
-
);
|