@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,348 @@
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
+ "name": {
14
+ "action": {
15
+ "adicionar": {
16
+ "$type": "string",
17
+ "$value": "plus"
18
+ },
19
+ "anexar": {
20
+ "$type": "string",
21
+ "$value": "paperclip"
22
+ },
23
+ "atualizar": {
24
+ "$type": "string",
25
+ "$value": "sync"
26
+ },
27
+ "compartilhar": {
28
+ "$type": "string",
29
+ "$value": "share-nodes"
30
+ },
31
+ "confirmar": {
32
+ "$type": "string",
33
+ "$value": "check"
34
+ },
35
+ "contraste": {
36
+ "$type": "string",
37
+ "$value": "adjust"
38
+ },
39
+ "copiar": {
40
+ "$type": "string",
41
+ "$value": "copy"
42
+ },
43
+ "cortar": {
44
+ "$type": "string",
45
+ "$value": "cut"
46
+ },
47
+ "download": {
48
+ "$type": "string",
49
+ "$value": "download"
50
+ },
51
+ "editar": {
52
+ "$type": "string",
53
+ "$value": "edit"
54
+ },
55
+ "enviar": {
56
+ "$type": "string",
57
+ "$value": "share"
58
+ },
59
+ "excluir": {
60
+ "$type": "string",
61
+ "$value": "trash-alt"
62
+ },
63
+ "exportar": {
64
+ "$type": "string",
65
+ "$value": "share-square"
66
+ },
67
+ "fechar": {
68
+ "$type": "string",
69
+ "$value": "times"
70
+ },
71
+ "filtrar": {
72
+ "$type": "string",
73
+ "$value": "filter"
74
+ },
75
+ "imprimir": {
76
+ "$type": "string",
77
+ "$value": "print"
78
+ },
79
+ "imagem": {
80
+ "$type": "string",
81
+ "$value": "image"
82
+ },
83
+ "limpar": {
84
+ "$type": "string",
85
+ "$value": "eraser"
86
+ },
87
+ "naovisualizar": {
88
+ "$type": "string",
89
+ "$value": "eye-slash"
90
+ },
91
+ "pesquisar": {
92
+ "$type": "string",
93
+ "$value": "search"
94
+ },
95
+ "subtrair": {
96
+ "$type": "string",
97
+ "$value": "minus"
98
+ },
99
+ "upload": {
100
+ "$type": "string",
101
+ "$value": "upload"
102
+ },
103
+ "visualizar": {
104
+ "$type": "string",
105
+ "$value": "eye"
106
+ }
107
+ },
108
+ "navigation": {
109
+ "avancar": {
110
+ "$type": "string",
111
+ "$value": "circle-right"
112
+ },
113
+ "collapsebaixo": {
114
+ "$type": "string",
115
+ "$value": "chevron-down"
116
+ },
117
+ "collapsecima": {
118
+ "$type": "string",
119
+ "$value": "chevron-up"
120
+ },
121
+ "collapsedireita": {
122
+ "$type": "string",
123
+ "$value": "chevron-right"
124
+ },
125
+ "collapseesquerda": {
126
+ "$type": "string",
127
+ "$value": "chevron-left"
128
+ },
129
+ "configurar": {
130
+ "$type": "string",
131
+ "$value": "sliders-h"
132
+ },
133
+ "data": {
134
+ "$type": "string",
135
+ "$value": "calendar-alt"
136
+ },
137
+ "diretorio": {
138
+ "$type": "string",
139
+ "$value": "folder"
140
+ },
141
+ "dropdownexibir": {
142
+ "$type": "string",
143
+ "$value": "caret-down"
144
+ },
145
+ "dropdownexibirh": {
146
+ "$type": "string",
147
+ "$value": "caret-right"
148
+ },
149
+ "dropdownfechar": {
150
+ "$type": "string",
151
+ "$value": "caret-up"
152
+ },
153
+ "dropdownfecharh": {
154
+ "$type": "string",
155
+ "$value": "caret-left"
156
+ },
157
+ "hiperlinkexterno": {
158
+ "$type": "string",
159
+ "$value": "up-right-from-square"
160
+ },
161
+ "inicial": {
162
+ "$type": "string",
163
+ "$value": "home"
164
+ },
165
+ "menu": {
166
+ "$type": "string",
167
+ "$value": "bars"
168
+ },
169
+ "opcoes": {
170
+ "$type": "string",
171
+ "$value": "ellipsis-v"
172
+ },
173
+ "usuario": {
174
+ "$type": "string",
175
+ "$value": "user"
176
+ },
177
+ "voltar": {
178
+ "$type": "string",
179
+ "$value": "circle-left"
180
+ }
181
+ },
182
+ "feedback": {
183
+ "ajuda": {
184
+ "$type": "string",
185
+ "$value": "question-circle"
186
+ },
187
+ "alerta": {
188
+ "$type": "string",
189
+ "$value": "exclamation-triangle"
190
+ },
191
+ "arrastavel": {
192
+ "$type": "string",
193
+ "$value": "grip-vertical"
194
+ },
195
+ "audioativado": {
196
+ "$type": "string",
197
+ "$value": "volume-up"
198
+ },
199
+ "audiodesativado": {
200
+ "$type": "string",
201
+ "$value": "volume-mute"
202
+ },
203
+ "bloquear": {
204
+ "$type": "string",
205
+ "$value": "lock"
206
+ },
207
+ "densidadealta": {
208
+ "$type": "string",
209
+ "$value": "table-cells"
210
+ },
211
+ "densidadebaixa": {
212
+ "$type": "string",
213
+ "$value": "table-cells-large"
214
+ },
215
+ "desbloquear": {
216
+ "$type": "string",
217
+ "$value": "unlock"
218
+ },
219
+ "diretorioaberto": {
220
+ "$type": "string",
221
+ "$value": "folder-open"
222
+ },
223
+ "erro": {
224
+ "$type": "string",
225
+ "$value": "times-circle"
226
+ },
227
+ "horario": {
228
+ "$type": "string",
229
+ "$value": "clock"
230
+ },
231
+ "informativo": {
232
+ "$type": "string",
233
+ "$value": "info-circle"
234
+ },
235
+ "libras": {
236
+ "$type": "string",
237
+ "$value": "sign-language"
238
+ },
239
+ "mensagem": {
240
+ "$type": "string",
241
+ "$value": "envelope"
242
+ },
243
+ "mensagemlida": {
244
+ "$type": "string",
245
+ "$value": "envelope-open"
246
+ },
247
+ "notificacoes": {
248
+ "$type": "string",
249
+ "$value": "bell"
250
+ },
251
+ "notificacoesdesligadas": {
252
+ "$type": "string",
253
+ "$value": "bell-slash"
254
+ },
255
+ "ordemcrescente": {
256
+ "$type": "string",
257
+ "$value": "sort-up"
258
+ },
259
+ "ordemdecrescente": {
260
+ "$type": "string",
261
+ "$value": "sort-down"
262
+ },
263
+ "ordempadrao": {
264
+ "$type": "string",
265
+ "$value": "sort"
266
+ },
267
+ "selecionado": {
268
+ "$type": "string",
269
+ "$value": "check"
270
+ },
271
+ "sucesso": {
272
+ "$type": "string",
273
+ "$value": "check-circle"
274
+ }
275
+ },
276
+ "brand": {
277
+ "angular": {
278
+ "$type": "string",
279
+ "$value": "angular"
280
+ },
281
+ "codepen": {
282
+ "$type": "string",
283
+ "$value": "codepen"
284
+ },
285
+ "creativecommons": {
286
+ "$type": "string",
287
+ "$value": "creative-commons"
288
+ },
289
+ "css": {
290
+ "$type": "string",
291
+ "$value": "css3-alt"
292
+ },
293
+ "discord": {
294
+ "$type": "string",
295
+ "$value": "discord"
296
+ },
297
+ "facebook": {
298
+ "$type": "string",
299
+ "$value": "facebook"
300
+ },
301
+ "figma": {
302
+ "$type": "string",
303
+ "$value": "figma"
304
+ },
305
+ "fontawesome": {
306
+ "$type": "string",
307
+ "$value": "font-awesome"
308
+ },
309
+ "github": {
310
+ "$type": "string",
311
+ "$value": "github"
312
+ },
313
+ "gitlab": {
314
+ "$type": "string",
315
+ "$value": "gitlab"
316
+ },
317
+ "html": {
318
+ "$type": "string",
319
+ "$value": "html5"
320
+ },
321
+ "javascript": {
322
+ "$type": "string",
323
+ "$value": "js"
324
+ },
325
+ "linkedin": {
326
+ "$type": "string",
327
+ "$value": "linkedin"
328
+ },
329
+ "npm": {
330
+ "$type": "string",
331
+ "$value": "npm"
332
+ },
333
+ "react": {
334
+ "$type": "string",
335
+ "$value": "react"
336
+ },
337
+ "vue": {
338
+ "$type": "string",
339
+ "$value": "vuejs"
340
+ },
341
+ "youtube": {
342
+ "$type": "string",
343
+ "$value": "youtube"
344
+ }
345
+ }
346
+ }
347
+ }
348
+ }
@@ -0,0 +1,352 @@
1
+ {
2
+ "elevation": {
3
+ "opacity": {
4
+ "shadow": {
5
+ "$value": "{elevation.opacity.bright}",
6
+ "$type": "number"
7
+ }
8
+ },
9
+ "color": {
10
+ "shadow": {
11
+ "$value": "#00000033",
12
+ "$type": "color"
13
+ }
14
+ }
15
+ },
16
+ "color": {
17
+ "read": {
18
+ "main": {
19
+ "base": {
20
+ "$value": "{color.gray.90}",
21
+ "$type": "color"
22
+ },
23
+ "alternative": {
24
+ "$value": "{color.gray.60}",
25
+ "$type": "color"
26
+ }
27
+ },
28
+ "contrast": {
29
+ "base": {
30
+ "$value": "{color.gray.1}",
31
+ "$type": "color"
32
+ },
33
+ "alternative": {
34
+ "$value": "{color.gray.20}",
35
+ "$type": "color"
36
+ }
37
+ }
38
+ },
39
+ "surface": {
40
+ "main": {
41
+ "base": {
42
+ "$value": "{color.gray.1}",
43
+ "$type": "color"
44
+ },
45
+ "alternative": {
46
+ "$value": "{color.gray.5}",
47
+ "$type": "color"
48
+ }
49
+ },
50
+ "contrast": {
51
+ "base": {
52
+ "$value": "{color.blueWarm.80}",
53
+ "$type": "color"
54
+ },
55
+ "alternative": {
56
+ "$value": "{color.blueWarm.70}",
57
+ "$type": "color"
58
+ }
59
+ }
60
+ },
61
+ "border": {
62
+ "base": {
63
+ "$value": "{color.gray.20}",
64
+ "$type": "color"
65
+ },
66
+ "alternative": {
67
+ "$value": "{color.gray.40}",
68
+ "$type": "color"
69
+ }
70
+ }
71
+ },
72
+ "state": {
73
+ "interactive": {
74
+ "color": {
75
+ "main": {
76
+ "$value": "{color.blueWarmVivid.70}",
77
+ "$type": "color"
78
+ },
79
+ "contrast": {
80
+ "$value": "{color.blueWarmVivid.20}",
81
+ "$type": "color"
82
+ },
83
+ "read": {
84
+ "main": {
85
+ "$value": "{color.pure.0}",
86
+ "$type": "color"
87
+ },
88
+ "contrast": {
89
+ "$value": "{color.pure.100}",
90
+ "$type": "color"
91
+ }
92
+ }
93
+ }
94
+ },
95
+ "cta": {
96
+ "color": {
97
+ "main": {
98
+ "$value": "{color.greenCoolVivid.60}",
99
+ "$type": "color"
100
+ },
101
+ "contrast": {
102
+ "$value": "{color.greenCoolVivid.20}",
103
+ "$type": "color"
104
+ },
105
+ "read": {
106
+ "main": {
107
+ "$value": "{color.pure.0}",
108
+ "$type": "color"
109
+ },
110
+ "contrast": {
111
+ "$value": "{color.pure.100}",
112
+ "$type": "color"
113
+ }
114
+ }
115
+ }
116
+ },
117
+ "disabled": {
118
+ "color": {
119
+ "main": {
120
+ "$value": "{color.gray.70}",
121
+ "$type": "color"
122
+ },
123
+ "contrast": {
124
+ "$value": "{color.gray.20}",
125
+ "$type": "color"
126
+ }
127
+ }
128
+ },
129
+ "visited": {
130
+ "color": {
131
+ "main": {
132
+ "$value": "{color.blueWarm.70}",
133
+ "$type": "color"
134
+ },
135
+ "contrast": {
136
+ "$value": "{color.blueWarm.20}",
137
+ "$type": "color"
138
+ }
139
+ }
140
+ },
141
+ "hover": {
142
+ "color": {
143
+ "bright": {
144
+ "$value": "#D4E5FF80",
145
+ "$type": "color"
146
+ },
147
+ "dim": {
148
+ "$value": "#0C326F99",
149
+ "$type": "color"
150
+ },
151
+ "main": {
152
+ "read": {
153
+ "$value": "{state.hover.color.bright}",
154
+ "$type": "color"
155
+ },
156
+ "surface": {
157
+ "$value": "{state.hover.color.dim}",
158
+ "$type": "color"
159
+ }
160
+ },
161
+ "contrast": {
162
+ "read": {
163
+ "$value": "{state.hover.color.dim}",
164
+ "$type": "color"
165
+ },
166
+ "surface": {
167
+ "$value": "{state.hover.color.bright}",
168
+ "$type": "color"
169
+ }
170
+ }
171
+ }
172
+ },
173
+ "focus": {
174
+ "color": {
175
+ "main": {
176
+ "$value": "{color.orangeVivid.40}",
177
+ "$type": "color"
178
+ },
179
+ "contrast": {
180
+ "$value": "{color.orangeVivid.30}",
181
+ "$type": "color"
182
+ }
183
+ }
184
+ },
185
+ "active": {
186
+ "color": {
187
+ "main": {
188
+ "$value": "{color.blueWarmVivid.80}",
189
+ "$type": "color"
190
+ },
191
+ "contrast": {
192
+ "$value": "{color.blueWarmVivid.30}",
193
+ "$type": "color"
194
+ },
195
+ "read": {
196
+ "main": {
197
+ "$value": "{color.pure.0}",
198
+ "$type": "color"
199
+ },
200
+ "contrast": {
201
+ "$value": "{color.pure.100}",
202
+ "$type": "color"
203
+ }
204
+ }
205
+ }
206
+ },
207
+ "selected": {
208
+ "color": {
209
+ "main": {
210
+ "$value": "{color.blueWarmVivid.50}",
211
+ "$type": "color"
212
+ },
213
+ "contrast": {
214
+ "$value": "{color.blueWarmVivid.40}",
215
+ "$type": "color"
216
+ },
217
+ "read": {
218
+ "main": {
219
+ "$value": "{color.pure.0}",
220
+ "$type": "color"
221
+ },
222
+ "contrast": {
223
+ "$value": "{color.pure.100}",
224
+ "$type": "color"
225
+ }
226
+ }
227
+ }
228
+ },
229
+ "grabbing": {
230
+ "color": {
231
+ "main": {
232
+ "$value": "{state.interactive.color.main}",
233
+ "$type": "color"
234
+ },
235
+ "contrast": {
236
+ "$value": "{state.interactive.color.contrast}",
237
+ "$type": "color"
238
+ }
239
+ }
240
+ },
241
+ "dropzone": {
242
+ "color": {
243
+ "main": {
244
+ "$value": "{state.interactive.color.main}",
245
+ "$type": "color"
246
+ },
247
+ "contrast": {
248
+ "$value": "{state.interactive.color.contrast}",
249
+ "$type": "color"
250
+ }
251
+ }
252
+ },
253
+ "dropzoneActive": {
254
+ "color": {
255
+ "main": {
256
+ "$value": "{state.interactive.color.main}",
257
+ "$type": "color"
258
+ },
259
+ "contrast": {
260
+ "$value": "{state.interactive.color.contrast}",
261
+ "$type": "color"
262
+ }
263
+ }
264
+ },
265
+ "on": {
266
+ "color": {
267
+ "main": {
268
+ "$value": "{color.blueWarmVivid.40}",
269
+ "$type": "color"
270
+ },
271
+ "contrast": {
272
+ "$value": "{color.blueWarmVivid.50}",
273
+ "$type": "color"
274
+ },
275
+ "read": {
276
+ "main": {
277
+ "$value": "{color.pure.100}",
278
+ "$type": "color"
279
+ },
280
+ "contrast": {
281
+ "$value": "{color.pure.0}",
282
+ "$type": "color"
283
+ }
284
+ }
285
+ }
286
+ },
287
+ "off": {
288
+ "color": {
289
+ "main": {
290
+ "$value": "{color.gray.40}",
291
+ "$type": "color"
292
+ },
293
+ "contrast": {
294
+ "$value": "{color.gray.50}",
295
+ "$type": "color"
296
+ },
297
+ "read": {
298
+ "main": {
299
+ "$value": "{color.pure.100}",
300
+ "$type": "color"
301
+ },
302
+ "contrast": {
303
+ "$value": "{color.pure.0}",
304
+ "$type": "color"
305
+ }
306
+ }
307
+ }
308
+ },
309
+ "success": {
310
+ "color": {
311
+ "main": {
312
+ "$value": "{color.greenVivid.50}",
313
+ "$type": "color"
314
+ },
315
+ "read": {
316
+ "main": {
317
+ "$value": "{color.pure.0}",
318
+ "$type": "color"
319
+ }
320
+ }
321
+ }
322
+ },
323
+ "alert": {
324
+ "color": {
325
+ "main": {
326
+ "$value": "{color.yellowVivid.20}",
327
+ "$type": "color"
328
+ },
329
+ "read": {
330
+ "main": {
331
+ "$value": "{color.pure.100}",
332
+ "$type": "color"
333
+ }
334
+ }
335
+ }
336
+ },
337
+ "error": {
338
+ "color": {
339
+ "main": {
340
+ "$value": "{color.redVivid.50}",
341
+ "$type": "color"
342
+ },
343
+ "read": {
344
+ "main": {
345
+ "$value": "{color.pure.0}",
346
+ "$type": "color"
347
+ }
348
+ }
349
+ }
350
+ }
351
+ }
352
+ }
@@ -15,6 +15,15 @@
15
15
  "state.json"
16
16
  ],
17
17
  "Base14": [
18
+ "color.json",
19
+ "spacing.json",
20
+ "typography.json",
21
+ "iconography.json",
22
+ "surface.json",
23
+ "grid.json",
24
+ "elevation.json",
25
+ "motion.json",
26
+ "state.json",
18
27
  "base14.json"
19
28
  ]
20
29
  }