@govbr-ds/tokens 4.0.0-next.1 → 4.0.0-next.10
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 +77 -49
- package/dist/css/themes/light.css +77 -49
- package/dist/css/tokens.css +565 -513
- package/dist/js/themes/dark.js +77 -49
- package/dist/js/themes/light.js +77 -49
- package/dist/js/tokens.js +569 -517
- package/dist/json/themes/dark.json +1330 -389
- package/dist/json/themes/light.json +1326 -385
- package/dist/json/tokens.json +8029 -3195
- 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 +10 -11
- package/src/figma/tokens.json +1405 -527
- package/src/figma/variables/base14.json +66 -0
- package/src/figma/variables/color.json +2 -2
- package/src/figma/variables/component/manifest.json +12 -0
- package/src/figma/variables/component/text.json +46 -0
- package/src/figma/variables/dark.json +314 -0
- package/src/figma/variables/elevation.json +232 -0
- package/src/figma/variables/grid.json +120 -0
- package/src/figma/variables/guideline/componente.json +24 -0
- package/src/figma/variables/guideline/fundamento.json +24 -0
- package/src/figma/variables/guideline/geral.json +20 -0
- package/src/figma/variables/guideline/manifest.json +21 -0
- package/src/figma/variables/guideline/padrao.json +24 -0
- package/src/figma/variables/iconography.json +14 -0
- package/src/figma/variables/light.json +314 -0
- package/src/figma/variables/manifest.json +21 -4
- package/src/figma/variables/motion.json +112 -0
- package/src/figma/variables/pattern/manifest.json +12 -0
- package/src/figma/variables/pattern/skeleton.json +52 -0
- package/src/figma/variables/spacing.json +21 -1
- package/src/figma/variables/state.json +238 -0
- package/src/figma/variables/surface.json +28 -26
- package/src/figma/variables/typography.json +90 -112
- package/dist/scss/_tokens.scss +0 -674
- package/dist/scss/themes/_dark.scss +0 -55
- package/dist/scss/themes/_light.scss +0 -55
- package/src/style-dictionary/themes/dark.json +0 -3313
- package/src/style-dictionary/themes/light.json +0 -3313
- package/src/style-dictionary/tokens.json +0 -3045
package/dist/js/themes/dark.js
CHANGED
|
@@ -1,52 +1,80 @@
|
|
|
1
|
-
export const
|
|
2
|
-
export const
|
|
3
|
-
export const
|
|
4
|
-
export const
|
|
5
|
-
export const
|
|
6
|
-
export const
|
|
7
|
-
export const
|
|
8
|
-
export const
|
|
9
|
-
export const
|
|
10
|
-
export const
|
|
11
|
-
export const
|
|
12
|
-
export const
|
|
13
|
-
export const
|
|
1
|
+
export const themeShadowOpacity = 0.6;
|
|
2
|
+
export const themeShadowColor = "rgba(0, 0, 0, 0.6)";
|
|
3
|
+
export const themeBorderStyleFocusHighMain = "3px dashed #ff8c00";
|
|
4
|
+
export const themeBorderStyleFocusHighContrast = "3px dashed #ff8c00";
|
|
5
|
+
export const themeBorderStyleFocusLowMain = "2px solid #ff8c00";
|
|
6
|
+
export const themeBorderStyleFocusLowContrast = "2px solid #ff8c00";
|
|
7
|
+
export const themeBorderStyleActiveMain = "4px dashed #5992ed";
|
|
8
|
+
export const themeBorderStyleActiveContrast = "4px dashed #5992ed";
|
|
9
|
+
export const themeBorderStyleGrabbingMain = "2px solid #81aefc";
|
|
10
|
+
export const themeBorderStyleGrabbingContrast = "2px solid #81aefc";
|
|
11
|
+
export const themeBorderStyleDropzoneMain = "1px dashed #81aefc";
|
|
12
|
+
export const themeBorderStyleDropzoneContrast = "1px dashed #81aefc";
|
|
13
|
+
export const themeShadowStyleLevel0 = "0 0 0 0 rgba(0, 0, 0, 0.6), 0 0 0 0 rgba(0, 0, 0, 0.6)";
|
|
14
|
+
export const themeShadowStyleLevel1 = "0 1px 1px 0 rgba(0, 0, 0, 0.6), 0 0 4px 0 rgba(0, 0, 0, 0.6)";
|
|
15
|
+
export const themeShadowStyleLevel2 = "0 4px 4px 0 rgba(0, 0, 0, 0.6), 0 0 8px 0 rgba(0, 0, 0, 0.6)";
|
|
16
|
+
export const themeShadowStyleLevel3 = "0 8px 8px 0 rgba(0, 0, 0, 0.6), 0 0 12px 0 rgba(0, 0, 0, 0.6)";
|
|
17
|
+
export const themeShadowStyleLevel4 = "0 12px 12px 0 rgba(0, 0, 0, 0.6), 0 0 16px 0 rgba(0, 0, 0, 0.6)";
|
|
18
|
+
export const themeShadowStyleDisabled = "0 0 0 0 rgba(0, 0, 0, 0.6), 0 0 0 0 rgba(0, 0, 0, 0.6)";
|
|
19
|
+
export const themeShadowStyleHoverHighlight = "0 0 4px 0 rgba(0, 0, 0, 0.6)";
|
|
20
|
+
export const themeShadowStylePressed = "inset 1px 1px 8px 0 rgba(0, 0, 0, 0.5)";
|
|
21
|
+
export const themeShadowStyleGrabbingMain = "0 12px 12px 0 rgba(129, 174, 252, 0.6), 0 0 16px 0 rgba(129, 174, 252, 0.6)";
|
|
22
|
+
export const themeShadowStyleGrabbingContrast = "0 12px 12px 0 rgba(129, 174, 252, 0.6), 0 0 16px 0 rgba(129, 174, 252, 0.6)";
|
|
23
|
+
export const themeReadMainBase = "#fcfcfc";
|
|
24
|
+
export const themeReadMainAlternative = "#cccccc";
|
|
25
|
+
export const themeReadContrastBase = "#fcfcfc";
|
|
26
|
+
export const themeReadContrastAlternative = "#cccccc";
|
|
27
|
+
export const themeSurfaceMainBase = "#2d2e2f";
|
|
28
|
+
export const themeSurfaceMainAlternative = "#1c1d1f";
|
|
29
|
+
export const themeSurfaceContrastBase = "#2d2e2f";
|
|
30
|
+
export const themeSurfaceContrastAlternative = "#1c1d1f";
|
|
31
|
+
export const themeBorderBase = "#4a4a4a";
|
|
14
32
|
export const themeBorderAlternative = "#757575";
|
|
15
|
-
export const themeInteractiveMain = "#
|
|
16
|
-
export const themeInteractiveContrast = "#
|
|
17
|
-
export const
|
|
18
|
-
export const
|
|
19
|
-
export const themeCtaMain = "#
|
|
20
|
-
export const themeCtaContrast = "#
|
|
21
|
-
export const
|
|
22
|
-
export const
|
|
23
|
-
export const
|
|
24
|
-
export const
|
|
25
|
-
export const
|
|
26
|
-
export const
|
|
27
|
-
export const
|
|
28
|
-
export const
|
|
29
|
-
export const
|
|
30
|
-
export const
|
|
31
|
-
export const
|
|
32
|
-
export const
|
|
33
|
-
export const
|
|
34
|
-
export const
|
|
35
|
-
export const
|
|
36
|
-
export const
|
|
37
|
-
export const
|
|
38
|
-
export const
|
|
39
|
-
export const
|
|
40
|
-
export const
|
|
41
|
-
export const
|
|
42
|
-
export const
|
|
43
|
-
export const
|
|
44
|
-
export const
|
|
45
|
-
export const
|
|
46
|
-
export const
|
|
47
|
-
export const
|
|
48
|
-
export const
|
|
33
|
+
export const themeInteractiveMain = "#81aefc";
|
|
34
|
+
export const themeInteractiveContrast = "#81aefc";
|
|
35
|
+
export const themeInteractiveReadMain = "#000000";
|
|
36
|
+
export const themeInteractiveReadContrast = "#000000";
|
|
37
|
+
export const themeCtaMain = "#21c834";
|
|
38
|
+
export const themeCtaContrast = "#21c834";
|
|
39
|
+
export const themeCtaReadMain = "#000000";
|
|
40
|
+
export const themeCtaReadContrast = "#000000";
|
|
41
|
+
export const themeDisabledMain = "#a9aeb1";
|
|
42
|
+
export const themeDisabledContrast = "#a9aeb1";
|
|
43
|
+
export const themeVisitedMain = "#98afd2";
|
|
44
|
+
export const themeVisitedContrast = "#98afd2";
|
|
45
|
+
export const themeHoverBright = "rgba(212, 229, 255, 0.5)";
|
|
46
|
+
export const themeHoverDim = "rgba(12, 50, 111, 0.6)";
|
|
47
|
+
export const themeHoverMainRead = "rgba(12, 50, 111, 0.6)";
|
|
48
|
+
export const themeHoverMainSurface = "rgba(212, 229, 255, 0.5)";
|
|
49
|
+
export const themeHoverContrastRead = "rgba(12, 50, 111, 0.6)";
|
|
50
|
+
export const themeHoverContrastSurface = "rgba(212, 229, 255, 0.5)";
|
|
51
|
+
export const themeFocusMain = "#ff8c00";
|
|
52
|
+
export const themeFocusContrast = "#ff8c00";
|
|
53
|
+
export const themeActiveMain = "#5992ed";
|
|
54
|
+
export const themeActiveContrast = "#5992ed";
|
|
55
|
+
export const themeActiveReadMain = "#000000";
|
|
56
|
+
export const themeActiveReadContrast = "#000000";
|
|
57
|
+
export const themeSelectedMain = "#adcdff";
|
|
58
|
+
export const themeSelectedContrast = "#adcdff";
|
|
59
|
+
export const themeSelectedReadMain = "#000000";
|
|
60
|
+
export const themeSelectedReadContrast = "#000000";
|
|
61
|
+
export const themeGrabbingMain = "#81aefc";
|
|
62
|
+
export const themeGrabbingContrast = "#81aefc";
|
|
63
|
+
export const themeDropzoneMain = "#81aefc";
|
|
64
|
+
export const themeDropzoneContrast = "#81aefc";
|
|
65
|
+
export const themeDropzoneActiveMain = "#81aefc";
|
|
66
|
+
export const themeDropzoneActiveContrast = "#81aefc";
|
|
67
|
+
export const themeOnMain = "#155bcb";
|
|
68
|
+
export const themeOnContrast = "#155bcb";
|
|
69
|
+
export const themeOnReadMain = "#ffffff";
|
|
70
|
+
export const themeOnReadContrast = "#ffffff";
|
|
49
71
|
export const themeOffMain = "#636363";
|
|
50
72
|
export const themeOffContrast = "#636363";
|
|
51
|
-
export const
|
|
52
|
-
export const
|
|
73
|
+
export const themeOffReadMain = "#ffffff";
|
|
74
|
+
export const themeOffReadContrast = "#ffffff";
|
|
75
|
+
export const themeSuccessMain = "#538200";
|
|
76
|
+
export const themeSuccessReadMain = "#ffffff";
|
|
77
|
+
export const themeAlertMain = "#ffcd07";
|
|
78
|
+
export const themeAlertReadMain = "#000000";
|
|
79
|
+
export const themeErrorMain = "#e52207";
|
|
80
|
+
export const themeErrorReadMain = "#ffffff";
|
package/dist/js/themes/light.js
CHANGED
|
@@ -1,52 +1,80 @@
|
|
|
1
|
-
export const
|
|
2
|
-
export const
|
|
3
|
-
export const
|
|
4
|
-
export const
|
|
5
|
-
export const
|
|
6
|
-
export const
|
|
7
|
-
export const
|
|
8
|
-
export const
|
|
9
|
-
export const
|
|
10
|
-
export const
|
|
11
|
-
export const
|
|
12
|
-
export const
|
|
13
|
-
export const
|
|
1
|
+
export const themeShadowOpacity = 0.2;
|
|
2
|
+
export const themeShadowColor = "rgba(0, 0, 0, 0.2)";
|
|
3
|
+
export const themeBorderStyleFocusHighMain = "3px dashed #da680b";
|
|
4
|
+
export const themeBorderStyleFocusHighContrast = "3px dashed #ff8c00";
|
|
5
|
+
export const themeBorderStyleFocusLowMain = "2px solid #da680b";
|
|
6
|
+
export const themeBorderStyleFocusLowContrast = "2px solid #ff8c00";
|
|
7
|
+
export const themeBorderStyleActiveMain = "4px solid #0c326f";
|
|
8
|
+
export const themeBorderStyleActiveContrast = "4px solid #81aefc";
|
|
9
|
+
export const themeBorderStyleGrabbingMain = "2px solid #0040b4";
|
|
10
|
+
export const themeBorderStyleGrabbingContrast = "2px solid #adcdff";
|
|
11
|
+
export const themeBorderStyleDropzoneMain = "1px dashed #0040b4";
|
|
12
|
+
export const themeBorderStyleDropzoneContrast = "1px dashed #adcdff";
|
|
13
|
+
export const themeShadowStyleLevel0 = "0 0 0 0 rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(0, 0, 0, 0.2)";
|
|
14
|
+
export const themeShadowStyleLevel1 = "0 1px 1px 0 rgba(0, 0, 0, 0.2), 0 0 4px 0 rgba(0, 0, 0, 0.2)";
|
|
15
|
+
export const themeShadowStyleLevel2 = "0 4px 4px 0 rgba(0, 0, 0, 0.2), 0 0 8px 0 rgba(0, 0, 0, 0.2)";
|
|
16
|
+
export const themeShadowStyleLevel3 = "0 8px 8px 0 rgba(0, 0, 0, 0.2), 0 0 12px 0 rgba(0, 0, 0, 0.2)";
|
|
17
|
+
export const themeShadowStyleLevel4 = "0 12px 12px 0 rgba(0, 0, 0, 0.2), 0 0 16px 0 rgba(0, 0, 0, 0.2)";
|
|
18
|
+
export const themeShadowStyleDisabled = "0 0 0 0 rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(0, 0, 0, 0.2)";
|
|
19
|
+
export const themeShadowStyleHoverHighlight = "0 0 4px 0 rgba(0, 0, 0, 0.2)";
|
|
20
|
+
export const themeShadowStylePressed = "inset 1px 1px 8px 0 rgba(0, 0, 0, 0.5)";
|
|
21
|
+
export const themeShadowStyleGrabbingMain = "0 12px 12px 0 rgba(0, 64, 180, 0.2), 0 0 16px 0 rgba(0, 64, 180, 0.2)";
|
|
22
|
+
export const themeShadowStyleGrabbingContrast = "0 12px 12px 0 rgba(173, 205, 255, 0.2), 0 0 16px 0 rgba(173, 205, 255, 0.2)";
|
|
23
|
+
export const themeReadMainBase = "#1b1b1b";
|
|
24
|
+
export const themeReadMainAlternative = "#636363";
|
|
25
|
+
export const themeReadContrastBase = "#fcfcfc";
|
|
26
|
+
export const themeReadContrastAlternative = "#cccccc";
|
|
27
|
+
export const themeSurfaceMainBase = "#fcfcfc";
|
|
28
|
+
export const themeSurfaceMainAlternative = "#f0f0f0";
|
|
29
|
+
export const themeSurfaceContrastBase = "#252f3e";
|
|
30
|
+
export const themeSurfaceContrastAlternative = "#2f4668";
|
|
31
|
+
export const themeBorderBase = "#cccccc";
|
|
14
32
|
export const themeBorderAlternative = "#888888";
|
|
15
|
-
export const themeInteractiveMain = "#
|
|
16
|
-
export const themeInteractiveContrast = "#
|
|
17
|
-
export const
|
|
18
|
-
export const
|
|
19
|
-
export const themeCtaMain = "#
|
|
20
|
-
export const themeCtaContrast = "#
|
|
21
|
-
export const
|
|
22
|
-
export const
|
|
23
|
-
export const
|
|
24
|
-
export const
|
|
25
|
-
export const
|
|
26
|
-
export const
|
|
27
|
-
export const
|
|
28
|
-
export const
|
|
29
|
-
export const
|
|
30
|
-
export const
|
|
31
|
-
export const
|
|
32
|
-
export const
|
|
33
|
-
export const
|
|
34
|
-
export const
|
|
35
|
-
export const
|
|
36
|
-
export const
|
|
37
|
-
export const
|
|
38
|
-
export const
|
|
39
|
-
export const
|
|
40
|
-
export const
|
|
41
|
-
export const
|
|
42
|
-
export const
|
|
43
|
-
export const
|
|
44
|
-
export const
|
|
45
|
-
export const
|
|
46
|
-
export const
|
|
47
|
-
export const
|
|
48
|
-
export const
|
|
33
|
+
export const themeInteractiveMain = "#0040b4";
|
|
34
|
+
export const themeInteractiveContrast = "#adcdff";
|
|
35
|
+
export const themeInteractiveReadMain = "#ffffff";
|
|
36
|
+
export const themeInteractiveReadContrast = "#000000";
|
|
37
|
+
export const themeCtaMain = "#216e1f";
|
|
38
|
+
export const themeCtaContrast = "#70e17b";
|
|
39
|
+
export const themeCtaReadMain = "#ffffff";
|
|
40
|
+
export const themeCtaReadContrast = "#000000";
|
|
41
|
+
export const themeDisabledMain = "#4a4a4a";
|
|
42
|
+
export const themeDisabledContrast = "#cccccc";
|
|
43
|
+
export const themeVisitedMain = "#2f4668";
|
|
44
|
+
export const themeVisitedContrast = "#c5d4eb";
|
|
45
|
+
export const themeHoverBright = "rgba(212, 229, 255, 0.5)";
|
|
46
|
+
export const themeHoverDim = "rgba(12, 50, 111, 0.6)";
|
|
47
|
+
export const themeHoverMainRead = "rgba(212, 229, 255, 0.5)";
|
|
48
|
+
export const themeHoverMainSurface = "rgba(12, 50, 111, 0.6)";
|
|
49
|
+
export const themeHoverContrastRead = "rgba(12, 50, 111, 0.6)";
|
|
50
|
+
export const themeHoverContrastSurface = "rgba(212, 229, 255, 0.5)";
|
|
51
|
+
export const themeFocusMain = "#da680b";
|
|
52
|
+
export const themeFocusContrast = "#ff8c00";
|
|
53
|
+
export const themeActiveMain = "#0c326f";
|
|
54
|
+
export const themeActiveContrast = "#81aefc";
|
|
55
|
+
export const themeActiveReadMain = "#ffffff";
|
|
56
|
+
export const themeActiveReadContrast = "#000000";
|
|
57
|
+
export const themeSelectedMain = "#2670e8";
|
|
58
|
+
export const themeSelectedContrast = "#5992ed";
|
|
59
|
+
export const themeSelectedReadMain = "#ffffff";
|
|
60
|
+
export const themeSelectedReadContrast = "#000000";
|
|
61
|
+
export const themeGrabbingMain = "#0040b4";
|
|
62
|
+
export const themeGrabbingContrast = "#adcdff";
|
|
63
|
+
export const themeDropzoneMain = "#0040b4";
|
|
64
|
+
export const themeDropzoneContrast = "#adcdff";
|
|
65
|
+
export const themeDropzoneActiveMain = "#0040b4";
|
|
66
|
+
export const themeDropzoneActiveContrast = "#adcdff";
|
|
67
|
+
export const themeOnMain = "#5992ed";
|
|
68
|
+
export const themeOnContrast = "#2670e8";
|
|
69
|
+
export const themeOnReadMain = "#000000";
|
|
70
|
+
export const themeOnReadContrast = "#ffffff";
|
|
49
71
|
export const themeOffMain = "#888888";
|
|
50
72
|
export const themeOffContrast = "#757575";
|
|
51
|
-
export const
|
|
52
|
-
export const
|
|
73
|
+
export const themeOffReadMain = "#000000";
|
|
74
|
+
export const themeOffReadContrast = "#ffffff";
|
|
75
|
+
export const themeSuccessMain = "#538200";
|
|
76
|
+
export const themeSuccessReadMain = "#ffffff";
|
|
77
|
+
export const themeAlertMain = "#ffcd07";
|
|
78
|
+
export const themeAlertReadMain = "#000000";
|
|
79
|
+
export const themeErrorMain = "#e52207";
|
|
80
|
+
export const themeErrorReadMain = "#ffffff";
|