@govbr-ds/tokens 4.0.0-next.3 → 4.0.0-next.30
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 +55 -131
- package/dist/css/components/avatar/tokens.css +40 -0
- package/dist/css/components/breadcrumbs/tokens.css +34 -0
- package/dist/css/components/button/tokens.css +61 -0
- package/dist/css/components/checkbox/tokens.css +65 -0
- package/dist/css/components/checkboxGroup/tokens.css +11 -0
- package/dist/css/components/divider/tokens.css +16 -0
- package/dist/css/components/footer/tokens.css +48 -0
- package/dist/css/components/formLabel/tokens.css +10 -0
- package/dist/css/components/header/tokens.css +38 -0
- package/dist/css/components/icon/tokens.css +38 -0
- package/dist/css/components/input/tokens.css +48 -0
- package/dist/css/components/list/tokens.css +58 -0
- package/dist/css/components/message/tokens.css +18 -0
- package/dist/css/components/radioGroup/tokens.css +51 -0
- package/dist/css/components/select/tokens.css +16 -0
- package/dist/css/components/sideMenu/tokens.css +67 -0
- package/dist/css/components/text/tokens.css +21 -0
- package/dist/css/components/tooltip/tokens.css +18 -0
- package/dist/css/contrast-mode.css +41 -0
- package/dist/css/theme/dark/prefers-color-scheme.css +72 -0
- package/dist/css/theme/dark/tokens.css +70 -0
- package/dist/css/theme/light/prefers-color-scheme.css +72 -0
- package/dist/css/theme/light/tokens.css +70 -0
- package/dist/css/tokens.css +910 -709
- package/dist/js/components/avatar/tokens.js +39 -0
- package/dist/js/components/breadcrumbs/tokens.js +36 -0
- package/dist/js/components/button/tokens.js +61 -0
- package/dist/js/components/checkbox/tokens.js +66 -0
- package/dist/js/components/checkboxGroup/tokens.js +9 -0
- package/dist/js/components/divider/tokens.js +14 -0
- package/dist/js/components/footer/tokens.js +47 -0
- package/dist/js/components/formLabel/tokens.js +8 -0
- package/dist/js/components/header/tokens.js +39 -0
- package/dist/js/components/icon/tokens.js +36 -0
- package/dist/js/components/input/tokens.js +47 -0
- package/dist/js/components/list/tokens.js +57 -0
- package/dist/js/components/message/tokens.js +18 -0
- package/dist/js/components/radioGroup/tokens.js +53 -0
- package/dist/js/components/select/tokens.js +15 -0
- package/dist/js/components/sideMenu/tokens.js +68 -0
- package/dist/js/components/text/tokens.js +19 -0
- package/dist/js/components/tooltip/tokens.js +17 -0
- package/dist/js/theme/dark/tokens.js +70 -0
- package/dist/js/theme/light/tokens.js +70 -0
- package/dist/js/tokens.js +929 -709
- package/dist/json/components/avatar/tokens.json +1016 -0
- package/dist/json/components/breadcrumbs/tokens.json +877 -0
- package/dist/json/components/button/tokens.json +1643 -0
- package/dist/json/components/checkbox/tokens.json +1805 -0
- package/dist/json/components/checkboxGroup/tokens.json +191 -0
- package/dist/json/components/divider/tokens.json +338 -0
- package/dist/json/components/footer/tokens.json +1345 -0
- package/dist/json/components/formLabel/tokens.json +131 -0
- package/dist/json/components/header/tokens.json +1050 -0
- package/dist/json/components/icon/tokens.json +1022 -0
- package/dist/json/components/input/tokens.json +1248 -0
- package/dist/json/components/list/tokens.json +1580 -0
- package/dist/json/components/message/tokens.json +404 -0
- package/dist/json/components/radioGroup/tokens.json +1357 -0
- package/dist/json/components/select/tokens.json +332 -0
- package/dist/json/components/sideMenu/tokens.json +1872 -0
- package/dist/json/components/text/tokens.json +517 -0
- package/dist/json/components/tooltip/tokens.json +383 -0
- package/dist/json/theme/dark/tokens.json +1835 -0
- package/dist/json/theme/light/tokens.json +1835 -0
- package/dist/json/tokens.json +24667 -11462
- package/dist/scss/components/avatar/tokens.scss +37 -0
- package/dist/scss/components/breadcrumbs/tokens.scss +31 -0
- package/dist/scss/components/button/tokens.scss +58 -0
- package/dist/scss/components/checkbox/tokens.scss +62 -0
- package/dist/scss/components/checkboxGroup/tokens.scss +8 -0
- package/dist/scss/components/divider/tokens.scss +13 -0
- package/dist/scss/components/footer/tokens.scss +45 -0
- package/dist/scss/components/formLabel/tokens.scss +7 -0
- package/dist/scss/components/header/tokens.scss +35 -0
- package/dist/scss/components/icon/tokens.scss +35 -0
- package/dist/scss/components/input/tokens.scss +45 -0
- package/dist/scss/components/list/tokens.scss +55 -0
- package/dist/scss/components/message/tokens.scss +15 -0
- package/dist/scss/components/radioGroup/tokens.scss +48 -0
- package/dist/scss/components/select/tokens.scss +13 -0
- package/dist/scss/components/sideMenu/tokens.scss +64 -0
- package/dist/scss/components/text/tokens.scss +18 -0
- package/dist/scss/components/tooltip/tokens.scss +15 -0
- package/dist/scss/theme/dark/tokens.scss +66 -0
- package/dist/scss/theme/light/tokens.scss +66 -0
- package/dist/scss/tokens.scss +2282 -0
- package/dist/tokens-studio/tokens.json +6592 -0
- package/package.json +13 -13
- package/src/figma/base14.json +155 -0
- package/src/figma/color.json +1950 -0
- package/src/figma/component/avatar.json +344 -0
- package/src/figma/component/base14.json +431 -0
- package/src/figma/component/button.json +594 -0
- package/src/figma/component/divider.json +52 -0
- package/src/figma/component/formlabel.json +45 -0
- package/src/figma/component/icon.json +369 -0
- package/src/figma/component/input.json +338 -0
- package/src/figma/component/manifest.json +30 -0
- package/src/figma/component/message.json +117 -0
- package/src/figma/component/text.json +130 -0
- package/src/figma/dark.json +430 -0
- package/src/figma/elevation.json +551 -0
- package/src/figma/grid.json +306 -0
- 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 +774 -0
- package/src/figma/light.json +430 -0
- package/src/figma/manifest.json +42 -0
- package/src/figma/motion.json +234 -0
- package/src/figma/pattern/contentoverflow.json +39 -0
- package/src/figma/pattern/form.json +158 -0
- package/src/figma/pattern/manifest.json +10 -0
- package/src/figma/pattern/skeleton.json +122 -0
- package/src/figma/spacing.json +234 -0
- package/src/figma/state.json +711 -0
- package/src/figma/surface.json +263 -0
- package/src/figma/typography.json +291 -0
- package/src/temp/style-dictionary/core/component.json +2664 -0
- package/src/temp/style-dictionary/core/foundation.json +3126 -0
- package/src/temp/style-dictionary/core/pattern.json +192 -0
- package/src/temp/style-dictionary/theme/dark.json +306 -0
- package/src/temp/style-dictionary/theme/light.json +306 -0
- package/src/temp/tokens-studio/core/component.json +2664 -0
- package/src/temp/tokens-studio/core/global.json +3314 -0
- package/src/temp/tokens-studio/theme/dark.json +306 -0
- package/src/temp/tokens-studio/theme/light.json +306 -0
- package/src/tokens.json +7053 -0
- package/dist/css/themes/dark.css +0 -54
- package/dist/css/themes/light.css +0 -54
- package/dist/js/themes/dark.js +0 -52
- package/dist/js/themes/light.js +0 -52
- package/dist/json/themes/dark.json +0 -1210
- package/dist/json/themes/light.json +0 -1210
- package/dist/scss/_tokens.scss +0 -714
- 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/color.json +0 -1948
- package/src/figma/variables/grid.json +0 -120
- package/src/figma/variables/manifest.json +0 -26
- package/src/figma/variables/spacing.json +0 -52
- package/src/figma/variables/surface.json +0 -104
- package/src/figma/variables/typography.json +0 -150
- 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
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly, this file was auto-generated.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
export const brTextColorMainPrimary = "#1b1b1b";
|
|
6
|
+
export const brTextColorMainSecondary = "#636363";
|
|
7
|
+
export const brTextColorContrastPrimary = "#fcfcfc";
|
|
8
|
+
export const brTextColorContrastSecondary = "#cccccc";
|
|
9
|
+
export const brTextLabelFontStyle = "600 0.8889rem/1.5 'Noto Sans'";
|
|
10
|
+
export const brTextLabelFontSizeSm = "0.7901rem";
|
|
11
|
+
export const brTextLabelFontSizeMd = "0.8889rem";
|
|
12
|
+
export const brTextLabelFontSizeLg = "1rem";
|
|
13
|
+
export const brTextTitleFontStyle = "600 1.2656rem/1.5 'Noto Sans'";
|
|
14
|
+
export const brTextTitleFontSizeSm = "1.125rem";
|
|
15
|
+
export const brTextTitleFontSizeMd = "1.2656rem";
|
|
16
|
+
export const brTextTitleFontSizeLg = "1.4238rem";
|
|
17
|
+
export const brTextDensityCompact = 1.2;
|
|
18
|
+
export const brTextDensityRegular = 1.5;
|
|
19
|
+
export const brTextDensitySpacious = 2.1;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly, this file was auto-generated.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
export const brTooltipColorBackgroundMainPrimary = "#fcfcfc";
|
|
6
|
+
export const brTooltipColorBackgroundMainSecondary = "#f0f0f0";
|
|
7
|
+
export const brTooltipColorBackgroundContrastPrimary = "#252f3e";
|
|
8
|
+
export const brTooltipColorBackgroundContrastSecondary = "#2f4668";
|
|
9
|
+
export const brTooltipColorForegroundMain = "#1b1b1b";
|
|
10
|
+
export const brTooltipColorForegroundContrast = "#fcfcfc";
|
|
11
|
+
export const brTooltipRounder = "4px";
|
|
12
|
+
export const brTooltipShadowStyle =
|
|
13
|
+
"0 12px 12px 0 rgba(0, 0, 0, 0.2), 0 0 16px 0 rgba(0, 0, 0, 0.2)";
|
|
14
|
+
export const brTooltipFontStyle = "400 0.7901rem/1.2 'Noto Sans'";
|
|
15
|
+
export const brTooltipDensityCompact = "4px";
|
|
16
|
+
export const brTooltipDensityRegular = "8px";
|
|
17
|
+
export const brTooltipDensitySpacious = "16px";
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly, this file was auto-generated.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
export const brColorForegroundMainPrimary = "#fcfcfc";
|
|
6
|
+
export const brColorForegroundMainSecondary = "#cccccc";
|
|
7
|
+
export const brColorForegroundContrastPrimary = "#fcfcfc";
|
|
8
|
+
export const brColorForegroundContrastSecondary = "#cccccc";
|
|
9
|
+
export const brColorBackgroundMainPrimary = "#2d2e2f";
|
|
10
|
+
export const brColorBackgroundMainSecondary = "#1c1d1f";
|
|
11
|
+
export const brColorBackgroundContrastPrimary = "#2d2e2f";
|
|
12
|
+
export const brColorBackgroundContrastSecondary = "#1c1d1f";
|
|
13
|
+
export const brColorBorderPrimary = "#4a4a4a";
|
|
14
|
+
export const brColorBorderSecondary = "#757575";
|
|
15
|
+
export const brElevationOpacityShadow = "0.6";
|
|
16
|
+
export const brStateDisabledColorMain = "#a9aeb1";
|
|
17
|
+
export const brStateDisabledColorContrast = "#a9aeb1";
|
|
18
|
+
export const brStateHoverColorBright = "rgba(#d4e5ff, 0.5)";
|
|
19
|
+
export const brStateHoverColorDim = "rgba(#0c326f, 0.6)";
|
|
20
|
+
export const brStateHoverColorInteractiveFgMain = "rgba(12, 50, 111, 0.6)";
|
|
21
|
+
export const brStateHoverColorInteractiveFgContrast = "rgba(12, 50, 111, 0.6)";
|
|
22
|
+
export const brStateHoverColorInteractiveBgMain = "rgba(212, 229, 255, 0.5)";
|
|
23
|
+
export const brStateHoverColorInteractiveBgContrast =
|
|
24
|
+
"rgba(212, 229, 255, 0.5)";
|
|
25
|
+
export const brStateHoverCtaColorBright = "rgba(#b7f5bd, 0.5)";
|
|
26
|
+
export const brStateHoverCtaColorDim = "rgba(#19311e, 0.6)";
|
|
27
|
+
export const brStateHoverCtaColorInteractiveFgMain = "rgba(25, 49, 30, 0.6)";
|
|
28
|
+
export const brStateHoverCtaColorInteractiveFgContrast =
|
|
29
|
+
"rgba(25, 49, 30, 0.6)";
|
|
30
|
+
export const brStateHoverCtaColorInteractiveBgMain = "rgba(183, 245, 189, 0.5)";
|
|
31
|
+
export const brStateHoverCtaColorInteractiveBgContrast =
|
|
32
|
+
"rgba(183, 245, 189, 0.5)";
|
|
33
|
+
export const brStateFocusColorMain = "#ff8c00";
|
|
34
|
+
export const brStateFocusColorContrast = "#ff8c00";
|
|
35
|
+
export const brStateActiveColorMain = "#5992ed";
|
|
36
|
+
export const brStateActiveColorContrast = "#5992ed";
|
|
37
|
+
export const brStateActiveColorForegroundMain = "#000000";
|
|
38
|
+
export const brStateActiveColorForegroundContrast = "#000000";
|
|
39
|
+
export const brStateActiveCtaColorMain = "#00a91c";
|
|
40
|
+
export const brStateActiveCtaColorContrast = "#00a91c";
|
|
41
|
+
export const brStateSelectedColorMain = "#adcdff";
|
|
42
|
+
export const brStateSelectedColorContrast = "#adcdff";
|
|
43
|
+
export const brStateSelectedColorForegroundMain = "#000000";
|
|
44
|
+
export const brStateSelectedColorForegroundContrast = "#000000";
|
|
45
|
+
export const brStateSelectedCtaColorMain = "#70e17b";
|
|
46
|
+
export const brStateSelectedCtaColorContrast = "#70e17b";
|
|
47
|
+
export const brStateDraggingColorMain = "#81aefc";
|
|
48
|
+
export const brStateDraggingColorContrast = "#81aefc";
|
|
49
|
+
export const brStateDropzoneColorMain = "#81aefc";
|
|
50
|
+
export const brStateDropzoneColorContrast = "#81aefc";
|
|
51
|
+
export const brStateDropzoneActiveColorMain = "#81aefc";
|
|
52
|
+
export const brStateDropzoneActiveColorContrast = "#81aefc";
|
|
53
|
+
export const brStateOnColorMain = "#155bcb";
|
|
54
|
+
export const brStateOnColorContrast = "#155bcb";
|
|
55
|
+
export const brStateOnColorForegroundMain = "#ffffff";
|
|
56
|
+
export const brStateOnColorForegroundContrast = "#ffffff";
|
|
57
|
+
export const brStateOffColorMain = "#636363";
|
|
58
|
+
export const brStateOffColorContrast = "#636363";
|
|
59
|
+
export const brStateOffColorForegroundMain = "#ffffff";
|
|
60
|
+
export const brStateOffColorForegroundContrast = "#ffffff";
|
|
61
|
+
export const brStateInteractiveColorMain = "#81aefc";
|
|
62
|
+
export const brStateInteractiveColorContrast = "#81aefc";
|
|
63
|
+
export const brStateInteractiveColorForegroundMain = "#000000";
|
|
64
|
+
export const brStateInteractiveColorForegroundContrast = "#000000";
|
|
65
|
+
export const brStateCtaColorMain = "#21c834";
|
|
66
|
+
export const brStateCtaColorContrast = "#21c834";
|
|
67
|
+
export const brStateCtaColorForegroundMain = "#000000";
|
|
68
|
+
export const brStateCtaColorForegroundContrast = "#000000";
|
|
69
|
+
export const brStateVisitedColorMain = "#98afd2";
|
|
70
|
+
export const brStateVisitedColorContrast = "#98afd2";
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly, this file was auto-generated.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
export const brColorForegroundMainPrimary = "#1b1b1b";
|
|
6
|
+
export const brColorForegroundMainSecondary = "#636363";
|
|
7
|
+
export const brColorForegroundContrastPrimary = "#fcfcfc";
|
|
8
|
+
export const brColorForegroundContrastSecondary = "#cccccc";
|
|
9
|
+
export const brColorBackgroundMainPrimary = "#fcfcfc";
|
|
10
|
+
export const brColorBackgroundMainSecondary = "#f0f0f0";
|
|
11
|
+
export const brColorBackgroundContrastPrimary = "#252f3e";
|
|
12
|
+
export const brColorBackgroundContrastSecondary = "#2f4668";
|
|
13
|
+
export const brColorBorderPrimary = "#cccccc";
|
|
14
|
+
export const brColorBorderSecondary = "#888888";
|
|
15
|
+
export const brElevationOpacityShadow = "0.2";
|
|
16
|
+
export const brStateDisabledColorMain = "#4a4a4a";
|
|
17
|
+
export const brStateDisabledColorContrast = "#cccccc";
|
|
18
|
+
export const brStateHoverColorBright = "rgba(#d4e5ff, 0.5)";
|
|
19
|
+
export const brStateHoverColorDim = "rgba(#0c326f, 0.6)";
|
|
20
|
+
export const brStateHoverColorInteractiveFgMain = "rgba(212, 229, 255, 0.5)";
|
|
21
|
+
export const brStateHoverColorInteractiveFgContrast = "rgba(12, 50, 111, 0.6)";
|
|
22
|
+
export const brStateHoverColorInteractiveBgMain = "rgba(12, 50, 111, 0.6)";
|
|
23
|
+
export const brStateHoverColorInteractiveBgContrast =
|
|
24
|
+
"rgba(212, 229, 255, 0.5)";
|
|
25
|
+
export const brStateHoverCtaColorBright = "rgba(#b7f5bd, 0.5)";
|
|
26
|
+
export const brStateHoverCtaColorDim = "rgba(#19311e, 0.6)";
|
|
27
|
+
export const brStateHoverCtaColorInteractiveFgMain = "rgba(183, 245, 189, 0.5)";
|
|
28
|
+
export const brStateHoverCtaColorInteractiveFgContrast =
|
|
29
|
+
"rgba(25, 49, 30, 0.6)";
|
|
30
|
+
export const brStateHoverCtaColorInteractiveBgMain = "rgba(25, 49, 30, 0.6)";
|
|
31
|
+
export const brStateHoverCtaColorInteractiveBgContrast =
|
|
32
|
+
"rgba(183, 245, 189, 0.5)";
|
|
33
|
+
export const brStateFocusColorMain = "#da680b";
|
|
34
|
+
export const brStateFocusColorContrast = "#ff8c00";
|
|
35
|
+
export const brStateActiveColorMain = "#0c326f";
|
|
36
|
+
export const brStateActiveColorContrast = "#81aefc";
|
|
37
|
+
export const brStateActiveColorForegroundMain = "#ffffff";
|
|
38
|
+
export const brStateActiveColorForegroundContrast = "#000000";
|
|
39
|
+
export const brStateActiveCtaColorMain = "#154c21";
|
|
40
|
+
export const brStateActiveCtaColorContrast = "#21c834";
|
|
41
|
+
export const brStateSelectedColorMain = "#2670e8";
|
|
42
|
+
export const brStateSelectedColorContrast = "#5992ed";
|
|
43
|
+
export const brStateSelectedColorForegroundMain = "#ffffff";
|
|
44
|
+
export const brStateSelectedColorForegroundContrast = "#000000";
|
|
45
|
+
export const brStateSelectedCtaColorMain = "#19311e";
|
|
46
|
+
export const brStateSelectedCtaColorContrast = "#00a91c";
|
|
47
|
+
export const brStateDraggingColorMain = "#0040b4";
|
|
48
|
+
export const brStateDraggingColorContrast = "#adcdff";
|
|
49
|
+
export const brStateDropzoneColorMain = "#0040b4";
|
|
50
|
+
export const brStateDropzoneColorContrast = "#adcdff";
|
|
51
|
+
export const brStateDropzoneActiveColorMain = "#0040b4";
|
|
52
|
+
export const brStateDropzoneActiveColorContrast = "#adcdff";
|
|
53
|
+
export const brStateOnColorMain = "#5992ed";
|
|
54
|
+
export const brStateOnColorContrast = "#2670e8";
|
|
55
|
+
export const brStateOnColorForegroundMain = "#000000";
|
|
56
|
+
export const brStateOnColorForegroundContrast = "#ffffff";
|
|
57
|
+
export const brStateOffColorMain = "#888888";
|
|
58
|
+
export const brStateOffColorContrast = "#757575";
|
|
59
|
+
export const brStateOffColorForegroundMain = "#000000";
|
|
60
|
+
export const brStateOffColorForegroundContrast = "#ffffff";
|
|
61
|
+
export const brStateInteractiveColorMain = "#0040b4";
|
|
62
|
+
export const brStateInteractiveColorContrast = "#adcdff";
|
|
63
|
+
export const brStateInteractiveColorForegroundMain = "#ffffff";
|
|
64
|
+
export const brStateInteractiveColorForegroundContrast = "#000000";
|
|
65
|
+
export const brStateCtaColorMain = "#216e1f";
|
|
66
|
+
export const brStateCtaColorContrast = "#70e17b";
|
|
67
|
+
export const brStateCtaColorForegroundMain = "#ffffff";
|
|
68
|
+
export const brStateCtaColorForegroundContrast = "#000000";
|
|
69
|
+
export const brStateVisitedColorMain = "#2f4668";
|
|
70
|
+
export const brStateVisitedColorContrast = "#c5d4eb";
|