@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.
Files changed (43) hide show
  1. package/README.md +12 -130
  2. package/dist/css/themes/dark.css +77 -49
  3. package/dist/css/themes/light.css +77 -49
  4. package/dist/css/tokens.css +565 -513
  5. package/dist/js/themes/dark.js +77 -49
  6. package/dist/js/themes/light.js +77 -49
  7. package/dist/js/tokens.js +569 -517
  8. package/dist/json/themes/dark.json +1330 -389
  9. package/dist/json/themes/light.json +1326 -385
  10. package/dist/json/tokens.json +8029 -3195
  11. package/dist/scss/themes/dark.scss +80 -0
  12. package/dist/scss/themes/light.scss +80 -0
  13. package/dist/scss/tokens.scss +721 -0
  14. package/package.json +10 -11
  15. package/src/figma/tokens.json +1405 -527
  16. package/src/figma/variables/base14.json +66 -0
  17. package/src/figma/variables/color.json +2 -2
  18. package/src/figma/variables/component/manifest.json +12 -0
  19. package/src/figma/variables/component/text.json +46 -0
  20. package/src/figma/variables/dark.json +314 -0
  21. package/src/figma/variables/elevation.json +232 -0
  22. package/src/figma/variables/grid.json +120 -0
  23. package/src/figma/variables/guideline/componente.json +24 -0
  24. package/src/figma/variables/guideline/fundamento.json +24 -0
  25. package/src/figma/variables/guideline/geral.json +20 -0
  26. package/src/figma/variables/guideline/manifest.json +21 -0
  27. package/src/figma/variables/guideline/padrao.json +24 -0
  28. package/src/figma/variables/iconography.json +14 -0
  29. package/src/figma/variables/light.json +314 -0
  30. package/src/figma/variables/manifest.json +21 -4
  31. package/src/figma/variables/motion.json +112 -0
  32. package/src/figma/variables/pattern/manifest.json +12 -0
  33. package/src/figma/variables/pattern/skeleton.json +52 -0
  34. package/src/figma/variables/spacing.json +21 -1
  35. package/src/figma/variables/state.json +238 -0
  36. package/src/figma/variables/surface.json +28 -26
  37. package/src/figma/variables/typography.json +90 -112
  38. package/dist/scss/_tokens.scss +0 -674
  39. package/dist/scss/themes/_dark.scss +0 -55
  40. package/dist/scss/themes/_light.scss +0 -55
  41. package/src/style-dictionary/themes/dark.json +0 -3313
  42. package/src/style-dictionary/themes/light.json +0 -3313
  43. package/src/style-dictionary/tokens.json +0 -3045
@@ -1,52 +1,80 @@
1
- export const themeTextMainBase = "#FCFCFC";
2
- export const themeTextMainAlternative = "#CCCCCC";
3
- export const themeTextContrastBase = "#FCFCFC";
4
- export const themeTextContrastAlternative = "#CCCCCC";
5
- export const themeSurfaceMainBase = "#2D2E2F";
6
- export const themeSurfaceMainAlternative = "#1C1D1F";
7
- export const themeSurfaceContrastBase = "#2D2E2F";
8
- export const themeSurfaceContrastAlternative = "#1C1D1F";
9
- export const themeSurfaceTextMainBase = "#FCFCFC";
10
- export const themeSurfaceTextMainAlternative = "#FCFCFC";
11
- export const themeSurfaceTextContrastBase = "#FCFCFC";
12
- export const themeSurfaceTextContrastAlternative = "#FCFCFC";
13
- export const themeBorderBase = "#4A4A4A";
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 = "#81AEFC";
16
- export const themeInteractiveContrast = "#81AEFC";
17
- export const themeInteractiveTextMain = "#000000";
18
- export const themeInteractiveTextContrast = "#000000";
19
- export const themeCtaMain = "#21C834";
20
- export const themeCtaContrast = "#21C834";
21
- export const themeCtaTextMain = "#000000";
22
- export const themeCtaTextContrast = "#000000";
23
- export const themeSuccessMain = "#538200";
24
- export const themeSuccessText = "#FFFFFF";
25
- export const themeAlertMain = "#FFCD07";
26
- export const themeAlertText = "#000000";
27
- export const themeErrorMain = "#E52207";
28
- export const themeErrorText = "#FFFFFF";
29
- export const themeDisabledMain = "#A9AEB1";
30
- export const themeDisabledContrast = "#A9AEB1";
31
- export const themeVisitedMain = "#2F4668";
32
- export const themeVisitedContrast = "#C5D4EB";
33
- export const themeHoverBright = "rgba(12, 50, 111, 0.6)";
34
- export const themeHoverDim = "rgba(212, 229, 255, 0.8)";
35
- export const themeFocusMain = "#DA680B";
36
- export const themeFocusContrast = "#FF8C00";
37
- export const themeActiveMain = "#5992ED";
38
- export const themeActiveContrast = "#5992ED";
39
- export const themeActiveTextMain = "#000000";
40
- export const themeActiveTextContrast = "#000000";
41
- export const themeSelectedMain = "#2670E8";
42
- export const themeSelectedContrast = "#2670E8";
43
- export const themeSelectedTextMain = "#FFFFFF";
44
- export const themeSelectedTextContrast = "#FFFFFF";
45
- export const themeOnMain = "#155BCB";
46
- export const themeOnContrast = "#155BCB";
47
- export const themeOnTextMain = "#FFFFFF";
48
- export const themeOnTextContrast = "#FFFFFF";
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 themeOffTextMain = "#FFFFFF";
52
- export const themeOffTextContrast = "#FFFFFF";
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";
@@ -1,52 +1,80 @@
1
- export const themeTextMainBase = "#1B1B1B";
2
- export const themeTextMainAlternative = "#636363";
3
- export const themeTextContrastBase = "#FCFCFC";
4
- export const themeTextContrastAlternative = "#CCCCCC";
5
- export const themeSurfaceMainBase = "#FCFCFC";
6
- export const themeSurfaceMainAlternative = "#F0F0F0";
7
- export const themeSurfaceContrastBase = "#252F3E";
8
- export const themeSurfaceContrastAlternative = "#2F4668";
9
- export const themeSurfaceTextMainBase = "#1B1B1B";
10
- export const themeSurfaceTextMainAlternative = "#1B1B1B";
11
- export const themeSurfaceTextContrastBase = "#FCFCFC";
12
- export const themeSurfaceTextContrastAlternative = "#FCFCFC";
13
- export const themeBorderBase = "#CCCCCC";
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 = "#0040B4";
16
- export const themeInteractiveContrast = "#ADCDFF";
17
- export const themeInteractiveTextMain = "#FFFFFF";
18
- export const themeInteractiveTextContrast = "#000000";
19
- export const themeCtaMain = "#216E1F";
20
- export const themeCtaContrast = "#70E17B";
21
- export const themeCtaTextMain = "#FFFFFF";
22
- export const themeCtaTextContrast = "#000000";
23
- export const themeSuccessMain = "#538200";
24
- export const themeSuccessText = "#FFFFFF";
25
- export const themeAlertMain = "#FFCD07";
26
- export const themeAlertText = "#000000";
27
- export const themeErrorMain = "#E52207";
28
- export const themeErrorText = "#FFFFFF";
29
- export const themeDisabledMain = "#4A4A4A";
30
- export const themeDisabledContrast = "#CCCCCC";
31
- export const themeVisitedMain = "#2F4668";
32
- export const themeVisitedContrast = "#C5D4EB";
33
- export const themeHoverBright = "rgba(212, 229, 255, 0.6)";
34
- export const themeHoverDim = "rgba(12, 50, 111, 0.8)";
35
- export const themeFocusMain = "#DA680B";
36
- export const themeFocusContrast = "#FF8C00";
37
- export const themeActiveMain = "#0C326F";
38
- export const themeActiveContrast = "#81AEFC";
39
- export const themeActiveTextMain = "#FFFFFF";
40
- export const themeActiveTextContrast = "#000000";
41
- export const themeSelectedMain = "#2670E8";
42
- export const themeSelectedContrast = "#5992ED";
43
- export const themeSelectedTextMain = "#FFFFFF";
44
- export const themeSelectedTextContrast = "#000000";
45
- export const themeOnMain = "#5992ED";
46
- export const themeOnContrast = "#2670E8";
47
- export const themeOnTextMain = "#000000";
48
- export const themeOnTextContrast = "#FFFFFF";
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 themeOffTextMain = "#000000";
52
- export const themeOffTextContrast = "#FFFFFF";
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";