@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.
Files changed (112) hide show
  1. package/README.md +69 -106
  2. package/dist/css/component/avatar.css +37 -0
  3. package/dist/css/component/button.css +57 -0
  4. package/dist/css/component/checkbox.css +46 -0
  5. package/dist/css/component/checkboxGroup.css +7 -0
  6. package/dist/css/component/divider.css +12 -0
  7. package/dist/css/component/formlabel.css +6 -0
  8. package/dist/css/component/icon.css +35 -0
  9. package/dist/css/component/input.css +37 -0
  10. package/dist/css/component/list.css +54 -0
  11. package/dist/css/component/message.css +17 -0
  12. package/dist/css/component/radioGroup.css +39 -0
  13. package/dist/css/component/select.css +9 -0
  14. package/dist/css/component/text.css +17 -0
  15. package/dist/css/themes/dark.css +69 -52
  16. package/dist/css/themes/light.css +69 -52
  17. package/dist/css/tokens.css +676 -516
  18. package/dist/js/component/avatar.js +36 -0
  19. package/dist/js/component/button.js +56 -0
  20. package/dist/js/component/checkbox.js +45 -0
  21. package/dist/js/component/checkboxGroup.js +5 -0
  22. package/dist/js/component/divider.js +10 -0
  23. package/dist/js/component/formlabel.js +4 -0
  24. package/dist/js/component/icon.js +33 -0
  25. package/dist/js/component/input.js +35 -0
  26. package/dist/js/component/list.js +52 -0
  27. package/dist/js/component/message.js +17 -0
  28. package/dist/js/component/radioGroup.js +38 -0
  29. package/dist/js/component/select.js +8 -0
  30. package/dist/js/component/text.js +15 -0
  31. package/dist/js/themes/dark.js +77 -52
  32. package/dist/js/themes/light.js +77 -52
  33. package/dist/js/tokens.js +700 -531
  34. package/dist/json/component/avatar.json +907 -0
  35. package/dist/json/component/button.json +1447 -0
  36. package/dist/json/component/checkbox.json +1132 -0
  37. package/dist/json/component/checkboxGroup.json +169 -0
  38. package/dist/json/component/divider.json +302 -0
  39. package/dist/json/component/formlabel.json +117 -0
  40. package/dist/json/component/icon.json +911 -0
  41. package/dist/json/component/input.json +907 -0
  42. package/dist/json/component/list.json +1394 -0
  43. package/dist/json/component/message.json +441 -0
  44. package/dist/json/component/radioGroup.json +963 -0
  45. package/dist/json/component/select.json +207 -0
  46. package/dist/json/component/text.json +455 -0
  47. package/dist/json/themes/dark.json +1597 -856
  48. package/dist/json/themes/light.json +1597 -856
  49. package/dist/json/tokens.json +13699 -5459
  50. package/dist/scss/component/avatar.scss +35 -0
  51. package/dist/scss/component/button.scss +55 -0
  52. package/dist/scss/component/checkbox.scss +44 -0
  53. package/dist/scss/component/checkboxGroup.scss +5 -0
  54. package/dist/scss/component/divider.scss +10 -0
  55. package/dist/scss/component/formlabel.scss +4 -0
  56. package/dist/scss/component/icon.scss +33 -0
  57. package/dist/scss/component/input.scss +35 -0
  58. package/dist/scss/component/list.scss +52 -0
  59. package/dist/scss/component/message.scss +15 -0
  60. package/dist/scss/component/radioGroup.scss +37 -0
  61. package/dist/scss/component/select.scss +7 -0
  62. package/dist/scss/component/text.scss +15 -0
  63. package/dist/scss/themes/dark.scss +69 -0
  64. package/dist/scss/themes/light.scss +69 -0
  65. package/dist/scss/tokens.scss +817 -0
  66. package/dist/tokens-studio/tokens.json +6554 -0
  67. package/package.json +15 -12
  68. package/src/figma/base14.json +62 -0
  69. package/src/figma/{variables/color.json → color.json} +1 -1
  70. package/src/figma/component/avatar.json +156 -0
  71. package/src/figma/component/base14.json +94 -0
  72. package/src/figma/component/button.json +266 -0
  73. package/src/figma/component/divider.json +24 -0
  74. package/src/figma/component/formlabel.json +24 -0
  75. package/src/figma/component/icon.json +142 -0
  76. package/src/figma/component/input.json +156 -0
  77. package/src/figma/component/manifest.json +30 -0
  78. package/src/figma/component/message.json +70 -0
  79. package/src/figma/component/text.json +56 -0
  80. package/src/figma/dark.json +352 -0
  81. package/src/figma/elevation.json +234 -0
  82. package/src/figma/{variables/grid.json → grid.json} +29 -29
  83. package/src/figma/guideline/componente.json +24 -0
  84. package/src/figma/guideline/fundamento.json +24 -0
  85. package/src/figma/guideline/geral.json +20 -0
  86. package/src/figma/guideline/manifest.json +12 -0
  87. package/src/figma/guideline/padrao.json +24 -0
  88. package/src/figma/iconography.json +352 -0
  89. package/src/figma/light.json +352 -0
  90. package/src/figma/manifest.json +42 -0
  91. package/src/figma/motion.json +112 -0
  92. package/src/figma/pattern/form.json +16 -0
  93. package/src/figma/pattern/manifest.json +10 -0
  94. package/src/figma/pattern/skeleton.json +52 -0
  95. package/src/figma/{variables/spacing.json → spacing.json} +20 -0
  96. package/src/figma/state.json +260 -0
  97. package/src/figma/{variables/surface.json → surface.json} +34 -38
  98. package/src/figma/{variables/typography.json → typography.json} +10 -46
  99. package/src/temp/component.json +1895 -0
  100. package/src/temp/core.json +3883 -0
  101. package/src/temp/dark.json +352 -0
  102. package/src/temp/light.json +352 -0
  103. package/src/temp/pattern.json +70 -0
  104. package/src/tokens.json +6554 -0
  105. package/dist/scss/_tokens.scss +0 -662
  106. package/dist/scss/themes/_dark.scss +0 -55
  107. package/dist/scss/themes/_light.scss +0 -55
  108. package/src/figma/tokens.json +0 -3513
  109. package/src/figma/variables/manifest.json +0 -26
  110. package/src/style-dictionary/themes/dark.json +0 -3239
  111. package/src/style-dictionary/themes/light.json +0 -3239
  112. package/src/style-dictionary/tokens.json +0 -2971
@@ -1,54 +1,71 @@
1
1
  [data-br-theme="dark"] {
2
- --theme-text-main-base: #FCFCFC;
3
- --theme-text-main-alternative: #CCCCCC;
4
- --theme-text-contrast-base: #FCFCFC;
5
- --theme-text-contrast-alternative: #CCCCCC;
6
- --theme-surface-main-base: #2D2E2F;
7
- --theme-surface-main-alternative: #1C1D1F;
8
- --theme-surface-contrast-base: #2D2E2F;
9
- --theme-surface-contrast-alternative: #1C1D1F;
10
- --theme-surface-text-main-base: #FCFCFC;
11
- --theme-surface-text-main-alternative: #FCFCFC;
12
- --theme-surface-text-contrast-base: #FCFCFC;
13
- --theme-surface-text-contrast-alternative: #FCFCFC;
14
- --theme-border-base: #4A4A4A;
15
- --theme-border-alternative: #757575;
16
- --theme-interactive-main: #81AEFC;
17
- --theme-interactive-contrast: #81AEFC;
18
- --theme-interactive-text-main: #000000;
19
- --theme-interactive-text-contrast: #000000;
20
- --theme-cta-main: #21C834;
21
- --theme-cta-contrast: #21C834;
22
- --theme-cta-text-main: #000000;
23
- --theme-cta-text-contrast: #000000;
24
- --theme-success-main: #538200;
25
- --theme-success-text: #FFFFFF;
26
- --theme-alert-main: #FFCD07;
27
- --theme-alert-text: #000000;
28
- --theme-error-main: #E52207;
29
- --theme-error-text: #FFFFFF;
30
- --theme-disabled-main: #A9AEB1;
31
- --theme-disabled-contrast: #A9AEB1;
32
- --theme-visited-main: #2F4668;
33
- --theme-visited-contrast: #C5D4EB;
34
- --theme-hover-bright: rgba(12, 50, 111, 0.6);
35
- --theme-hover-dim: rgba(212, 229, 255, 0.8);
36
- --theme-focus-main: #DA680B;
37
- --theme-focus-contrast: #FF8C00;
38
- --theme-active-main: #5992ED;
39
- --theme-active-contrast: #5992ED;
40
- --theme-active-text-main: #000000;
41
- --theme-active-text-contrast: #000000;
42
- --theme-selected-main: #2670E8;
43
- --theme-selected-contrast: #2670E8;
44
- --theme-selected-text-main: #FFFFFF;
45
- --theme-selected-text-contrast: #FFFFFF;
46
- --theme-on-main: #155BCB;
47
- --theme-on-contrast: #155BCB;
48
- --theme-on-text-main: #FFFFFF;
49
- --theme-on-text-contrast: #FFFFFF;
50
- --theme-off-main: #636363;
51
- --theme-off-contrast: #636363;
52
- --theme-off-text-main: #FFFFFF;
53
- --theme-off-text-contrast: #FFFFFF;
2
+ --color-read-main-base: #fcfcfc;
3
+ --color-read-main-alternative: #cccccc;
4
+ --color-read-contrast-base: #fcfcfc;
5
+ --color-read-contrast-alternative: #cccccc;
6
+ --color-surface-main-base: #2d2e2f;
7
+ --color-surface-main-alternative: #1c1d1f;
8
+ --color-surface-contrast-base: #2d2e2f;
9
+ --color-surface-contrast-alternative: #1c1d1f;
10
+ --color-border-base: #4a4a4a;
11
+ --color-border-alternative: #757575;
12
+ --elevation-color-shadow: rgba(0, 0, 0, 0.6);
13
+ --elevation-opacity-shadow: 0.6;
14
+ --elevation-shadow-style-level-0: 0 0 0 0 rgba(0, 0, 0, 0.6), 0 0 0 0 rgba(0, 0, 0, 0.6);
15
+ --elevation-shadow-style-level-1: 0 1px 1px 0 rgba(0, 0, 0, 0.6), 0 0 4px 0 rgba(0, 0, 0, 0.6);
16
+ --elevation-shadow-style-level-2: 0 4px 4px 0 rgba(0, 0, 0, 0.6), 0 0 8px 0 rgba(0, 0, 0, 0.6);
17
+ --elevation-shadow-style-level-3: 0 8px 8px 0 rgba(0, 0, 0, 0.6), 0 0 12px 0 rgba(0, 0, 0, 0.6);
18
+ --elevation-shadow-style-level-4: 0 12px 12px 0 rgba(0, 0, 0, 0.6), 0 0 16px 0 rgba(0, 0, 0, 0.6);
19
+ --state-disabled-shadow-style: 0 0 0 0 rgba(0, 0, 0, 0.6), 0 0 0 0 rgba(0, 0, 0, 0.6);
20
+ --state-disabled-color-main: #a9aeb1;
21
+ --state-disabled-color-contrast: #a9aeb1;
22
+ --state-hover-color-bright: rgba(212, 229, 255, 0.5);
23
+ --state-hover-color-dim: rgba(12, 50, 111, 0.6);
24
+ --state-hover-color-main-read: rgba(12, 50, 111, 0.6);
25
+ --state-hover-color-main-surface: rgba(212, 229, 255, 0.5);
26
+ --state-hover-color-contrast-read: rgba(12, 50, 111, 0.6);
27
+ --state-hover-color-contrast-surface: rgba(212, 229, 255, 0.5);
28
+ --state-pressed-shadow-style: inset 1px 1px 8px 0 rgba(0, 0, 0, 0.5);
29
+ --state-focus-color-main: #ff8c00;
30
+ --state-focus-color-contrast: #ff8c00;
31
+ --state-active-color-main: #5992ed;
32
+ --state-active-color-contrast: #5992ed;
33
+ --state-active-color-read-main: #000000;
34
+ --state-active-color-read-contrast: #000000;
35
+ --state-selected-color-main: #adcdff;
36
+ --state-selected-color-contrast: #adcdff;
37
+ --state-selected-color-read-main: #000000;
38
+ --state-selected-color-read-contrast: #000000;
39
+ --state-dragging-shadow-style-main: 0 12px 12px 0 rgba(129, 174, 252, 0.6), 0 0 16px 0 rgba(129, 174, 252, 0.6);
40
+ --state-dragging-shadow-style-contrast: 0 12px 12px 0 rgba(129, 174, 252, 0.6), 0 0 16px 0 rgba(129, 174, 252, 0.6);
41
+ --state-dragging-color-main: #81aefc;
42
+ --state-dragging-color-contrast: #81aefc;
43
+ --state-dropzone-color-main: #81aefc;
44
+ --state-dropzone-color-contrast: #81aefc;
45
+ --state-dropzone-active-color-main: #81aefc;
46
+ --state-dropzone-active-color-contrast: #81aefc;
47
+ --state-on-color-main: #155bcb;
48
+ --state-on-color-contrast: #155bcb;
49
+ --state-on-color-read-main: #ffffff;
50
+ --state-on-color-read-contrast: #ffffff;
51
+ --state-off-color-main: #636363;
52
+ --state-off-color-contrast: #636363;
53
+ --state-off-color-read-main: #ffffff;
54
+ --state-off-color-read-contrast: #ffffff;
55
+ --state-error-color-main: #e52207;
56
+ --state-error-color-read-main: #ffffff;
57
+ --state-alert-color-main: #ffcd07;
58
+ --state-alert-color-read-main: #000000;
59
+ --state-success-color-main: #538200;
60
+ --state-success-color-read-main: #ffffff;
61
+ --state-interactive-color-main: #81aefc;
62
+ --state-interactive-color-contrast: #81aefc;
63
+ --state-interactive-color-read-main: #000000;
64
+ --state-interactive-color-read-contrast: #000000;
65
+ --state-cta-color-main: #21c834;
66
+ --state-cta-color-contrast: #21c834;
67
+ --state-cta-color-read-main: #000000;
68
+ --state-cta-color-read-contrast: #000000;
69
+ --state-visited-color-main: #98afd2;
70
+ --state-visited-color-contrast: #98afd2;
54
71
  }
@@ -1,54 +1,71 @@
1
1
  [data-br-theme="light"] {
2
- --theme-text-main-base: #1B1B1B;
3
- --theme-text-main-alternative: #636363;
4
- --theme-text-contrast-base: #FCFCFC;
5
- --theme-text-contrast-alternative: #CCCCCC;
6
- --theme-surface-main-base: #FCFCFC;
7
- --theme-surface-main-alternative: #F0F0F0;
8
- --theme-surface-contrast-base: #252F3E;
9
- --theme-surface-contrast-alternative: #2F4668;
10
- --theme-surface-text-main-base: #1B1B1B;
11
- --theme-surface-text-main-alternative: #1B1B1B;
12
- --theme-surface-text-contrast-base: #FCFCFC;
13
- --theme-surface-text-contrast-alternative: #FCFCFC;
14
- --theme-border-base: #CCCCCC;
15
- --theme-border-alternative: #888888;
16
- --theme-interactive-main: #0040B4;
17
- --theme-interactive-contrast: #ADCDFF;
18
- --theme-interactive-text-main: #FFFFFF;
19
- --theme-interactive-text-contrast: #000000;
20
- --theme-cta-main: #216E1F;
21
- --theme-cta-contrast: #70E17B;
22
- --theme-cta-text-main: #FFFFFF;
23
- --theme-cta-text-contrast: #000000;
24
- --theme-success-main: #538200;
25
- --theme-success-text: #FFFFFF;
26
- --theme-alert-main: #FFCD07;
27
- --theme-alert-text: #000000;
28
- --theme-error-main: #E52207;
29
- --theme-error-text: #FFFFFF;
30
- --theme-disabled-main: #4A4A4A;
31
- --theme-disabled-contrast: #CCCCCC;
32
- --theme-visited-main: #2F4668;
33
- --theme-visited-contrast: #C5D4EB;
34
- --theme-hover-bright: rgba(212, 229, 255, 0.6);
35
- --theme-hover-dim: rgba(12, 50, 111, 0.8);
36
- --theme-focus-main: #DA680B;
37
- --theme-focus-contrast: #FF8C00;
38
- --theme-active-main: #0C326F;
39
- --theme-active-contrast: #81AEFC;
40
- --theme-active-text-main: #FFFFFF;
41
- --theme-active-text-contrast: #000000;
42
- --theme-selected-main: #2670E8;
43
- --theme-selected-contrast: #5992ED;
44
- --theme-selected-text-main: #FFFFFF;
45
- --theme-selected-text-contrast: #000000;
46
- --theme-on-main: #5992ED;
47
- --theme-on-contrast: #2670E8;
48
- --theme-on-text-main: #000000;
49
- --theme-on-text-contrast: #FFFFFF;
50
- --theme-off-main: #888888;
51
- --theme-off-contrast: #757575;
52
- --theme-off-text-main: #000000;
53
- --theme-off-text-contrast: #FFFFFF;
2
+ --color-read-main-base: #1b1b1b;
3
+ --color-read-main-alternative: #636363;
4
+ --color-read-contrast-base: #fcfcfc;
5
+ --color-read-contrast-alternative: #cccccc;
6
+ --color-surface-main-base: #fcfcfc;
7
+ --color-surface-main-alternative: #f0f0f0;
8
+ --color-surface-contrast-base: #252f3e;
9
+ --color-surface-contrast-alternative: #2f4668;
10
+ --color-border-base: #cccccc;
11
+ --color-border-alternative: #888888;
12
+ --elevation-color-shadow: rgba(0, 0, 0, 0.2);
13
+ --elevation-opacity-shadow: 0.2;
14
+ --elevation-shadow-style-level-0: 0 0 0 0 rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(0, 0, 0, 0.2);
15
+ --elevation-shadow-style-level-1: 0 1px 1px 0 rgba(0, 0, 0, 0.2), 0 0 4px 0 rgba(0, 0, 0, 0.2);
16
+ --elevation-shadow-style-level-2: 0 4px 4px 0 rgba(0, 0, 0, 0.2), 0 0 8px 0 rgba(0, 0, 0, 0.2);
17
+ --elevation-shadow-style-level-3: 0 8px 8px 0 rgba(0, 0, 0, 0.2), 0 0 12px 0 rgba(0, 0, 0, 0.2);
18
+ --elevation-shadow-style-level-4: 0 12px 12px 0 rgba(0, 0, 0, 0.2), 0 0 16px 0 rgba(0, 0, 0, 0.2);
19
+ --state-disabled-shadow-style: 0 0 0 0 rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(0, 0, 0, 0.2);
20
+ --state-disabled-color-main: #4a4a4a;
21
+ --state-disabled-color-contrast: #cccccc;
22
+ --state-hover-color-bright: rgba(212, 229, 255, 0.5);
23
+ --state-hover-color-dim: rgba(12, 50, 111, 0.6);
24
+ --state-hover-color-main-read: rgba(212, 229, 255, 0.5);
25
+ --state-hover-color-main-surface: rgba(12, 50, 111, 0.6);
26
+ --state-hover-color-contrast-read: rgba(12, 50, 111, 0.6);
27
+ --state-hover-color-contrast-surface: rgba(212, 229, 255, 0.5);
28
+ --state-pressed-shadow-style: inset 1px 1px 8px 0 rgba(0, 0, 0, 0.5);
29
+ --state-focus-color-main: #da680b;
30
+ --state-focus-color-contrast: #ff8c00;
31
+ --state-active-color-main: #0c326f;
32
+ --state-active-color-contrast: #81aefc;
33
+ --state-active-color-read-main: #ffffff;
34
+ --state-active-color-read-contrast: #000000;
35
+ --state-selected-color-main: #2670e8;
36
+ --state-selected-color-contrast: #5992ed;
37
+ --state-selected-color-read-main: #ffffff;
38
+ --state-selected-color-read-contrast: #000000;
39
+ --state-dragging-shadow-style-main: 0 12px 12px 0 rgba(0, 64, 180, 0.2), 0 0 16px 0 rgba(0, 64, 180, 0.2);
40
+ --state-dragging-shadow-style-contrast: 0 12px 12px 0 rgba(173, 205, 255, 0.2), 0 0 16px 0 rgba(173, 205, 255, 0.2);
41
+ --state-dragging-color-main: #0040b4;
42
+ --state-dragging-color-contrast: #adcdff;
43
+ --state-dropzone-color-main: #0040b4;
44
+ --state-dropzone-color-contrast: #adcdff;
45
+ --state-dropzone-active-color-main: #0040b4;
46
+ --state-dropzone-active-color-contrast: #adcdff;
47
+ --state-on-color-main: #5992ed;
48
+ --state-on-color-contrast: #2670e8;
49
+ --state-on-color-read-main: #000000;
50
+ --state-on-color-read-contrast: #ffffff;
51
+ --state-off-color-main: #888888;
52
+ --state-off-color-contrast: #757575;
53
+ --state-off-color-read-main: #000000;
54
+ --state-off-color-read-contrast: #ffffff;
55
+ --state-error-color-main: #e52207;
56
+ --state-error-color-read-main: #ffffff;
57
+ --state-alert-color-main: #ffcd07;
58
+ --state-alert-color-read-main: #000000;
59
+ --state-success-color-main: #538200;
60
+ --state-success-color-read-main: #ffffff;
61
+ --state-interactive-color-main: #0040b4;
62
+ --state-interactive-color-contrast: #adcdff;
63
+ --state-interactive-color-read-main: #ffffff;
64
+ --state-interactive-color-read-contrast: #000000;
65
+ --state-cta-color-main: #216e1f;
66
+ --state-cta-color-contrast: #70e17b;
67
+ --state-cta-color-read-main: #ffffff;
68
+ --state-cta-color-read-contrast: #000000;
69
+ --state-visited-color-main: #2f4668;
70
+ --state-visited-color-contrast: #c5d4eb;
54
71
  }