@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.
- package/README.md +12 -130
- package/dist/css/themes/dark.css +77 -49
- package/dist/css/themes/light.css +77 -49
- package/dist/css/tokens.css +565 -513
- package/dist/js/themes/dark.js +77 -49
- package/dist/js/themes/light.js +77 -49
- package/dist/js/tokens.js +569 -517
- package/dist/json/themes/dark.json +1330 -389
- package/dist/json/themes/light.json +1326 -385
- package/dist/json/tokens.json +8029 -3195
- package/dist/scss/themes/dark.scss +80 -0
- package/dist/scss/themes/light.scss +80 -0
- package/dist/scss/tokens.scss +721 -0
- package/package.json +10 -11
- package/src/figma/tokens.json +1405 -527
- package/src/figma/variables/base14.json +66 -0
- package/src/figma/variables/color.json +2 -2
- package/src/figma/variables/component/manifest.json +12 -0
- package/src/figma/variables/component/text.json +46 -0
- package/src/figma/variables/dark.json +314 -0
- package/src/figma/variables/elevation.json +232 -0
- package/src/figma/variables/grid.json +120 -0
- package/src/figma/variables/guideline/componente.json +24 -0
- package/src/figma/variables/guideline/fundamento.json +24 -0
- package/src/figma/variables/guideline/geral.json +20 -0
- package/src/figma/variables/guideline/manifest.json +21 -0
- package/src/figma/variables/guideline/padrao.json +24 -0
- package/src/figma/variables/iconography.json +14 -0
- package/src/figma/variables/light.json +314 -0
- package/src/figma/variables/manifest.json +21 -4
- package/src/figma/variables/motion.json +112 -0
- package/src/figma/variables/pattern/manifest.json +12 -0
- package/src/figma/variables/pattern/skeleton.json +52 -0
- package/src/figma/variables/spacing.json +21 -1
- package/src/figma/variables/state.json +238 -0
- package/src/figma/variables/surface.json +28 -26
- package/src/figma/variables/typography.json +90 -112
- package/dist/scss/_tokens.scss +0 -674
- package/dist/scss/themes/_dark.scss +0 -55
- package/dist/scss/themes/_light.scss +0 -55
- package/src/style-dictionary/themes/dark.json +0 -3313
- package/src/style-dictionary/themes/light.json +0 -3313
- package/src/style-dictionary/tokens.json +0 -3045
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
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
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"$value": "
|
|
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
|
-
"
|
|
29
|
-
"$value": "
|
|
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
|
-
"
|
|
87
|
-
"$value": "
|
|
88
|
-
"$type": "
|
|
26
|
+
"light": {
|
|
27
|
+
"$value": "light",
|
|
28
|
+
"$type": "string"
|
|
89
29
|
},
|
|
90
|
-
"
|
|
91
|
-
"$value": "
|
|
92
|
-
"$type": "
|
|
30
|
+
"regular": {
|
|
31
|
+
"$value": "regular",
|
|
32
|
+
"$type": "string"
|
|
93
33
|
},
|
|
94
|
-
"
|
|
95
|
-
"$value": "
|
|
96
|
-
"$type": "
|
|
34
|
+
"medium": {
|
|
35
|
+
"$value": "medium",
|
|
36
|
+
"$type": "string"
|
|
97
37
|
},
|
|
98
|
-
"
|
|
99
|
-
"$value": "
|
|
100
|
-
"$type": "
|
|
38
|
+
"semiBold": {
|
|
39
|
+
"$value": "semiBold",
|
|
40
|
+
"$type": "string"
|
|
101
41
|
},
|
|
102
|
-
"
|
|
103
|
-
"$value": "
|
|
104
|
-
"$type": "
|
|
42
|
+
"bold": {
|
|
43
|
+
"$value": "bold",
|
|
44
|
+
"$type": "string"
|
|
105
45
|
},
|
|
106
|
-
"
|
|
107
|
-
"$value": "
|
|
108
|
-
"$type": "
|
|
46
|
+
"extraBold": {
|
|
47
|
+
"$value": "extraBold",
|
|
48
|
+
"$type": "string"
|
|
109
49
|
},
|
|
110
|
-
"
|
|
111
|
-
"$value": "
|
|
112
|
-
"$type": "
|
|
50
|
+
"black": {
|
|
51
|
+
"$value": "black",
|
|
52
|
+
"$type": "string"
|
|
113
53
|
}
|
|
114
54
|
},
|
|
115
|
-
"
|
|
116
|
-
"
|
|
117
|
-
"$value": "
|
|
55
|
+
"fontSize": {
|
|
56
|
+
"base16": {
|
|
57
|
+
"$value": "16",
|
|
118
58
|
"$type": "number"
|
|
119
59
|
},
|
|
120
|
-
"
|
|
121
|
-
"$value": "
|
|
60
|
+
"base14": {
|
|
61
|
+
"$value": "14",
|
|
122
62
|
"$type": "number"
|
|
123
63
|
},
|
|
124
|
-
"
|
|
125
|
-
"$value": "
|
|
64
|
+
"base": {
|
|
65
|
+
"$value": "{typography.fontSize.base16}",
|
|
126
66
|
"$type": "number"
|
|
127
67
|
},
|
|
128
|
-
"
|
|
129
|
-
"$value": "
|
|
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
|
+
}
|