@govbr-ds/tokens 4.0.0-next.1 → 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.
Files changed (53) hide show
  1. package/README.md +69 -106
  2. package/dist/css/themes/dark.css +69 -52
  3. package/dist/css/themes/light.css +69 -52
  4. package/dist/css/tokens.css +635 -574
  5. package/dist/js/themes/dark.js +77 -52
  6. package/dist/js/themes/light.js +77 -52
  7. package/dist/js/tokens.js +633 -562
  8. package/dist/json/themes/dark.json +1597 -856
  9. package/dist/json/themes/light.json +1597 -856
  10. package/dist/json/tokens.json +10591 -5481
  11. package/dist/scss/themes/dark.scss +69 -0
  12. package/dist/scss/themes/light.scss +69 -0
  13. package/dist/scss/tokens.scss +730 -0
  14. package/dist/tokens-studio/tokens.json +4435 -0
  15. package/package.json +15 -12
  16. package/src/figma/base14.json +62 -0
  17. package/src/figma/{variables/color.json → color.json} +1 -1
  18. package/src/figma/component/manifest.json +10 -0
  19. package/src/figma/component/text.json +46 -0
  20. package/src/figma/dark.json +352 -0
  21. package/src/figma/elevation.json +234 -0
  22. package/src/figma/grid.json +120 -0
  23. package/src/figma/guideline/componente.json +24 -0
  24. package/src/figma/guideline/fundamento.json +24 -0
  25. package/src/figma/guideline/geral.json +20 -0
  26. package/src/figma/guideline/manifest.json +12 -0
  27. package/src/figma/guideline/padrao.json +24 -0
  28. package/src/figma/iconography.json +14 -0
  29. package/src/figma/light.json +352 -0
  30. package/src/figma/manifest.json +27 -0
  31. package/src/figma/motion.json +112 -0
  32. package/src/figma/pattern/form.json +16 -0
  33. package/src/figma/pattern/manifest.json +10 -0
  34. package/src/figma/pattern/skeleton.json +52 -0
  35. package/src/figma/{variables/spacing.json → spacing.json} +20 -0
  36. package/src/figma/state.json +232 -0
  37. package/src/figma/{variables/surface.json → surface.json} +42 -44
  38. package/src/figma/typography.json +114 -0
  39. package/src/temp/component.json +142 -0
  40. package/src/temp/core.json +3517 -0
  41. package/src/temp/dark.json +352 -0
  42. package/src/temp/light.json +352 -0
  43. package/src/temp/pattern.json +70 -0
  44. package/src/tokens.json +4435 -0
  45. package/dist/scss/_tokens.scss +0 -674
  46. package/dist/scss/themes/_dark.scss +0 -55
  47. package/dist/scss/themes/_light.scss +0 -55
  48. package/src/figma/tokens.json +0 -3587
  49. package/src/figma/variables/manifest.json +0 -16
  50. package/src/figma/variables/typography.json +0 -148
  51. package/src/style-dictionary/themes/dark.json +0 -3313
  52. package/src/style-dictionary/themes/light.json +0 -3313
  53. package/src/style-dictionary/tokens.json +0 -3045
@@ -0,0 +1,234 @@
1
+ {
2
+ "elevation": {
3
+ "color": {
4
+ "default": {
5
+ "$value": "{color.pure.100}",
6
+ "$type": "color"
7
+ }
8
+ },
9
+ "opacity": {
10
+ "bright": {
11
+ "$value": "{surface.opacity.20}",
12
+ "$type": "number"
13
+ },
14
+ "dim": {
15
+ "$value": "{surface.opacity.60}",
16
+ "$type": "number"
17
+ }
18
+ },
19
+ "offset": {
20
+ "none": {
21
+ "$value": "0",
22
+ "$type": "number"
23
+ },
24
+ "xsmall": {
25
+ "$value": "1",
26
+ "$type": "number"
27
+ },
28
+ "small": {
29
+ "$value": "4",
30
+ "$type": "number"
31
+ },
32
+ "medium": {
33
+ "$value": "8",
34
+ "$type": "number"
35
+ },
36
+ "large": {
37
+ "$value": "12",
38
+ "$type": "number"
39
+ },
40
+ "xlarge": {
41
+ "$value": "16",
42
+ "$type": "number"
43
+ }
44
+ },
45
+ "blur": {
46
+ "none": {
47
+ "$value": "0",
48
+ "$type": "dimension"
49
+ },
50
+ "xsmall": {
51
+ "$value": "1",
52
+ "$type": "dimension"
53
+ },
54
+ "small": {
55
+ "$value": "4",
56
+ "$type": "dimension"
57
+ },
58
+ "medium": {
59
+ "$value": "8",
60
+ "$type": "dimension"
61
+ },
62
+ "large": {
63
+ "$value": "12",
64
+ "$type": "dimension"
65
+ },
66
+ "xlarge": {
67
+ "$value": "16",
68
+ "$type": "dimension"
69
+ }
70
+ },
71
+ "level": {
72
+ "0": {
73
+ "offsetX": {
74
+ "cast": {
75
+ "$value": "{elevation.offset.none}",
76
+ "$type": "number"
77
+ },
78
+ "occlusion": {
79
+ "$value": "{elevation.offset.none}",
80
+ "$type": "number"
81
+ }
82
+ },
83
+ "offsetY": {
84
+ "cast": {
85
+ "$value": "{elevation.offset.none}",
86
+ "$type": "number"
87
+ },
88
+ "occlusion": {
89
+ "$value": "{elevation.offset.none}",
90
+ "$type": "number"
91
+ }
92
+ },
93
+ "blur": {
94
+ "cast": {
95
+ "$value": "{elevation.blur.none}",
96
+ "$type": "dimension"
97
+ },
98
+ "occlusion": {
99
+ "$value": "{elevation.blur.none}",
100
+ "$type": "dimension"
101
+ }
102
+ }
103
+ },
104
+ "1": {
105
+ "offsetX": {
106
+ "cast": {
107
+ "$value": "{elevation.offset.none}",
108
+ "$type": "number"
109
+ },
110
+ "occlusion": {
111
+ "$value": "{elevation.offset.none}",
112
+ "$type": "number"
113
+ }
114
+ },
115
+ "offsetY": {
116
+ "cast": {
117
+ "$value": "{elevation.offset.xsmall}",
118
+ "$type": "number"
119
+ },
120
+ "occlusion": {
121
+ "$value": "{elevation.offset.none}",
122
+ "$type": "number"
123
+ }
124
+ },
125
+ "blur": {
126
+ "cast": {
127
+ "$value": "{elevation.blur.xsmall}",
128
+ "$type": "dimension"
129
+ },
130
+ "occlusion": {
131
+ "$value": "{elevation.blur.small}",
132
+ "$type": "dimension"
133
+ }
134
+ }
135
+ },
136
+ "2": {
137
+ "offsetX": {
138
+ "cast": {
139
+ "$value": "{elevation.offset.none}",
140
+ "$type": "number"
141
+ },
142
+ "occlusion": {
143
+ "$value": "{elevation.offset.none}",
144
+ "$type": "number"
145
+ }
146
+ },
147
+ "offsetY": {
148
+ "cast": {
149
+ "$value": "{elevation.offset.small}",
150
+ "$type": "number"
151
+ },
152
+ "occlusion": {
153
+ "$value": "{elevation.offset.none}",
154
+ "$type": "number"
155
+ }
156
+ },
157
+ "blur": {
158
+ "cast": {
159
+ "$value": "{elevation.blur.small}",
160
+ "$type": "dimension"
161
+ },
162
+ "occlusion": {
163
+ "$value": "{elevation.blur.medium}",
164
+ "$type": "dimension"
165
+ }
166
+ }
167
+ },
168
+ "3": {
169
+ "offsetX": {
170
+ "cast": {
171
+ "$value": "{elevation.offset.none}",
172
+ "$type": "number"
173
+ },
174
+ "occlusion": {
175
+ "$value": "{elevation.offset.none}",
176
+ "$type": "number"
177
+ }
178
+ },
179
+ "offsetY": {
180
+ "cast": {
181
+ "$value": "{elevation.offset.medium}",
182
+ "$type": "number"
183
+ },
184
+ "occlusion": {
185
+ "$value": "{elevation.offset.none}",
186
+ "$type": "number"
187
+ }
188
+ },
189
+ "blur": {
190
+ "cast": {
191
+ "$value": "{elevation.blur.medium}",
192
+ "$type": "dimension"
193
+ },
194
+ "occlusion": {
195
+ "$value": "{elevation.blur.large}",
196
+ "$type": "dimension"
197
+ }
198
+ }
199
+ },
200
+ "4": {
201
+ "offsetX": {
202
+ "cast": {
203
+ "$value": "{elevation.offset.none}",
204
+ "$type": "number"
205
+ },
206
+ "occlusion": {
207
+ "$value": "{elevation.offset.none}",
208
+ "$type": "number"
209
+ }
210
+ },
211
+ "offsetY": {
212
+ "cast": {
213
+ "$value": "{elevation.offset.large}",
214
+ "$type": "number"
215
+ },
216
+ "occlusion": {
217
+ "$value": "{elevation.offset.none}",
218
+ "$type": "number"
219
+ }
220
+ },
221
+ "blur": {
222
+ "cast": {
223
+ "$value": "{elevation.blur.large}",
224
+ "$type": "dimension"
225
+ },
226
+ "occlusion": {
227
+ "$value": "{elevation.blur.xlarge}",
228
+ "$type": "dimension"
229
+ }
230
+ }
231
+ }
232
+ }
233
+ }
234
+ }
@@ -0,0 +1,120 @@
1
+ {
2
+ "grid": {
3
+ "breakpoint": {
4
+ "small": {
5
+ "main": {
6
+ "$value": "0",
7
+ "$type": "dimension"
8
+ },
9
+ "extra": {
10
+ "$value": "576",
11
+ "$type": "dimension"
12
+ }
13
+ },
14
+ "medium": {
15
+ "main": {
16
+ "$value": "992",
17
+ "$type": "dimension"
18
+ }
19
+ },
20
+ "large": {
21
+ "main": {
22
+ "$value": "1280",
23
+ "$type": "dimension"
24
+ },
25
+ "extra": {
26
+ "$value": "1600",
27
+ "$type": "dimension"
28
+ }
29
+ }
30
+ },
31
+ "gutter": {
32
+ "small": {
33
+ "compact": {
34
+ "$value": "{spacing.layout.01}",
35
+ "$type": "dimension"
36
+ },
37
+ "regular": {
38
+ "$value": "{spacing.layout.02}",
39
+ "$type": "dimension"
40
+ },
41
+ "spacious": {
42
+ "$value": "{spacing.layout.03}",
43
+ "$type": "dimension"
44
+ }
45
+ },
46
+ "medium": {
47
+ "compact": {
48
+ "$value": "{spacing.layout.02}",
49
+ "$type": "dimension"
50
+ },
51
+ "regular": {
52
+ "$value": "{spacing.layout.03}",
53
+ "$type": "dimension"
54
+ },
55
+ "spacious": {
56
+ "$value": "{spacing.layout.04}",
57
+ "$type": "dimension"
58
+ }
59
+ },
60
+ "large": {
61
+ "compact": {
62
+ "$value": "{spacing.layout.03}",
63
+ "$type": "dimension"
64
+ },
65
+ "regular": {
66
+ "$value": "{spacing.layout.04}",
67
+ "$type": "dimension"
68
+ },
69
+ "spacious": {
70
+ "$value": "{spacing.layout.05}",
71
+ "$type": "dimension"
72
+ }
73
+ }
74
+ },
75
+ "margin": {
76
+ "small": {
77
+ "compact": {
78
+ "$value": "{spacing.layout.01}",
79
+ "$type": "dimension"
80
+ },
81
+ "regular": {
82
+ "$value": "{spacing.layout.01}",
83
+ "$type": "dimension"
84
+ },
85
+ "spacious": {
86
+ "$value": "{spacing.layout.02}",
87
+ "$type": "dimension"
88
+ }
89
+ },
90
+ "medium": {
91
+ "compact": {
92
+ "$value": "{spacing.layout.03}",
93
+ "$type": "dimension"
94
+ },
95
+ "regular": {
96
+ "$value": "{spacing.layout.04}",
97
+ "$type": "dimension"
98
+ },
99
+ "spacious": {
100
+ "$value": "{spacing.layout.05}",
101
+ "$type": "dimension"
102
+ }
103
+ },
104
+ "large": {
105
+ "compact": {
106
+ "$value": "{spacing.layout.04}",
107
+ "$type": "dimension"
108
+ },
109
+ "regular": {
110
+ "$value": "{spacing.layout.05}",
111
+ "$type": "dimension"
112
+ },
113
+ "spacious": {
114
+ "$value": "{spacing.layout.10}",
115
+ "$type": "dimension"
116
+ }
117
+ }
118
+ }
119
+ }
120
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "guideline": {
3
+ "01": {
4
+ "$value": "{color.greenCool.10}",
5
+ "$type": "color"
6
+ },
7
+ "02": {
8
+ "$value": "{color.greenCool.20}",
9
+ "$type": "color"
10
+ },
11
+ "03": {
12
+ "$value": "{color.greenCool.40}",
13
+ "$type": "color"
14
+ },
15
+ "04": {
16
+ "$value": "{color.greenCool.60}",
17
+ "$type": "color"
18
+ },
19
+ "05": {
20
+ "$value": "{color.greenCool.80}",
21
+ "$type": "color"
22
+ }
23
+ }
24
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "guideline": {
3
+ "01": {
4
+ "$value": "{color.blueWarmVivid.10}",
5
+ "$type": "color"
6
+ },
7
+ "02": {
8
+ "$value": "{color.blueWarmVivid.30}",
9
+ "$type": "color"
10
+ },
11
+ "03": {
12
+ "$value": "{color.blueWarmVivid.50}",
13
+ "$type": "color"
14
+ },
15
+ "04": {
16
+ "$value": "{color.blueWarmVivid.70}",
17
+ "$type": "color"
18
+ },
19
+ "05": {
20
+ "$value": "{color.blueWarmVivid.80}",
21
+ "$type": "color"
22
+ }
23
+ }
24
+ }
@@ -0,0 +1,20 @@
1
+ {
2
+ "guideline": {
3
+ "bg-screen": {
4
+ "$value": "#E4E4E4",
5
+ "$type": "color"
6
+ },
7
+ "bg-cover": {
8
+ "$value": "{color.gray.2}",
9
+ "$type": "color"
10
+ },
11
+ "legend": {
12
+ "$value": "#FF3FB9",
13
+ "$type": "color"
14
+ },
15
+ "margem": {
16
+ "$value": "40",
17
+ "$type": "number"
18
+ }
19
+ }
20
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "Guidelines DS",
3
+ "collections": {
4
+ "Guideline": {
5
+ "modes": {
6
+ "Fundamento": ["geral.json", "fundamento.json"],
7
+ "Padrao": ["geral.json", "padrao.json"],
8
+ "Componente": ["geral.json", "componente.json"]
9
+ }
10
+ }
11
+ }
12
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "guideline": {
3
+ "01": {
4
+ "$value": "{color.yellowVivid.5}",
5
+ "$type": "color"
6
+ },
7
+ "02": {
8
+ "$value": "{color.yellowVivid.10}",
9
+ "$type": "color"
10
+ },
11
+ "03": {
12
+ "$value": "{color.yellowVivid.30}",
13
+ "$type": "color"
14
+ },
15
+ "04": {
16
+ "$value": "{color.yellowVivid.50}",
17
+ "$type": "color"
18
+ },
19
+ "05": {
20
+ "$value": "{color.yellowVivid.70}",
21
+ "$type": "color"
22
+ }
23
+ }
24
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "iconography": {
3
+ "fontFamily": {
4
+ "primary": {
5
+ "$value": "Font Awesome 6 Free",
6
+ "$type": "string"
7
+ },
8
+ "secondary": {
9
+ "$value": "Font Awesome 6 Brands",
10
+ "$type": "string"
11
+ }
12
+ }
13
+ }
14
+ }