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

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 (43) hide show
  1. package/README.md +12 -130
  2. package/dist/css/themes/dark.css +77 -49
  3. package/dist/css/themes/light.css +77 -49
  4. package/dist/css/tokens.css +565 -513
  5. package/dist/js/themes/dark.js +77 -49
  6. package/dist/js/themes/light.js +77 -49
  7. package/dist/js/tokens.js +569 -517
  8. package/dist/json/themes/dark.json +1330 -389
  9. package/dist/json/themes/light.json +1326 -385
  10. package/dist/json/tokens.json +8029 -3195
  11. package/dist/scss/themes/dark.scss +80 -0
  12. package/dist/scss/themes/light.scss +80 -0
  13. package/dist/scss/tokens.scss +721 -0
  14. package/package.json +10 -11
  15. package/src/figma/tokens.json +1405 -527
  16. package/src/figma/variables/base14.json +66 -0
  17. package/src/figma/variables/color.json +2 -2
  18. package/src/figma/variables/component/manifest.json +12 -0
  19. package/src/figma/variables/component/text.json +46 -0
  20. package/src/figma/variables/dark.json +314 -0
  21. package/src/figma/variables/elevation.json +232 -0
  22. package/src/figma/variables/grid.json +120 -0
  23. package/src/figma/variables/guideline/componente.json +24 -0
  24. package/src/figma/variables/guideline/fundamento.json +24 -0
  25. package/src/figma/variables/guideline/geral.json +20 -0
  26. package/src/figma/variables/guideline/manifest.json +21 -0
  27. package/src/figma/variables/guideline/padrao.json +24 -0
  28. package/src/figma/variables/iconography.json +14 -0
  29. package/src/figma/variables/light.json +314 -0
  30. package/src/figma/variables/manifest.json +21 -4
  31. package/src/figma/variables/motion.json +112 -0
  32. package/src/figma/variables/pattern/manifest.json +12 -0
  33. package/src/figma/variables/pattern/skeleton.json +52 -0
  34. package/src/figma/variables/spacing.json +21 -1
  35. package/src/figma/variables/state.json +238 -0
  36. package/src/figma/variables/surface.json +28 -26
  37. package/src/figma/variables/typography.json +90 -112
  38. package/dist/scss/_tokens.scss +0 -674
  39. package/dist/scss/themes/_dark.scss +0 -55
  40. package/dist/scss/themes/_light.scss +0 -55
  41. package/src/style-dictionary/themes/dark.json +0 -3313
  42. package/src/style-dictionary/themes/light.json +0 -3313
  43. package/src/style-dictionary/tokens.json +0 -3045
@@ -1,6 +1,6 @@
1
1
  {
2
- "fontFamily": {
3
- "noto": {
2
+ "typography": {
3
+ "fontFamily": {
4
4
  "sans": {
5
5
  "$value": "Noto Sans",
6
6
  "$type": "string"
@@ -14,135 +14,113 @@
14
14
  "$type": "string"
15
15
  }
16
16
  },
17
- "rawline": {
18
- "sans": {
19
- "$value": "Rawline",
20
- "$type": "string"
21
- }
22
- },
23
- "fontAwesome": {
24
- "free": {
25
- "$value": "Font Awesome 6 Free",
17
+ "fontWeight": {
18
+ "thin": {
19
+ "$value": "thin",
26
20
  "$type": "string"
27
21
  },
28
- "brands": {
29
- "$value": "Font Awesome 6 Brands",
22
+ "extraLight": {
23
+ "$value": "extraLight",
30
24
  "$type": "string"
31
- }
32
- }
33
- },
34
- "fontWeight": {
35
- "thin": {
36
- "$value": "thin",
37
- "$type": "string"
38
- },
39
- "extraLight": {
40
- "$value": "extraLight",
41
- "$type": "string"
42
- },
43
- "light": {
44
- "$value": "light",
45
- "$type": "string"
46
- },
47
- "regular": {
48
- "$value": "regular",
49
- "$type": "string"
50
- },
51
- "medium": {
52
- "$value": "medium",
53
- "$type": "string"
54
- },
55
- "semiBold": {
56
- "$value": "semiBold",
57
- "$type": "string"
58
- },
59
- "bold": {
60
- "$value": "bold",
61
- "$type": "string"
62
- },
63
- "extraBold": {
64
- "$value": "extraBold",
65
- "$type": "string"
66
- },
67
- "black": {
68
- "$value": "black",
69
- "$type": "string"
70
- }
71
- },
72
- "fontSize": {
73
- "default": {
74
- "$value": "16",
75
- "$type": "number"
76
- },
77
- "mobile": {
78
- "$value": "14",
79
- "$type": "number"
80
- },
81
- "up": {
82
- "01": {
83
- "$value": "18",
84
- "$type": "number"
85
25
  },
86
- "02": {
87
- "$value": "20.25",
88
- "$type": "number"
26
+ "light": {
27
+ "$value": "light",
28
+ "$type": "string"
89
29
  },
90
- "03": {
91
- "$value": "22.78",
92
- "$type": "number"
30
+ "regular": {
31
+ "$value": "regular",
32
+ "$type": "string"
93
33
  },
94
- "04": {
95
- "$value": "25.63",
96
- "$type": "number"
34
+ "medium": {
35
+ "$value": "medium",
36
+ "$type": "string"
97
37
  },
98
- "05": {
99
- "$value": "28.83",
100
- "$type": "number"
38
+ "semiBold": {
39
+ "$value": "semiBold",
40
+ "$type": "string"
101
41
  },
102
- "06": {
103
- "$value": "32.44",
104
- "$type": "number"
42
+ "bold": {
43
+ "$value": "bold",
44
+ "$type": "string"
105
45
  },
106
- "07": {
107
- "$value": "36.49",
108
- "$type": "number"
46
+ "extraBold": {
47
+ "$value": "extraBold",
48
+ "$type": "string"
109
49
  },
110
- "08": {
111
- "$value": "41.05",
112
- "$type": "number"
50
+ "black": {
51
+ "$value": "black",
52
+ "$type": "string"
113
53
  }
114
54
  },
115
- "down": {
116
- "01": {
117
- "$value": "14.22",
55
+ "fontSize": {
56
+ "base16": {
57
+ "$value": "16",
118
58
  "$type": "number"
119
59
  },
120
- "02": {
121
- "$value": "12.64",
60
+ "base14": {
61
+ "$value": "14",
122
62
  "$type": "number"
123
63
  },
124
- "03": {
125
- "$value": "11.24",
64
+ "base": {
65
+ "$value": "{typography.fontSize.base16}",
126
66
  "$type": "number"
127
67
  },
128
- "04": {
129
- "$value": "9.99",
68
+ "default": {
69
+ "$value": "{typography.fontSize.base}",
130
70
  "$type": "number"
71
+ },
72
+ "up": {
73
+ "01": {
74
+ "$value": "18",
75
+ "$type": "number"
76
+ },
77
+ "02": {
78
+ "$value": "20.25",
79
+ "$type": "number"
80
+ },
81
+ "03": {
82
+ "$value": "22.78",
83
+ "$type": "number"
84
+ },
85
+ "04": {
86
+ "$value": "25.63",
87
+ "$type": "number"
88
+ },
89
+ "05": {
90
+ "$value": "28.83",
91
+ "$type": "number"
92
+ },
93
+ "06": {
94
+ "$value": "32.44",
95
+ "$type": "number"
96
+ },
97
+ "07": {
98
+ "$value": "36.49",
99
+ "$type": "number"
100
+ },
101
+ "08": {
102
+ "$value": "41.05",
103
+ "$type": "number"
104
+ }
105
+ },
106
+ "down": {
107
+ "01": {
108
+ "$value": "14.22",
109
+ "$type": "number"
110
+ },
111
+ "02": {
112
+ "$value": "12.64",
113
+ "$type": "number"
114
+ },
115
+ "03": {
116
+ "$value": "11.24",
117
+ "$type": "number"
118
+ },
119
+ "04": {
120
+ "$value": "9.99",
121
+ "$type": "number"
122
+ }
131
123
  }
132
124
  }
133
- },
134
- "lineHeight": {
135
- "low": {
136
- "$value": "120%",
137
- "$type": "number"
138
- },
139
- "medium": {
140
- "$value": "150%",
141
- "$type": "number"
142
- },
143
- "high": {
144
- "$value": "180%",
145
- "$type": "number"
146
- }
147
125
  }
148
- }
126
+ }