@govbr-ds/tokens 4.0.0-next.2 → 4.0.0-next.21
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 +69 -106
- package/dist/css/component/avatar.css +37 -0
- package/dist/css/component/button.css +57 -0
- package/dist/css/component/checkbox.css +46 -0
- package/dist/css/component/checkboxGroup.css +7 -0
- package/dist/css/component/divider.css +12 -0
- package/dist/css/component/formlabel.css +6 -0
- package/dist/css/component/icon.css +35 -0
- package/dist/css/component/input.css +37 -0
- package/dist/css/component/list.css +54 -0
- package/dist/css/component/message.css +17 -0
- package/dist/css/component/radioGroup.css +39 -0
- package/dist/css/component/select.css +9 -0
- package/dist/css/component/text.css +17 -0
- package/dist/css/themes/dark.css +69 -52
- package/dist/css/themes/light.css +69 -52
- package/dist/css/tokens.css +676 -516
- package/dist/js/component/avatar.js +36 -0
- package/dist/js/component/button.js +56 -0
- package/dist/js/component/checkbox.js +45 -0
- package/dist/js/component/checkboxGroup.js +5 -0
- package/dist/js/component/divider.js +10 -0
- package/dist/js/component/formlabel.js +4 -0
- package/dist/js/component/icon.js +33 -0
- package/dist/js/component/input.js +35 -0
- package/dist/js/component/list.js +52 -0
- package/dist/js/component/message.js +17 -0
- package/dist/js/component/radioGroup.js +38 -0
- package/dist/js/component/select.js +8 -0
- package/dist/js/component/text.js +15 -0
- package/dist/js/themes/dark.js +77 -52
- package/dist/js/themes/light.js +77 -52
- package/dist/js/tokens.js +700 -531
- package/dist/json/component/avatar.json +907 -0
- package/dist/json/component/button.json +1447 -0
- package/dist/json/component/checkbox.json +1132 -0
- package/dist/json/component/checkboxGroup.json +169 -0
- package/dist/json/component/divider.json +302 -0
- package/dist/json/component/formlabel.json +117 -0
- package/dist/json/component/icon.json +911 -0
- package/dist/json/component/input.json +907 -0
- package/dist/json/component/list.json +1394 -0
- package/dist/json/component/message.json +441 -0
- package/dist/json/component/radioGroup.json +963 -0
- package/dist/json/component/select.json +207 -0
- package/dist/json/component/text.json +455 -0
- package/dist/json/themes/dark.json +1597 -856
- package/dist/json/themes/light.json +1597 -856
- package/dist/json/tokens.json +13699 -5459
- package/dist/scss/component/avatar.scss +35 -0
- package/dist/scss/component/button.scss +55 -0
- package/dist/scss/component/checkbox.scss +44 -0
- package/dist/scss/component/checkboxGroup.scss +5 -0
- package/dist/scss/component/divider.scss +10 -0
- package/dist/scss/component/formlabel.scss +4 -0
- package/dist/scss/component/icon.scss +33 -0
- package/dist/scss/component/input.scss +35 -0
- package/dist/scss/component/list.scss +52 -0
- package/dist/scss/component/message.scss +15 -0
- package/dist/scss/component/radioGroup.scss +37 -0
- package/dist/scss/component/select.scss +7 -0
- package/dist/scss/component/text.scss +15 -0
- package/dist/scss/themes/dark.scss +69 -0
- package/dist/scss/themes/light.scss +69 -0
- package/dist/scss/tokens.scss +817 -0
- package/dist/tokens-studio/tokens.json +6554 -0
- package/package.json +15 -12
- package/src/figma/base14.json +62 -0
- package/src/figma/{variables/color.json → color.json} +1 -1
- package/src/figma/component/avatar.json +156 -0
- package/src/figma/component/base14.json +94 -0
- package/src/figma/component/button.json +266 -0
- package/src/figma/component/divider.json +24 -0
- package/src/figma/component/formlabel.json +24 -0
- package/src/figma/component/icon.json +142 -0
- package/src/figma/component/input.json +156 -0
- package/src/figma/component/manifest.json +30 -0
- package/src/figma/component/message.json +70 -0
- package/src/figma/component/text.json +56 -0
- package/src/figma/dark.json +352 -0
- package/src/figma/elevation.json +234 -0
- package/src/figma/{variables/grid.json → grid.json} +29 -29
- package/src/figma/guideline/componente.json +24 -0
- package/src/figma/guideline/fundamento.json +24 -0
- package/src/figma/guideline/geral.json +20 -0
- package/src/figma/guideline/manifest.json +12 -0
- package/src/figma/guideline/padrao.json +24 -0
- package/src/figma/iconography.json +352 -0
- package/src/figma/light.json +352 -0
- package/src/figma/manifest.json +42 -0
- package/src/figma/motion.json +112 -0
- package/src/figma/pattern/form.json +16 -0
- package/src/figma/pattern/manifest.json +10 -0
- package/src/figma/pattern/skeleton.json +52 -0
- package/src/figma/{variables/spacing.json → spacing.json} +20 -0
- package/src/figma/state.json +260 -0
- package/src/figma/{variables/surface.json → surface.json} +34 -38
- package/src/figma/{variables/typography.json → typography.json} +10 -46
- package/src/temp/component.json +1895 -0
- package/src/temp/core.json +3883 -0
- package/src/temp/dark.json +352 -0
- package/src/temp/light.json +352 -0
- package/src/temp/pattern.json +70 -0
- package/src/tokens.json +6554 -0
- package/dist/scss/_tokens.scss +0 -662
- package/dist/scss/themes/_dark.scss +0 -55
- package/dist/scss/themes/_light.scss +0 -55
- package/src/figma/tokens.json +0 -3513
- package/src/figma/variables/manifest.json +0 -26
- package/src/style-dictionary/themes/dark.json +0 -3239
- package/src/style-dictionary/themes/light.json +0 -3239
- package/src/style-dictionary/tokens.json +0 -2971
package/dist/js/themes/light.js
CHANGED
|
@@ -1,52 +1,77 @@
|
|
|
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
|
|
14
|
-
|
|
15
|
-
export const
|
|
16
|
-
|
|
17
|
-
export const
|
|
18
|
-
|
|
19
|
-
export const
|
|
20
|
-
|
|
21
|
-
export const
|
|
22
|
-
|
|
23
|
-
export const
|
|
24
|
-
|
|
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
|
-
|
|
46
|
-
export const
|
|
47
|
-
|
|
48
|
-
export const
|
|
49
|
-
export const
|
|
50
|
-
export const
|
|
51
|
-
export const
|
|
52
|
-
export const
|
|
1
|
+
export const colorReadMainBase = "#1b1b1b";
|
|
2
|
+
export const colorReadMainAlternative = "#636363";
|
|
3
|
+
export const colorReadContrastBase = "#fcfcfc";
|
|
4
|
+
export const colorReadContrastAlternative = "#cccccc";
|
|
5
|
+
export const colorSurfaceMainBase = "#fcfcfc";
|
|
6
|
+
export const colorSurfaceMainAlternative = "#f0f0f0";
|
|
7
|
+
export const colorSurfaceContrastBase = "#252f3e";
|
|
8
|
+
export const colorSurfaceContrastAlternative = "#2f4668";
|
|
9
|
+
export const colorBorderBase = "#cccccc";
|
|
10
|
+
export const colorBorderAlternative = "#888888";
|
|
11
|
+
export const elevationColorShadow = "rgba(0, 0, 0, 0.2)";
|
|
12
|
+
export const elevationOpacityShadow = "0.2";
|
|
13
|
+
export const elevationShadowStyleLevel0 =
|
|
14
|
+
"0 0 0 0 rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(0, 0, 0, 0.2)";
|
|
15
|
+
export const elevationShadowStyleLevel1 =
|
|
16
|
+
"0 1px 1px 0 rgba(0, 0, 0, 0.2), 0 0 4px 0 rgba(0, 0, 0, 0.2)";
|
|
17
|
+
export const elevationShadowStyleLevel2 =
|
|
18
|
+
"0 4px 4px 0 rgba(0, 0, 0, 0.2), 0 0 8px 0 rgba(0, 0, 0, 0.2)";
|
|
19
|
+
export const elevationShadowStyleLevel3 =
|
|
20
|
+
"0 8px 8px 0 rgba(0, 0, 0, 0.2), 0 0 12px 0 rgba(0, 0, 0, 0.2)";
|
|
21
|
+
export const elevationShadowStyleLevel4 =
|
|
22
|
+
"0 12px 12px 0 rgba(0, 0, 0, 0.2), 0 0 16px 0 rgba(0, 0, 0, 0.2)";
|
|
23
|
+
export const stateDisabledShadowStyle =
|
|
24
|
+
"0 0 0 0 rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(0, 0, 0, 0.2)";
|
|
25
|
+
export const stateDisabledColorMain = "#4a4a4a";
|
|
26
|
+
export const stateDisabledColorContrast = "#cccccc";
|
|
27
|
+
export const stateHoverColorBright = "rgba(212, 229, 255, 0.5)";
|
|
28
|
+
export const stateHoverColorDim = "rgba(12, 50, 111, 0.6)";
|
|
29
|
+
export const stateHoverColorMainRead = "rgba(212, 229, 255, 0.5)";
|
|
30
|
+
export const stateHoverColorMainSurface = "rgba(12, 50, 111, 0.6)";
|
|
31
|
+
export const stateHoverColorContrastRead = "rgba(12, 50, 111, 0.6)";
|
|
32
|
+
export const stateHoverColorContrastSurface = "rgba(212, 229, 255, 0.5)";
|
|
33
|
+
export const statePressedShadowStyle = "inset 1px 1px 8px 0 rgba(0, 0, 0, 0.5)";
|
|
34
|
+
export const stateFocusColorMain = "#da680b";
|
|
35
|
+
export const stateFocusColorContrast = "#ff8c00";
|
|
36
|
+
export const stateActiveColorMain = "#0c326f";
|
|
37
|
+
export const stateActiveColorContrast = "#81aefc";
|
|
38
|
+
export const stateActiveColorReadMain = "#ffffff";
|
|
39
|
+
export const stateActiveColorReadContrast = "#000000";
|
|
40
|
+
export const stateSelectedColorMain = "#2670e8";
|
|
41
|
+
export const stateSelectedColorContrast = "#5992ed";
|
|
42
|
+
export const stateSelectedColorReadMain = "#ffffff";
|
|
43
|
+
export const stateSelectedColorReadContrast = "#000000";
|
|
44
|
+
export const stateDraggingShadowStyleMain =
|
|
45
|
+
"0 12px 12px 0 rgba(0, 64, 180, 0.2), 0 0 16px 0 rgba(0, 64, 180, 0.2)";
|
|
46
|
+
export const stateDraggingShadowStyleContrast =
|
|
47
|
+
"0 12px 12px 0 rgba(173, 205, 255, 0.2), 0 0 16px 0 rgba(173, 205, 255, 0.2)";
|
|
48
|
+
export const stateDraggingColorMain = "#0040b4";
|
|
49
|
+
export const stateDraggingColorContrast = "#adcdff";
|
|
50
|
+
export const stateDropzoneColorMain = "#0040b4";
|
|
51
|
+
export const stateDropzoneColorContrast = "#adcdff";
|
|
52
|
+
export const stateDropzoneActiveColorMain = "#0040b4";
|
|
53
|
+
export const stateDropzoneActiveColorContrast = "#adcdff";
|
|
54
|
+
export const stateOnColorMain = "#5992ed";
|
|
55
|
+
export const stateOnColorContrast = "#2670e8";
|
|
56
|
+
export const stateOnColorReadMain = "#000000";
|
|
57
|
+
export const stateOnColorReadContrast = "#ffffff";
|
|
58
|
+
export const stateOffColorMain = "#888888";
|
|
59
|
+
export const stateOffColorContrast = "#757575";
|
|
60
|
+
export const stateOffColorReadMain = "#000000";
|
|
61
|
+
export const stateOffColorReadContrast = "#ffffff";
|
|
62
|
+
export const stateErrorColorMain = "#e52207";
|
|
63
|
+
export const stateErrorColorReadMain = "#ffffff";
|
|
64
|
+
export const stateAlertColorMain = "#ffcd07";
|
|
65
|
+
export const stateAlertColorReadMain = "#000000";
|
|
66
|
+
export const stateSuccessColorMain = "#538200";
|
|
67
|
+
export const stateSuccessColorReadMain = "#ffffff";
|
|
68
|
+
export const stateInteractiveColorMain = "#0040b4";
|
|
69
|
+
export const stateInteractiveColorContrast = "#adcdff";
|
|
70
|
+
export const stateInteractiveColorReadMain = "#ffffff";
|
|
71
|
+
export const stateInteractiveColorReadContrast = "#000000";
|
|
72
|
+
export const stateCtaColorMain = "#216e1f";
|
|
73
|
+
export const stateCtaColorContrast = "#70e17b";
|
|
74
|
+
export const stateCtaColorReadMain = "#ffffff";
|
|
75
|
+
export const stateCtaColorReadContrast = "#000000";
|
|
76
|
+
export const stateVisitedColorMain = "#2f4668";
|
|
77
|
+
export const stateVisitedColorContrast = "#c5d4eb";
|