@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/css/themes/dark.css
CHANGED
|
@@ -1,54 +1,71 @@
|
|
|
1
1
|
[data-br-theme="dark"] {
|
|
2
|
-
--
|
|
3
|
-
--
|
|
4
|
-
--
|
|
5
|
-
--
|
|
6
|
-
--
|
|
7
|
-
--
|
|
8
|
-
--
|
|
9
|
-
--
|
|
10
|
-
--
|
|
11
|
-
--
|
|
12
|
-
--
|
|
13
|
-
--
|
|
14
|
-
--
|
|
15
|
-
--
|
|
16
|
-
--
|
|
17
|
-
--
|
|
18
|
-
--
|
|
19
|
-
--
|
|
20
|
-
--
|
|
21
|
-
--
|
|
22
|
-
--
|
|
23
|
-
--
|
|
24
|
-
--
|
|
25
|
-
--
|
|
26
|
-
--
|
|
27
|
-
--
|
|
28
|
-
--
|
|
29
|
-
--
|
|
30
|
-
--
|
|
31
|
-
--
|
|
32
|
-
--
|
|
33
|
-
--
|
|
34
|
-
--
|
|
35
|
-
--
|
|
36
|
-
--
|
|
37
|
-
--
|
|
38
|
-
--
|
|
39
|
-
--
|
|
40
|
-
--
|
|
41
|
-
--
|
|
42
|
-
--
|
|
43
|
-
--
|
|
44
|
-
--
|
|
45
|
-
--
|
|
46
|
-
--
|
|
47
|
-
--
|
|
48
|
-
--
|
|
49
|
-
--
|
|
50
|
-
--
|
|
51
|
-
--
|
|
52
|
-
--
|
|
53
|
-
--
|
|
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
|
-
--
|
|
3
|
-
--
|
|
4
|
-
--
|
|
5
|
-
--
|
|
6
|
-
--
|
|
7
|
-
--
|
|
8
|
-
--
|
|
9
|
-
--
|
|
10
|
-
--
|
|
11
|
-
--
|
|
12
|
-
--
|
|
13
|
-
--
|
|
14
|
-
--
|
|
15
|
-
--
|
|
16
|
-
--
|
|
17
|
-
--
|
|
18
|
-
--
|
|
19
|
-
--
|
|
20
|
-
--
|
|
21
|
-
--
|
|
22
|
-
--
|
|
23
|
-
--
|
|
24
|
-
--
|
|
25
|
-
--
|
|
26
|
-
--
|
|
27
|
-
--
|
|
28
|
-
--
|
|
29
|
-
--
|
|
30
|
-
--
|
|
31
|
-
--
|
|
32
|
-
--
|
|
33
|
-
--
|
|
34
|
-
--
|
|
35
|
-
--
|
|
36
|
-
--
|
|
37
|
-
--
|
|
38
|
-
--
|
|
39
|
-
--
|
|
40
|
-
--
|
|
41
|
-
--
|
|
42
|
-
--
|
|
43
|
-
--
|
|
44
|
-
--
|
|
45
|
-
--
|
|
46
|
-
--
|
|
47
|
-
--
|
|
48
|
-
--
|
|
49
|
-
--
|
|
50
|
-
--
|
|
51
|
-
--
|
|
52
|
-
--
|
|
53
|
-
--
|
|
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
|
}
|