@govbr-ds/tokens 4.0.0-next.1
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 +160 -0
- package/dist/css/themes/dark.css +54 -0
- package/dist/css/themes/light.css +54 -0
- package/dist/css/tokens.css +671 -0
- package/dist/js/themes/dark.js +52 -0
- package/dist/js/themes/light.js +52 -0
- package/dist/js/tokens.js +669 -0
- package/dist/json/themes/dark.json +1210 -0
- package/dist/json/themes/light.json +1210 -0
- package/dist/json/tokens.json +11942 -0
- package/dist/scss/_tokens.scss +674 -0
- package/dist/scss/themes/_dark.scss +55 -0
- package/dist/scss/themes/_light.scss +55 -0
- package/package.json +40 -0
- package/src/figma/tokens.json +3587 -0
- package/src/figma/variables/color.json +1948 -0
- package/src/figma/variables/manifest.json +16 -0
- package/src/figma/variables/spacing.json +52 -0
- package/src/figma/variables/surface.json +102 -0
- package/src/figma/variables/typography.json +148 -0
- package/src/style-dictionary/themes/dark.json +3313 -0
- package/src/style-dictionary/themes/light.json +3313 -0
- package/src/style-dictionary/tokens.json +3045 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "Design Tokens DS",
|
|
3
|
+
"collections": {
|
|
4
|
+
"Core": {
|
|
5
|
+
"modes": {
|
|
6
|
+
"Default": ["color.json", "spacing.json", "typography.json", "surface.json"]
|
|
7
|
+
}
|
|
8
|
+
},
|
|
9
|
+
"Themes": {
|
|
10
|
+
"modes": {
|
|
11
|
+
"Light": ["themes/light.json"],
|
|
12
|
+
"Dark": ["themes/dark.json"]
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"spacing": {
|
|
3
|
+
"none": {
|
|
4
|
+
"$value": "0",
|
|
5
|
+
"$type": "number"
|
|
6
|
+
},
|
|
7
|
+
"layout": {
|
|
8
|
+
"01": {
|
|
9
|
+
"$value": "8",
|
|
10
|
+
"$type": "number"
|
|
11
|
+
},
|
|
12
|
+
"02": {
|
|
13
|
+
"$value": "16",
|
|
14
|
+
"$type": "number"
|
|
15
|
+
},
|
|
16
|
+
"03": {
|
|
17
|
+
"$value": "24",
|
|
18
|
+
"$type": "number"
|
|
19
|
+
},
|
|
20
|
+
"04": {
|
|
21
|
+
"$value": "32",
|
|
22
|
+
"$type": "number"
|
|
23
|
+
},
|
|
24
|
+
"05": {
|
|
25
|
+
"$value": "40",
|
|
26
|
+
"$type": "number"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"adjust": {
|
|
30
|
+
"01": {
|
|
31
|
+
"$value": "4",
|
|
32
|
+
"$type": "number"
|
|
33
|
+
},
|
|
34
|
+
"02": {
|
|
35
|
+
"$value": "12",
|
|
36
|
+
"$type": "number"
|
|
37
|
+
},
|
|
38
|
+
"03": {
|
|
39
|
+
"$value": "20",
|
|
40
|
+
"$type": "number"
|
|
41
|
+
},
|
|
42
|
+
"04": {
|
|
43
|
+
"$value": "28",
|
|
44
|
+
"$type": "number"
|
|
45
|
+
},
|
|
46
|
+
"05": {
|
|
47
|
+
"$value": "36",
|
|
48
|
+
"$type": "number"
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
{
|
|
2
|
+
"surface": {
|
|
3
|
+
"borderWidth": {
|
|
4
|
+
"none": {
|
|
5
|
+
"$value": "0",
|
|
6
|
+
"$type": "number"
|
|
7
|
+
},
|
|
8
|
+
"01": {
|
|
9
|
+
"$value": "1px",
|
|
10
|
+
"$type": "number"
|
|
11
|
+
},
|
|
12
|
+
"02": {
|
|
13
|
+
"$value": "2px",
|
|
14
|
+
"$type": "number"
|
|
15
|
+
},
|
|
16
|
+
"03": {
|
|
17
|
+
"$value": "3px",
|
|
18
|
+
"$type": "number"
|
|
19
|
+
},
|
|
20
|
+
"04": {
|
|
21
|
+
"$value": "4px",
|
|
22
|
+
"$type": "number"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"rounder": {
|
|
26
|
+
"none": {
|
|
27
|
+
"$value": "0",
|
|
28
|
+
"$type": "number"
|
|
29
|
+
},
|
|
30
|
+
"01": {
|
|
31
|
+
"$value": "4px",
|
|
32
|
+
"$type": "number"
|
|
33
|
+
},
|
|
34
|
+
"02": {
|
|
35
|
+
"$value": "8px",
|
|
36
|
+
"$type": "number"
|
|
37
|
+
},
|
|
38
|
+
"03": {
|
|
39
|
+
"$value": "12px",
|
|
40
|
+
"$type": "number"
|
|
41
|
+
},
|
|
42
|
+
"full": {
|
|
43
|
+
"$value": "999999em",
|
|
44
|
+
"$type": "number"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"opacity": {
|
|
48
|
+
"none": {
|
|
49
|
+
"$value": "0",
|
|
50
|
+
"$type": "number"
|
|
51
|
+
},
|
|
52
|
+
"01": {
|
|
53
|
+
"$value": "0.1",
|
|
54
|
+
"$type": "number"
|
|
55
|
+
},
|
|
56
|
+
"02": {
|
|
57
|
+
"$value": "0.2",
|
|
58
|
+
"$type": "number"
|
|
59
|
+
},
|
|
60
|
+
"03": {
|
|
61
|
+
"$value": "0.3",
|
|
62
|
+
"$type": "number"
|
|
63
|
+
},
|
|
64
|
+
"04": {
|
|
65
|
+
"$value": "0.4",
|
|
66
|
+
"$type": "number"
|
|
67
|
+
},
|
|
68
|
+
"05": {
|
|
69
|
+
"$value": "0.5",
|
|
70
|
+
"$type": "number"
|
|
71
|
+
},
|
|
72
|
+
"06": {
|
|
73
|
+
"$value": "0.6",
|
|
74
|
+
"$type": "number"
|
|
75
|
+
},
|
|
76
|
+
"07": {
|
|
77
|
+
"$value": "0.7",
|
|
78
|
+
"$type": "number"
|
|
79
|
+
},
|
|
80
|
+
"08": {
|
|
81
|
+
"$value": "0.8",
|
|
82
|
+
"$type": "number"
|
|
83
|
+
},
|
|
84
|
+
"09": {
|
|
85
|
+
"$value": "0.9",
|
|
86
|
+
"$type": "number"
|
|
87
|
+
},
|
|
88
|
+
"full": {
|
|
89
|
+
"$value": "1",
|
|
90
|
+
"$type": "number"
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
"scrim": {
|
|
95
|
+
"color": {
|
|
96
|
+
"$value": "{elevation.color}"
|
|
97
|
+
},
|
|
98
|
+
"opacity": {
|
|
99
|
+
"$value": "{surface.opacity.04}"
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
{
|
|
2
|
+
"fontFamily": {
|
|
3
|
+
"noto": {
|
|
4
|
+
"sans": {
|
|
5
|
+
"$value": "Noto Sans",
|
|
6
|
+
"$type": "string"
|
|
7
|
+
},
|
|
8
|
+
"serif": {
|
|
9
|
+
"$value": "Noto Serif",
|
|
10
|
+
"$type": "string"
|
|
11
|
+
},
|
|
12
|
+
"mono": {
|
|
13
|
+
"$value": "Noto Sans Mono",
|
|
14
|
+
"$type": "string"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"rawline": {
|
|
18
|
+
"sans": {
|
|
19
|
+
"$value": "Rawline",
|
|
20
|
+
"$type": "string"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"fontAwesome": {
|
|
24
|
+
"free": {
|
|
25
|
+
"$value": "Font Awesome 6 Free",
|
|
26
|
+
"$type": "string"
|
|
27
|
+
},
|
|
28
|
+
"brands": {
|
|
29
|
+
"$value": "Font Awesome 6 Brands",
|
|
30
|
+
"$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
|
+
},
|
|
86
|
+
"02": {
|
|
87
|
+
"$value": "20.25",
|
|
88
|
+
"$type": "number"
|
|
89
|
+
},
|
|
90
|
+
"03": {
|
|
91
|
+
"$value": "22.78",
|
|
92
|
+
"$type": "number"
|
|
93
|
+
},
|
|
94
|
+
"04": {
|
|
95
|
+
"$value": "25.63",
|
|
96
|
+
"$type": "number"
|
|
97
|
+
},
|
|
98
|
+
"05": {
|
|
99
|
+
"$value": "28.83",
|
|
100
|
+
"$type": "number"
|
|
101
|
+
},
|
|
102
|
+
"06": {
|
|
103
|
+
"$value": "32.44",
|
|
104
|
+
"$type": "number"
|
|
105
|
+
},
|
|
106
|
+
"07": {
|
|
107
|
+
"$value": "36.49",
|
|
108
|
+
"$type": "number"
|
|
109
|
+
},
|
|
110
|
+
"08": {
|
|
111
|
+
"$value": "41.05",
|
|
112
|
+
"$type": "number"
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
"down": {
|
|
116
|
+
"01": {
|
|
117
|
+
"$value": "14.22",
|
|
118
|
+
"$type": "number"
|
|
119
|
+
},
|
|
120
|
+
"02": {
|
|
121
|
+
"$value": "12.64",
|
|
122
|
+
"$type": "number"
|
|
123
|
+
},
|
|
124
|
+
"03": {
|
|
125
|
+
"$value": "11.24",
|
|
126
|
+
"$type": "number"
|
|
127
|
+
},
|
|
128
|
+
"04": {
|
|
129
|
+
"$value": "9.99",
|
|
130
|
+
"$type": "number"
|
|
131
|
+
}
|
|
132
|
+
}
|
|
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
|
+
}
|
|
148
|
+
}
|