@govbr-ds/tokens 4.0.0-next.10 → 4.0.0-next.12

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 (54) hide show
  1. package/README.md +82 -1
  2. package/dist/css/themes/dark.css +69 -80
  3. package/dist/css/themes/light.css +69 -80
  4. package/dist/css/tokens.css +303 -213
  5. package/dist/js/themes/dark.js +77 -80
  6. package/dist/js/themes/light.js +77 -80
  7. package/dist/js/tokens.js +257 -157
  8. package/dist/json/themes/dark.json +1338 -1538
  9. package/dist/json/themes/light.json +1338 -1538
  10. package/dist/json/tokens.json +8788 -5829
  11. package/dist/scss/themes/dark.scss +69 -80
  12. package/dist/scss/themes/light.scss +69 -80
  13. package/dist/scss/tokens.scss +303 -213
  14. package/dist/tokens-studio/tokens.json +5033 -0
  15. package/package.json +12 -8
  16. package/src/figma/{variables/base14.json → base14.json} +2 -6
  17. package/src/figma/{variables/color.json → color.json} +1 -1
  18. package/src/figma/component/base14.json +64 -0
  19. package/src/figma/component/icon.json +202 -0
  20. package/src/figma/component/manifest.json +18 -0
  21. package/src/figma/{variables/component → component}/text.json +21 -11
  22. package/src/figma/dark.json +352 -0
  23. package/src/figma/{variables/elevation.json → elevation.json} +29 -27
  24. package/src/figma/{variables/grid.json → grid.json} +6 -6
  25. package/src/figma/{variables/guideline → guideline}/componente.json +1 -1
  26. package/src/figma/{variables/guideline → guideline}/fundamento.json +1 -1
  27. package/src/figma/{variables/guideline → guideline}/geral.json +1 -1
  28. package/src/figma/guideline/manifest.json +12 -0
  29. package/src/figma/{variables/guideline → guideline}/padrao.json +1 -1
  30. package/src/figma/iconography.json +348 -0
  31. package/src/figma/light.json +352 -0
  32. package/src/figma/{variables/manifest.json → manifest.json} +9 -0
  33. package/src/figma/{variables/motion.json → motion.json} +1 -1
  34. package/src/figma/pattern/form.json +16 -0
  35. package/src/figma/{variables/pattern → pattern}/manifest.json +2 -4
  36. package/src/figma/pattern/skeleton.json +52 -0
  37. package/src/figma/{variables/spacing.json → spacing.json} +1 -1
  38. package/src/figma/state.json +232 -0
  39. package/src/figma/{variables/surface.json → surface.json} +20 -24
  40. package/src/figma/{variables/typography.json → typography.json} +7 -19
  41. package/src/temp/component.json +406 -0
  42. package/src/temp/core.json +3851 -0
  43. package/src/temp/dark.json +352 -0
  44. package/src/temp/light.json +352 -0
  45. package/src/temp/pattern.json +70 -0
  46. package/src/tokens.json +5033 -0
  47. package/src/figma/tokens.json +0 -4465
  48. package/src/figma/variables/component/manifest.json +0 -12
  49. package/src/figma/variables/dark.json +0 -314
  50. package/src/figma/variables/guideline/manifest.json +0 -21
  51. package/src/figma/variables/iconography.json +0 -14
  52. package/src/figma/variables/light.json +0 -314
  53. package/src/figma/variables/pattern/skeleton.json +0 -52
  54. package/src/figma/variables/state.json +0 -238
@@ -0,0 +1,352 @@
1
+ {
2
+ "elevation": {
3
+ "opacity": {
4
+ "shadow": {
5
+ "$type": "opacity",
6
+ "$value": "{elevation.opacity.dim}"
7
+ }
8
+ },
9
+ "color": {
10
+ "shadow": {
11
+ "$type": "color",
12
+ "$value": "rgba({elevation.color.default},{elevation.opacity.shadow})"
13
+ }
14
+ }
15
+ },
16
+ "color": {
17
+ "read": {
18
+ "main": {
19
+ "base": {
20
+ "$type": "color",
21
+ "$value": "{color.gray.1}"
22
+ },
23
+ "alternative": {
24
+ "$type": "color",
25
+ "$value": "{color.gray.20}"
26
+ }
27
+ },
28
+ "contrast": {
29
+ "base": {
30
+ "$type": "color",
31
+ "$value": "{color.read.main.base}"
32
+ },
33
+ "alternative": {
34
+ "$type": "color",
35
+ "$value": "{color.read.main.alternative}"
36
+ }
37
+ }
38
+ },
39
+ "surface": {
40
+ "main": {
41
+ "base": {
42
+ "$type": "color",
43
+ "$value": "{color.grayCool.80}"
44
+ },
45
+ "alternative": {
46
+ "$type": "color",
47
+ "$value": "{color.grayCool.90}"
48
+ }
49
+ },
50
+ "contrast": {
51
+ "base": {
52
+ "$type": "color",
53
+ "$value": "{color.surface.main.base}"
54
+ },
55
+ "alternative": {
56
+ "$type": "color",
57
+ "$value": "{color.surface.main.alternative}"
58
+ }
59
+ }
60
+ },
61
+ "border": {
62
+ "base": {
63
+ "$type": "color",
64
+ "$value": "{color.gray.70}"
65
+ },
66
+ "alternative": {
67
+ "$type": "color",
68
+ "$value": "{color.gray.50}"
69
+ }
70
+ }
71
+ },
72
+ "state": {
73
+ "interactive": {
74
+ "color": {
75
+ "main": {
76
+ "$type": "color",
77
+ "$value": "{color.blueWarmVivid.30}"
78
+ },
79
+ "contrast": {
80
+ "$type": "color",
81
+ "$value": "{state.interactive.color.main}"
82
+ },
83
+ "read": {
84
+ "main": {
85
+ "$type": "color",
86
+ "$value": "{color.pure.100}"
87
+ },
88
+ "contrast": {
89
+ "$type": "color",
90
+ "$value": "{state.interactive.color.read.main}"
91
+ }
92
+ }
93
+ }
94
+ },
95
+ "cta": {
96
+ "color": {
97
+ "main": {
98
+ "$type": "color",
99
+ "$value": "{color.greenCoolVivid.30}"
100
+ },
101
+ "contrast": {
102
+ "$type": "color",
103
+ "$value": "{state.cta.color.main}"
104
+ },
105
+ "read": {
106
+ "main": {
107
+ "$type": "color",
108
+ "$value": "{color.pure.100}"
109
+ },
110
+ "contrast": {
111
+ "$type": "color",
112
+ "$value": "{state.cta.color.read.main}"
113
+ }
114
+ }
115
+ }
116
+ },
117
+ "disabled": {
118
+ "color": {
119
+ "main": {
120
+ "$type": "color",
121
+ "$value": "{color.grayCool.30}"
122
+ },
123
+ "contrast": {
124
+ "$type": "color",
125
+ "$value": "{state.disabled.color.main}"
126
+ }
127
+ }
128
+ },
129
+ "visited": {
130
+ "color": {
131
+ "main": {
132
+ "$type": "color",
133
+ "$value": "{color.blueWarm.30}"
134
+ },
135
+ "contrast": {
136
+ "$type": "color",
137
+ "$value": "{state.visited.color.main}"
138
+ }
139
+ }
140
+ },
141
+ "hover": {
142
+ "color": {
143
+ "bright": {
144
+ "$type": "color",
145
+ "$value": "rgba({color.blueWarmVivid.10}, {state.hover.opacity.bright})"
146
+ },
147
+ "dim": {
148
+ "$type": "color",
149
+ "$value": "rgba({color.blueWarmVivid.80}, {state.hover.opacity.dim})"
150
+ },
151
+ "main": {
152
+ "read": {
153
+ "$type": "color",
154
+ "$value": "{state.hover.color.dim}"
155
+ },
156
+ "surface": {
157
+ "$type": "color",
158
+ "$value": "{state.hover.color.bright}"
159
+ }
160
+ },
161
+ "contrast": {
162
+ "read": {
163
+ "$type": "color",
164
+ "$value": "{state.hover.color.main.read}"
165
+ },
166
+ "surface": {
167
+ "$type": "color",
168
+ "$value": "{state.hover.color.main.surface}"
169
+ }
170
+ }
171
+ }
172
+ },
173
+ "focus": {
174
+ "color": {
175
+ "main": {
176
+ "$type": "color",
177
+ "$value": "{color.orangeVivid.30}"
178
+ },
179
+ "contrast": {
180
+ "$type": "color",
181
+ "$value": "{state.focus.color.main}"
182
+ }
183
+ }
184
+ },
185
+ "active": {
186
+ "color": {
187
+ "main": {
188
+ "$type": "color",
189
+ "$value": "{color.blueWarmVivid.40}"
190
+ },
191
+ "contrast": {
192
+ "$type": "color",
193
+ "$value": "{state.active.color.main}"
194
+ },
195
+ "read": {
196
+ "main": {
197
+ "$type": "color",
198
+ "$value": "{color.pure.100}"
199
+ },
200
+ "contrast": {
201
+ "$type": "color",
202
+ "$value": "{state.active.color.read.main}"
203
+ }
204
+ }
205
+ }
206
+ },
207
+ "selected": {
208
+ "color": {
209
+ "main": {
210
+ "$type": "color",
211
+ "$value": "{color.blueWarmVivid.20}"
212
+ },
213
+ "contrast": {
214
+ "$type": "color",
215
+ "$value": "{state.selected.color.main}"
216
+ },
217
+ "read": {
218
+ "main": {
219
+ "$type": "color",
220
+ "$value": "{color.pure.100}"
221
+ },
222
+ "contrast": {
223
+ "$type": "color",
224
+ "$value": "{state.selected.color.read.main}"
225
+ }
226
+ }
227
+ }
228
+ },
229
+ "grabbing": {
230
+ "color": {
231
+ "main": {
232
+ "$type": "color",
233
+ "$value": "{state.interactive.color.main}"
234
+ },
235
+ "contrast": {
236
+ "$type": "color",
237
+ "$value": "{state.interactive.color.contrast}"
238
+ }
239
+ }
240
+ },
241
+ "dropzone": {
242
+ "color": {
243
+ "main": {
244
+ "$type": "color",
245
+ "$value": "{state.interactive.color.main}"
246
+ },
247
+ "contrast": {
248
+ "$type": "color",
249
+ "$value": "{state.interactive.color.contrast}"
250
+ }
251
+ }
252
+ },
253
+ "dropzoneActive": {
254
+ "color": {
255
+ "main": {
256
+ "$type": "color",
257
+ "$value": "{state.interactive.color.main}"
258
+ },
259
+ "contrast": {
260
+ "$type": "color",
261
+ "$value": "{state.interactive.color.contrast}"
262
+ }
263
+ }
264
+ },
265
+ "on": {
266
+ "color": {
267
+ "main": {
268
+ "$type": "color",
269
+ "$value": "{color.blueWarmVivid.60}"
270
+ },
271
+ "contrast": {
272
+ "$type": "color",
273
+ "$value": "{state.on.color.main}"
274
+ },
275
+ "read": {
276
+ "main": {
277
+ "$type": "color",
278
+ "$value": "{color.pure.0}"
279
+ },
280
+ "contrast": {
281
+ "$type": "color",
282
+ "$value": "{state.on.color.read.main}"
283
+ }
284
+ }
285
+ }
286
+ },
287
+ "off": {
288
+ "color": {
289
+ "main": {
290
+ "$type": "color",
291
+ "$value": "{color.gray.60}"
292
+ },
293
+ "contrast": {
294
+ "$type": "color",
295
+ "$value": "{state.off.color.main}"
296
+ },
297
+ "read": {
298
+ "main": {
299
+ "$type": "color",
300
+ "$value": "{color.pure.0}"
301
+ },
302
+ "contrast": {
303
+ "$type": "color",
304
+ "$value": "{state.off.color.read.main}"
305
+ }
306
+ }
307
+ }
308
+ },
309
+ "success": {
310
+ "color": {
311
+ "main": {
312
+ "$type": "color",
313
+ "$value": "{color.greenVivid.50}"
314
+ },
315
+ "read": {
316
+ "main": {
317
+ "$type": "color",
318
+ "$value": "{color.pure.0}"
319
+ }
320
+ }
321
+ }
322
+ },
323
+ "alert": {
324
+ "color": {
325
+ "main": {
326
+ "$type": "color",
327
+ "$value": "{color.yellowVivid.20}"
328
+ },
329
+ "read": {
330
+ "main": {
331
+ "$type": "color",
332
+ "$value": "{color.pure.100}"
333
+ }
334
+ }
335
+ }
336
+ },
337
+ "error": {
338
+ "color": {
339
+ "main": {
340
+ "$type": "color",
341
+ "$value": "{color.redVivid.50}"
342
+ },
343
+ "read": {
344
+ "main": {
345
+ "$type": "color",
346
+ "$value": "{color.pure.0}"
347
+ }
348
+ }
349
+ }
350
+ }
351
+ }
352
+ }
@@ -0,0 +1,352 @@
1
+ {
2
+ "elevation": {
3
+ "opacity": {
4
+ "shadow": {
5
+ "$type": "opacity",
6
+ "$value": "{elevation.opacity.bright}"
7
+ }
8
+ },
9
+ "color": {
10
+ "shadow": {
11
+ "$type": "color",
12
+ "$value": "rgba({elevation.color.default},{elevation.opacity.shadow})"
13
+ }
14
+ }
15
+ },
16
+ "color": {
17
+ "read": {
18
+ "main": {
19
+ "base": {
20
+ "$type": "color",
21
+ "$value": "{color.gray.90}"
22
+ },
23
+ "alternative": {
24
+ "$type": "color",
25
+ "$value": "{color.gray.60}"
26
+ }
27
+ },
28
+ "contrast": {
29
+ "base": {
30
+ "$type": "color",
31
+ "$value": "{color.gray.1}"
32
+ },
33
+ "alternative": {
34
+ "$type": "color",
35
+ "$value": "{color.gray.20}"
36
+ }
37
+ }
38
+ },
39
+ "surface": {
40
+ "main": {
41
+ "base": {
42
+ "$type": "color",
43
+ "$value": "{color.gray.1}"
44
+ },
45
+ "alternative": {
46
+ "$type": "color",
47
+ "$value": "{color.gray.5}"
48
+ }
49
+ },
50
+ "contrast": {
51
+ "base": {
52
+ "$type": "color",
53
+ "$value": "{color.blueWarm.80}"
54
+ },
55
+ "alternative": {
56
+ "$type": "color",
57
+ "$value": "{color.blueWarm.70}"
58
+ }
59
+ }
60
+ },
61
+ "border": {
62
+ "base": {
63
+ "$type": "color",
64
+ "$value": "{color.gray.20}"
65
+ },
66
+ "alternative": {
67
+ "$type": "color",
68
+ "$value": "{color.gray.40}"
69
+ }
70
+ }
71
+ },
72
+ "state": {
73
+ "interactive": {
74
+ "color": {
75
+ "main": {
76
+ "$type": "color",
77
+ "$value": "{color.blueWarmVivid.70}"
78
+ },
79
+ "contrast": {
80
+ "$type": "color",
81
+ "$value": "{color.blueWarmVivid.20}"
82
+ },
83
+ "read": {
84
+ "main": {
85
+ "$type": "color",
86
+ "$value": "{color.pure.0}"
87
+ },
88
+ "contrast": {
89
+ "$type": "color",
90
+ "$value": "{color.pure.100}"
91
+ }
92
+ }
93
+ }
94
+ },
95
+ "cta": {
96
+ "color": {
97
+ "main": {
98
+ "$type": "color",
99
+ "$value": "{color.greenCoolVivid.60}"
100
+ },
101
+ "contrast": {
102
+ "$type": "color",
103
+ "$value": "{color.greenCoolVivid.20}"
104
+ },
105
+ "read": {
106
+ "main": {
107
+ "$type": "color",
108
+ "$value": "{color.pure.0}"
109
+ },
110
+ "contrast": {
111
+ "$type": "color",
112
+ "$value": "{color.pure.100}"
113
+ }
114
+ }
115
+ }
116
+ },
117
+ "disabled": {
118
+ "color": {
119
+ "main": {
120
+ "$type": "color",
121
+ "$value": "{color.gray.70}"
122
+ },
123
+ "contrast": {
124
+ "$type": "color",
125
+ "$value": "{color.gray.20}"
126
+ }
127
+ }
128
+ },
129
+ "visited": {
130
+ "color": {
131
+ "main": {
132
+ "$type": "color",
133
+ "$value": "{color.blueWarm.70}"
134
+ },
135
+ "contrast": {
136
+ "$type": "color",
137
+ "$value": "{color.blueWarm.20}"
138
+ }
139
+ }
140
+ },
141
+ "hover": {
142
+ "color": {
143
+ "bright": {
144
+ "$type": "color",
145
+ "$value": "rgba({color.blueWarmVivid.10}, {state.hover.opacity.bright})"
146
+ },
147
+ "dim": {
148
+ "$type": "color",
149
+ "$value": "rgba({color.blueWarmVivid.80}, {state.hover.opacity.dim})"
150
+ },
151
+ "main": {
152
+ "read": {
153
+ "$type": "color",
154
+ "$value": "{state.hover.color.bright}"
155
+ },
156
+ "surface": {
157
+ "$type": "color",
158
+ "$value": "{state.hover.color.dim}"
159
+ }
160
+ },
161
+ "contrast": {
162
+ "read": {
163
+ "$type": "color",
164
+ "$value": "{state.hover.color.dim}"
165
+ },
166
+ "surface": {
167
+ "$type": "color",
168
+ "$value": "{state.hover.color.bright}"
169
+ }
170
+ }
171
+ }
172
+ },
173
+ "focus": {
174
+ "color": {
175
+ "main": {
176
+ "$type": "color",
177
+ "$value": "{color.orangeVivid.40}"
178
+ },
179
+ "contrast": {
180
+ "$type": "color",
181
+ "$value": "{color.orangeVivid.30}"
182
+ }
183
+ }
184
+ },
185
+ "active": {
186
+ "color": {
187
+ "main": {
188
+ "$type": "color",
189
+ "$value": "{color.blueWarmVivid.80}"
190
+ },
191
+ "contrast": {
192
+ "$type": "color",
193
+ "$value": "{color.blueWarmVivid.30}"
194
+ },
195
+ "read": {
196
+ "main": {
197
+ "$type": "color",
198
+ "$value": "{color.pure.0}"
199
+ },
200
+ "contrast": {
201
+ "$type": "color",
202
+ "$value": "{color.pure.100}"
203
+ }
204
+ }
205
+ }
206
+ },
207
+ "selected": {
208
+ "color": {
209
+ "main": {
210
+ "$type": "color",
211
+ "$value": "{color.blueWarmVivid.50}"
212
+ },
213
+ "contrast": {
214
+ "$type": "color",
215
+ "$value": "{color.blueWarmVivid.40}"
216
+ },
217
+ "read": {
218
+ "main": {
219
+ "$type": "color",
220
+ "$value": "{color.pure.0}"
221
+ },
222
+ "contrast": {
223
+ "$type": "color",
224
+ "$value": "{color.pure.100}"
225
+ }
226
+ }
227
+ }
228
+ },
229
+ "grabbing": {
230
+ "color": {
231
+ "main": {
232
+ "$type": "color",
233
+ "$value": "{state.interactive.color.main}"
234
+ },
235
+ "contrast": {
236
+ "$type": "color",
237
+ "$value": "{state.interactive.color.contrast}"
238
+ }
239
+ }
240
+ },
241
+ "dropzone": {
242
+ "color": {
243
+ "main": {
244
+ "$type": "color",
245
+ "$value": "{state.interactive.color.main}"
246
+ },
247
+ "contrast": {
248
+ "$type": "color",
249
+ "$value": "{state.interactive.color.contrast}"
250
+ }
251
+ }
252
+ },
253
+ "dropzoneActive": {
254
+ "color": {
255
+ "main": {
256
+ "$type": "color",
257
+ "$value": "{state.interactive.color.main}"
258
+ },
259
+ "contrast": {
260
+ "$type": "color",
261
+ "$value": "{state.interactive.color.contrast}"
262
+ }
263
+ }
264
+ },
265
+ "on": {
266
+ "color": {
267
+ "main": {
268
+ "$type": "color",
269
+ "$value": "{color.blueWarmVivid.40}"
270
+ },
271
+ "contrast": {
272
+ "$type": "color",
273
+ "$value": "{color.blueWarmVivid.50}"
274
+ },
275
+ "read": {
276
+ "main": {
277
+ "$type": "color",
278
+ "$value": "{color.pure.100}"
279
+ },
280
+ "contrast": {
281
+ "$type": "color",
282
+ "$value": "{color.pure.0}"
283
+ }
284
+ }
285
+ }
286
+ },
287
+ "off": {
288
+ "color": {
289
+ "main": {
290
+ "$type": "color",
291
+ "$value": "{color.gray.40}"
292
+ },
293
+ "contrast": {
294
+ "$type": "color",
295
+ "$value": "{color.gray.50}"
296
+ },
297
+ "read": {
298
+ "main": {
299
+ "$type": "color",
300
+ "$value": "{color.pure.100}"
301
+ },
302
+ "contrast": {
303
+ "$type": "color",
304
+ "$value": "{color.pure.0}"
305
+ }
306
+ }
307
+ }
308
+ },
309
+ "success": {
310
+ "color": {
311
+ "main": {
312
+ "$type": "color",
313
+ "$value": "{color.greenVivid.50}"
314
+ },
315
+ "read": {
316
+ "main": {
317
+ "$type": "color",
318
+ "$value": "{color.pure.0}"
319
+ }
320
+ }
321
+ }
322
+ },
323
+ "alert": {
324
+ "color": {
325
+ "main": {
326
+ "$type": "color",
327
+ "$value": "{color.yellowVivid.20}"
328
+ },
329
+ "read": {
330
+ "main": {
331
+ "$type": "color",
332
+ "$value": "{color.pure.100}"
333
+ }
334
+ }
335
+ }
336
+ },
337
+ "error": {
338
+ "color": {
339
+ "main": {
340
+ "$type": "color",
341
+ "$value": "{color.redVivid.50}"
342
+ },
343
+ "read": {
344
+ "main": {
345
+ "$type": "color",
346
+ "$value": "{color.pure.0}"
347
+ }
348
+ }
349
+ }
350
+ }
351
+ }
352
+ }