@govbr-ds/tokens 4.0.0-next.10 → 4.0.0-next.11
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 +82 -1
- package/dist/css/themes/dark.css +69 -80
- package/dist/css/themes/light.css +69 -80
- package/dist/css/tokens.css +222 -213
- package/dist/js/themes/dark.js +77 -80
- package/dist/js/themes/light.js +77 -80
- package/dist/js/tokens.js +176 -157
- package/dist/json/themes/dark.json +1338 -1538
- package/dist/json/themes/light.json +1338 -1538
- package/dist/json/tokens.json +6135 -5859
- package/dist/scss/themes/dark.scss +69 -80
- package/dist/scss/themes/light.scss +69 -80
- package/dist/scss/tokens.scss +222 -213
- package/dist/tokens-studio/tokens.json +4435 -0
- package/package.json +12 -8
- package/src/figma/{variables/base14.json → base14.json} +2 -6
- package/src/figma/{variables/color.json → color.json} +1 -1
- package/src/figma/{variables/component → component}/manifest.json +2 -4
- package/src/figma/{variables/component → component}/text.json +1 -1
- package/src/figma/dark.json +352 -0
- package/src/figma/{variables/elevation.json → elevation.json} +29 -27
- package/src/figma/{variables/grid.json → grid.json} +6 -6
- package/src/figma/{variables/guideline → guideline}/componente.json +1 -1
- package/src/figma/{variables/guideline → guideline}/fundamento.json +1 -1
- package/src/figma/{variables/guideline → guideline}/geral.json +1 -1
- package/src/figma/guideline/manifest.json +12 -0
- package/src/figma/{variables/guideline → guideline}/padrao.json +1 -1
- package/src/figma/{variables/iconography.json → iconography.json} +3 -3
- package/src/figma/light.json +352 -0
- package/src/figma/{variables/manifest.json → manifest.json} +4 -10
- package/src/figma/{variables/motion.json → motion.json} +1 -1
- package/src/figma/pattern/form.json +16 -0
- package/src/figma/{variables/pattern → pattern}/manifest.json +2 -4
- package/src/figma/pattern/skeleton.json +52 -0
- package/src/figma/{variables/spacing.json → spacing.json} +1 -1
- package/src/figma/state.json +232 -0
- package/src/figma/{variables/surface.json → surface.json} +20 -24
- package/src/figma/{variables/typography.json → typography.json} +7 -19
- package/src/temp/component.json +142 -0
- package/src/temp/core.json +3517 -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 +4435 -0
- package/src/figma/tokens.json +0 -4465
- package/src/figma/variables/dark.json +0 -314
- package/src/figma/variables/guideline/manifest.json +0 -21
- package/src/figma/variables/light.json +0 -314
- package/src/figma/variables/pattern/skeleton.json +0 -52
- package/src/figma/variables/state.json +0 -238
|
@@ -1,80 +1,69 @@
|
|
|
1
|
-
$
|
|
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
|
-
$
|
|
54
|
-
$
|
|
55
|
-
$
|
|
56
|
-
$
|
|
57
|
-
$
|
|
58
|
-
$
|
|
59
|
-
$
|
|
60
|
-
$
|
|
61
|
-
$
|
|
62
|
-
$
|
|
63
|
-
$
|
|
64
|
-
$
|
|
65
|
-
$
|
|
66
|
-
$
|
|
67
|
-
$
|
|
68
|
-
$
|
|
69
|
-
$
|
|
70
|
-
$theme-on-read-contrast: #ffffff !default;
|
|
71
|
-
$theme-off-main: #636363 !default;
|
|
72
|
-
$theme-off-contrast: #636363 !default;
|
|
73
|
-
$theme-off-read-main: #ffffff !default;
|
|
74
|
-
$theme-off-read-contrast: #ffffff !default;
|
|
75
|
-
$theme-success-main: #538200 !default;
|
|
76
|
-
$theme-success-read-main: #ffffff !default;
|
|
77
|
-
$theme-alert-main: #ffcd07 !default;
|
|
78
|
-
$theme-alert-read-main: #000000 !default;
|
|
79
|
-
$theme-error-main: #e52207 !default;
|
|
80
|
-
$theme-error-read-main: #ffffff !default;
|
|
1
|
+
$color-read-main-base: #fcfcfc !default;
|
|
2
|
+
$color-read-main-alternative: #cccccc !default;
|
|
3
|
+
$color-surface-main-base: #2d2e2f !default;
|
|
4
|
+
$color-surface-main-alternative: #1c1d1f !default;
|
|
5
|
+
$color-border-base: #4a4a4a !default;
|
|
6
|
+
$color-border-alternative: #757575 !default;
|
|
7
|
+
$state-disabled-color-main: #a9aeb1 !default;
|
|
8
|
+
$state-hover-color-bright: rgba(212, 229, 255, 0.5) !default;
|
|
9
|
+
$state-hover-color-dim: rgba(12, 50, 111, 0.6) !default;
|
|
10
|
+
$state-focus-color-main: #ff8c00 !default;
|
|
11
|
+
$state-active-color-main: #5992ed !default;
|
|
12
|
+
$state-active-color-read-main: #000000 !default;
|
|
13
|
+
$state-selected-color-main: #adcdff !default;
|
|
14
|
+
$state-selected-color-read-main: #000000 !default;
|
|
15
|
+
$state-on-color-main: #155bcb !default;
|
|
16
|
+
$state-on-color-read-main: #ffffff !default;
|
|
17
|
+
$state-off-color-main: #636363 !default;
|
|
18
|
+
$state-off-color-read-main: #ffffff !default;
|
|
19
|
+
$state-interactive-color-main: #81aefc !default;
|
|
20
|
+
$state-interactive-color-read-main: #000000 !default;
|
|
21
|
+
$state-cta-color-main: #21c834 !default;
|
|
22
|
+
$state-cta-color-read-main: #000000 !default;
|
|
23
|
+
$state-visited-color-main: #98afd2 !default;
|
|
24
|
+
$state-success-color-main: #538200 !default;
|
|
25
|
+
$state-success-color-read-main: #ffffff !default;
|
|
26
|
+
$state-alert-color-main: #ffcd07 !default;
|
|
27
|
+
$state-alert-color-read-main: #000000 !default;
|
|
28
|
+
$state-error-color-main: #e52207 !default;
|
|
29
|
+
$state-error-color-read-main: #ffffff !default;
|
|
30
|
+
$color-read-contrast-base: $color-read-main-base !default;
|
|
31
|
+
$color-read-contrast-alternative: $color-read-main-alternative !default;
|
|
32
|
+
$color-surface-contrast-base: $color-surface-main-base !default;
|
|
33
|
+
$color-surface-contrast-alternative: $color-surface-main-alternative !default;
|
|
34
|
+
$elevation-opacity-shadow: 0.6 !default;
|
|
35
|
+
$elevation-color-shadow: rgba(0, 0, 0, 0.6) !default;
|
|
36
|
+
$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) !default;
|
|
37
|
+
$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) !default;
|
|
38
|
+
$state-disabled-color-contrast: $state-disabled-color-main !default;
|
|
39
|
+
$state-hover-color-main-read: $state-hover-color-dim !default;
|
|
40
|
+
$state-hover-color-main-surface: $state-hover-color-bright !default;
|
|
41
|
+
$state-focus-color-contrast: $state-focus-color-main !default;
|
|
42
|
+
$state-active-color-contrast: $state-active-color-main !default;
|
|
43
|
+
$state-active-color-read-contrast: $state-active-color-read-main !default;
|
|
44
|
+
$state-selected-color-contrast: $state-selected-color-main !default;
|
|
45
|
+
$state-selected-color-read-contrast: $state-selected-color-read-main !default;
|
|
46
|
+
$state-grabbing-color-main: $state-interactive-color-main !default;
|
|
47
|
+
$state-dropzone-color-main: $state-interactive-color-main !default;
|
|
48
|
+
$state-dropzone-active-color-main: $state-interactive-color-main !default;
|
|
49
|
+
$state-on-color-contrast: $state-on-color-main !default;
|
|
50
|
+
$state-on-color-read-contrast: $state-on-color-read-main !default;
|
|
51
|
+
$state-off-color-contrast: $state-off-color-main !default;
|
|
52
|
+
$state-off-color-read-contrast: $state-off-color-read-main !default;
|
|
53
|
+
$state-interactive-color-contrast: $state-interactive-color-main !default;
|
|
54
|
+
$state-interactive-color-read-contrast: $state-interactive-color-read-main !default;
|
|
55
|
+
$state-cta-color-contrast: $state-cta-color-main !default;
|
|
56
|
+
$state-cta-color-read-contrast: $state-cta-color-read-main !default;
|
|
57
|
+
$state-visited-color-contrast: $state-visited-color-main !default;
|
|
58
|
+
$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) !default;
|
|
59
|
+
$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) !default;
|
|
60
|
+
$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) !default;
|
|
61
|
+
$state-disabled-shadow-style: $elevation-shadow-style-level-0 !default;
|
|
62
|
+
$state-hover-color-contrast-read: $state-hover-color-main-read !default;
|
|
63
|
+
$state-hover-color-contrast-surface: $state-hover-color-main-surface !default;
|
|
64
|
+
$state-pressed-shadow-style: inset 1px 1px 8px 0 rgba(0, 0, 0, 0.5) !default;
|
|
65
|
+
$state-grabbing-shadow-style-main: 0 12px 12px 0 rgba(129, 174, 252, 0.6), 0 0 16px 0 rgba(129, 174, 252, 0.6) !default;
|
|
66
|
+
$state-grabbing-color-contrast: $state-interactive-color-contrast !default;
|
|
67
|
+
$state-grabbing-shadow-style-contrast: 0 12px 12px 0 rgba(129, 174, 252, 0.6), 0 0 16px 0 rgba(129, 174, 252, 0.6) !default;
|
|
68
|
+
$state-dropzone-color-contrast: $state-interactive-color-contrast !default;
|
|
69
|
+
$state-dropzone-active-color-contrast: $state-interactive-color-contrast !default;
|
|
@@ -1,80 +1,69 @@
|
|
|
1
|
-
$
|
|
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
|
-
$
|
|
54
|
-
$
|
|
55
|
-
$
|
|
56
|
-
$
|
|
57
|
-
$
|
|
58
|
-
$
|
|
59
|
-
$
|
|
60
|
-
$
|
|
61
|
-
$
|
|
62
|
-
$
|
|
63
|
-
$
|
|
64
|
-
$
|
|
65
|
-
$
|
|
66
|
-
$
|
|
67
|
-
$
|
|
68
|
-
$
|
|
69
|
-
$
|
|
70
|
-
$theme-on-read-contrast: #ffffff !default;
|
|
71
|
-
$theme-off-main: #888888 !default;
|
|
72
|
-
$theme-off-contrast: #757575 !default;
|
|
73
|
-
$theme-off-read-main: #000000 !default;
|
|
74
|
-
$theme-off-read-contrast: #ffffff !default;
|
|
75
|
-
$theme-success-main: #538200 !default;
|
|
76
|
-
$theme-success-read-main: #ffffff !default;
|
|
77
|
-
$theme-alert-main: #ffcd07 !default;
|
|
78
|
-
$theme-alert-read-main: #000000 !default;
|
|
79
|
-
$theme-error-main: #e52207 !default;
|
|
80
|
-
$theme-error-read-main: #ffffff !default;
|
|
1
|
+
$color-read-main-base: #1b1b1b !default;
|
|
2
|
+
$color-read-main-alternative: #636363 !default;
|
|
3
|
+
$color-read-contrast-base: #fcfcfc !default;
|
|
4
|
+
$color-read-contrast-alternative: #cccccc !default;
|
|
5
|
+
$color-surface-main-base: #fcfcfc !default;
|
|
6
|
+
$color-surface-main-alternative: #f0f0f0 !default;
|
|
7
|
+
$color-surface-contrast-base: #252f3e !default;
|
|
8
|
+
$color-surface-contrast-alternative: #2f4668 !default;
|
|
9
|
+
$color-border-base: #cccccc !default;
|
|
10
|
+
$color-border-alternative: #888888 !default;
|
|
11
|
+
$state-disabled-color-main: #4a4a4a !default;
|
|
12
|
+
$state-disabled-color-contrast: #cccccc !default;
|
|
13
|
+
$state-hover-color-bright: rgba(212, 229, 255, 0.5) !default;
|
|
14
|
+
$state-hover-color-dim: rgba(12, 50, 111, 0.6) !default;
|
|
15
|
+
$state-focus-color-main: #da680b !default;
|
|
16
|
+
$state-focus-color-contrast: #ff8c00 !default;
|
|
17
|
+
$state-active-color-main: #0c326f !default;
|
|
18
|
+
$state-active-color-contrast: #81aefc !default;
|
|
19
|
+
$state-active-color-read-main: #ffffff !default;
|
|
20
|
+
$state-active-color-read-contrast: #000000 !default;
|
|
21
|
+
$state-selected-color-main: #2670e8 !default;
|
|
22
|
+
$state-selected-color-contrast: #5992ed !default;
|
|
23
|
+
$state-selected-color-read-main: #ffffff !default;
|
|
24
|
+
$state-selected-color-read-contrast: #000000 !default;
|
|
25
|
+
$state-on-color-main: #5992ed !default;
|
|
26
|
+
$state-on-color-contrast: #2670e8 !default;
|
|
27
|
+
$state-on-color-read-main: #000000 !default;
|
|
28
|
+
$state-on-color-read-contrast: #ffffff !default;
|
|
29
|
+
$state-off-color-main: #888888 !default;
|
|
30
|
+
$state-off-color-contrast: #757575 !default;
|
|
31
|
+
$state-off-color-read-main: #000000 !default;
|
|
32
|
+
$state-off-color-read-contrast: #ffffff !default;
|
|
33
|
+
$state-interactive-color-main: #0040b4 !default;
|
|
34
|
+
$state-interactive-color-contrast: #adcdff !default;
|
|
35
|
+
$state-interactive-color-read-main: #ffffff !default;
|
|
36
|
+
$state-interactive-color-read-contrast: #000000 !default;
|
|
37
|
+
$state-cta-color-main: #216e1f !default;
|
|
38
|
+
$state-cta-color-contrast: #70e17b !default;
|
|
39
|
+
$state-cta-color-read-main: #ffffff !default;
|
|
40
|
+
$state-cta-color-read-contrast: #000000 !default;
|
|
41
|
+
$state-visited-color-main: #2f4668 !default;
|
|
42
|
+
$state-visited-color-contrast: #c5d4eb !default;
|
|
43
|
+
$state-success-color-main: #538200 !default;
|
|
44
|
+
$state-success-color-read-main: #ffffff !default;
|
|
45
|
+
$state-alert-color-main: #ffcd07 !default;
|
|
46
|
+
$state-alert-color-read-main: #000000 !default;
|
|
47
|
+
$state-error-color-main: #e52207 !default;
|
|
48
|
+
$state-error-color-read-main: #ffffff !default;
|
|
49
|
+
$elevation-opacity-shadow: 0.2 !default;
|
|
50
|
+
$elevation-color-shadow: rgba(0, 0, 0, 0.2) !default;
|
|
51
|
+
$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) !default;
|
|
52
|
+
$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) !default;
|
|
53
|
+
$state-hover-color-main-read: $state-hover-color-bright !default;
|
|
54
|
+
$state-hover-color-main-surface: $state-hover-color-dim !default;
|
|
55
|
+
$state-hover-color-contrast-read: $state-hover-color-dim !default;
|
|
56
|
+
$state-hover-color-contrast-surface: $state-hover-color-bright !default;
|
|
57
|
+
$state-grabbing-color-main: $state-interactive-color-main !default;
|
|
58
|
+
$state-grabbing-color-contrast: $state-interactive-color-contrast !default;
|
|
59
|
+
$state-dropzone-color-main: $state-interactive-color-main !default;
|
|
60
|
+
$state-dropzone-color-contrast: $state-interactive-color-contrast !default;
|
|
61
|
+
$state-dropzone-active-color-main: $state-interactive-color-main !default;
|
|
62
|
+
$state-dropzone-active-color-contrast: $state-interactive-color-contrast !default;
|
|
63
|
+
$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) !default;
|
|
64
|
+
$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) !default;
|
|
65
|
+
$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) !default;
|
|
66
|
+
$state-disabled-shadow-style: $elevation-shadow-style-level-0 !default;
|
|
67
|
+
$state-pressed-shadow-style: inset 1px 1px 8px 0 rgba(0, 0, 0, 0.5) !default;
|
|
68
|
+
$state-grabbing-shadow-style-main: 0 12px 12px 0 rgba(0, 64, 180, 0.2), 0 0 16px 0 rgba(0, 64, 180, 0.2) !default;
|
|
69
|
+
$state-grabbing-shadow-style-contrast: 0 12px 12px 0 rgba(173, 205, 255, 0.2), 0 0 16px 0 rgba(173, 205, 255, 0.2) !default;
|