@depersgroep/lfvp-design-tokens 0.165.0 → 0.167.0
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/package.json +1 -1
- package/tokens/$metadata.json +6 -1
- package/tokens/$themes.json +9 -3
- package/tokens/base/typography.json +23 -230
- package/tokens/base/ui.json +42 -8
- package/tokens/components/modal.json +56 -0
- package/tokens/core.json +20 -0
- package/tokens/screen/large.json +20 -0
- package/tokens/screen/medium.json +20 -0
- package/tokens/screen/small.json +20 -0
- package/tokens/screen/tv.json +20 -0
package/package.json
CHANGED
package/tokens/$metadata.json
CHANGED
|
@@ -4,6 +4,10 @@
|
|
|
4
4
|
"brands/whitelabel",
|
|
5
5
|
"brands/vtmgo",
|
|
6
6
|
"brands/streamz",
|
|
7
|
+
"screen/small",
|
|
8
|
+
"screen/medium",
|
|
9
|
+
"screen/large",
|
|
10
|
+
"screen/tv",
|
|
7
11
|
"base/color",
|
|
8
12
|
"base/typography",
|
|
9
13
|
"base/ui",
|
|
@@ -16,6 +20,7 @@
|
|
|
16
20
|
"components/landingpage",
|
|
17
21
|
"components/toggle",
|
|
18
22
|
"components/top-10",
|
|
19
|
-
"components/navigation"
|
|
23
|
+
"components/navigation",
|
|
24
|
+
"components/modal"
|
|
20
25
|
]
|
|
21
26
|
}
|
package/tokens/$themes.json
CHANGED
|
@@ -18,7 +18,9 @@
|
|
|
18
18
|
"components/selectable-box": "enabled",
|
|
19
19
|
"components/input": "enabled",
|
|
20
20
|
"components/toggle": "enabled",
|
|
21
|
-
"components/navigation": "enabled"
|
|
21
|
+
"components/navigation": "enabled",
|
|
22
|
+
"components/modal": "enabled",
|
|
23
|
+
"screen/small": "enabled"
|
|
22
24
|
},
|
|
23
25
|
"$figmaCollectionId": "VariableCollectionId:936:4507",
|
|
24
26
|
"$figmaModeId": "936:0",
|
|
@@ -218,7 +220,9 @@
|
|
|
218
220
|
"components/selectable-box": "enabled",
|
|
219
221
|
"components/input": "enabled",
|
|
220
222
|
"components/toggle": "enabled",
|
|
221
|
-
"components/navigation": "enabled"
|
|
223
|
+
"components/navigation": "enabled",
|
|
224
|
+
"components/modal": "enabled",
|
|
225
|
+
"screen/small": "enabled"
|
|
222
226
|
},
|
|
223
227
|
"$figmaCollectionId": "VariableCollectionId:936:4507",
|
|
224
228
|
"$figmaModeId": "936:1",
|
|
@@ -418,7 +422,9 @@
|
|
|
418
422
|
"components/selectable-box": "enabled",
|
|
419
423
|
"components/input": "enabled",
|
|
420
424
|
"components/toggle": "enabled",
|
|
421
|
-
"components/navigation": "enabled"
|
|
425
|
+
"components/navigation": "enabled",
|
|
426
|
+
"components/modal": "enabled",
|
|
427
|
+
"screen/small": "enabled"
|
|
422
428
|
},
|
|
423
429
|
"$figmaCollectionId": "VariableCollectionId:936:4507",
|
|
424
430
|
"$figmaModeId": "936:2",
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"fontFamily": "{base.primaryFont}",
|
|
8
8
|
"fontWeight": "{base.fontWeight.title}",
|
|
9
9
|
"lineHeight": "{core.lineHeight.120}",
|
|
10
|
-
"fontSize": "{core.fontSize.72}"
|
|
10
|
+
"fontSize": "{core.fontSize.72}*{scale.title}"
|
|
11
11
|
},
|
|
12
12
|
"type": "typography"
|
|
13
13
|
},
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"fontFamily": "{base.primaryFont}",
|
|
17
17
|
"fontWeight": "{base.fontWeight.title}",
|
|
18
18
|
"lineHeight": "{core.lineHeight.120}",
|
|
19
|
-
"fontSize": "{core.fontSize.64}"
|
|
19
|
+
"fontSize": "{core.fontSize.64}*{scale.title}"
|
|
20
20
|
},
|
|
21
21
|
"type": "typography"
|
|
22
22
|
},
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"fontFamily": "{base.primaryFont}",
|
|
26
26
|
"fontWeight": "{base.fontWeight.title}",
|
|
27
27
|
"lineHeight": "{core.lineHeight.120}",
|
|
28
|
-
"fontSize": "{core.fontSize.56}"
|
|
28
|
+
"fontSize": "{core.fontSize.56}*{scale.title}"
|
|
29
29
|
},
|
|
30
30
|
"type": "typography"
|
|
31
31
|
},
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"fontFamily": "{base.primaryFont}",
|
|
35
35
|
"fontWeight": "{base.fontWeight.title}",
|
|
36
36
|
"lineHeight": "{core.lineHeight.120}",
|
|
37
|
-
"fontSize": "{core.fontSize.48}"
|
|
37
|
+
"fontSize": "{core.fontSize.48}*{scale.title}"
|
|
38
38
|
},
|
|
39
39
|
"type": "typography"
|
|
40
40
|
},
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"fontFamily": "{base.primaryFont}",
|
|
44
44
|
"fontWeight": "{base.fontWeight.title}",
|
|
45
45
|
"lineHeight": "{core.lineHeight.120}",
|
|
46
|
-
"fontSize": "{core.fontSize.40}"
|
|
46
|
+
"fontSize": "{core.fontSize.40}*{scale.title}"
|
|
47
47
|
},
|
|
48
48
|
"type": "typography"
|
|
49
49
|
},
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"fontFamily": "{base.primaryFont}",
|
|
53
53
|
"fontWeight": "{base.fontWeight.title}",
|
|
54
54
|
"lineHeight": "{core.lineHeight.120}",
|
|
55
|
-
"fontSize": "{core.fontSize.32}"
|
|
55
|
+
"fontSize": "{core.fontSize.32}*{scale.title}"
|
|
56
56
|
},
|
|
57
57
|
"type": "typography"
|
|
58
58
|
},
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"fontFamily": "{base.primaryFont}",
|
|
62
62
|
"fontWeight": "{base.fontWeight.title}",
|
|
63
63
|
"lineHeight": "{core.lineHeight.120}",
|
|
64
|
-
"fontSize": "{core.fontSize.28}"
|
|
64
|
+
"fontSize": "{core.fontSize.28}*{scale.title}"
|
|
65
65
|
},
|
|
66
66
|
"type": "typography"
|
|
67
67
|
},
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"fontFamily": "{base.primaryFont}",
|
|
71
71
|
"fontWeight": "{base.fontWeight.title}",
|
|
72
72
|
"lineHeight": "{core.lineHeight.120}",
|
|
73
|
-
"fontSize": "{core.fontSize.24}"
|
|
73
|
+
"fontSize": "{core.fontSize.24}*{scale.title}"
|
|
74
74
|
},
|
|
75
75
|
"type": "typography"
|
|
76
76
|
},
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"fontFamily": "{base.primaryFont}",
|
|
80
80
|
"fontWeight": "{base.fontWeight.title}",
|
|
81
81
|
"lineHeight": "{core.lineHeight.130}",
|
|
82
|
-
"fontSize": "{core.fontSize.20}"
|
|
82
|
+
"fontSize": "{core.fontSize.20}*{scale.title}"
|
|
83
83
|
},
|
|
84
84
|
"type": "typography"
|
|
85
85
|
},
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"fontFamily": "{base.primaryFont}",
|
|
89
89
|
"fontWeight": "{base.fontWeight.title}",
|
|
90
90
|
"lineHeight": "{core.lineHeight.130}",
|
|
91
|
-
"fontSize": "{core.fontSize.18}"
|
|
91
|
+
"fontSize": "{core.fontSize.18}*{scale.title}"
|
|
92
92
|
},
|
|
93
93
|
"type": "typography"
|
|
94
94
|
},
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
"fontFamily": "{base.primaryFont}",
|
|
98
98
|
"fontWeight": "{base.fontWeight.title}",
|
|
99
99
|
"lineHeight": "{core.lineHeight.130}",
|
|
100
|
-
"fontSize": "{core.fontSize.16}"
|
|
100
|
+
"fontSize": "{core.fontSize.16}*{scale.title}"
|
|
101
101
|
},
|
|
102
102
|
"type": "typography"
|
|
103
103
|
},
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
"fontFamily": "{base.primaryFont}",
|
|
107
107
|
"fontWeight": "{base.fontWeight.title}",
|
|
108
108
|
"lineHeight": "{core.lineHeight.130}",
|
|
109
|
-
"fontSize": "{core.fontSize.14}"
|
|
109
|
+
"fontSize": "{core.fontSize.14}*{scale.title}"
|
|
110
110
|
},
|
|
111
111
|
"type": "typography"
|
|
112
112
|
}
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
"value": {
|
|
117
117
|
"fontFamily": "{base.primaryFont}",
|
|
118
118
|
"lineHeight": "{core.lineHeight.140}",
|
|
119
|
-
"fontSize": "{core.fontSize.12}",
|
|
119
|
+
"fontSize": "{core.fontSize.12}*{scale.text}",
|
|
120
120
|
"fontWeight": "{base.fontWeight.default}"
|
|
121
121
|
},
|
|
122
122
|
"type": "typography"
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
"value": {
|
|
126
126
|
"fontFamily": "{base.primaryFont}",
|
|
127
127
|
"lineHeight": "{core.lineHeight.140}",
|
|
128
|
-
"fontSize": "{core.fontSize.14}",
|
|
128
|
+
"fontSize": "{core.fontSize.14}*{scale.text}",
|
|
129
129
|
"fontWeight": "{base.fontWeight.default}"
|
|
130
130
|
},
|
|
131
131
|
"type": "typography"
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
"value": {
|
|
135
135
|
"fontFamily": "{base.primaryFont}",
|
|
136
136
|
"lineHeight": "{core.lineHeight.140}",
|
|
137
|
-
"fontSize": "{core.fontSize.16}",
|
|
137
|
+
"fontSize": "round({core.fontSize.16}*{scale.text})",
|
|
138
138
|
"fontWeight": "{base.fontWeight.default}"
|
|
139
139
|
},
|
|
140
140
|
"type": "typography"
|
|
@@ -143,7 +143,7 @@
|
|
|
143
143
|
"value": {
|
|
144
144
|
"fontFamily": "{base.primaryFont}",
|
|
145
145
|
"lineHeight": "{core.lineHeight.140}",
|
|
146
|
-
"fontSize": "{core.fontSize.18}",
|
|
146
|
+
"fontSize": "{core.fontSize.18}*{scale.text}",
|
|
147
147
|
"fontWeight": "{base.fontWeight.default}"
|
|
148
148
|
},
|
|
149
149
|
"type": "typography"
|
|
@@ -152,7 +152,7 @@
|
|
|
152
152
|
"value": {
|
|
153
153
|
"fontFamily": "{base.primaryFont}",
|
|
154
154
|
"lineHeight": "{core.lineHeight.140}",
|
|
155
|
-
"fontSize": "{core.fontSize.20}",
|
|
155
|
+
"fontSize": "{core.fontSize.20}*{scale.text}",
|
|
156
156
|
"fontWeight": "{base.fontWeight.default}"
|
|
157
157
|
},
|
|
158
158
|
"type": "typography"
|
|
@@ -164,204 +164,7 @@
|
|
|
164
164
|
"fontFamily": "{base.primaryFont}",
|
|
165
165
|
"fontWeight": "{base.fontWeight.bold}",
|
|
166
166
|
"lineHeight": "{core.lineHeight.130}",
|
|
167
|
-
"fontSize": "{core.fontSize.14}"
|
|
168
|
-
},
|
|
169
|
-
"type": "typography"
|
|
170
|
-
},
|
|
171
|
-
"entry": {
|
|
172
|
-
"value": "{base.typography.default.label}",
|
|
173
|
-
"type": "typography"
|
|
174
|
-
},
|
|
175
|
-
"placeholder": {
|
|
176
|
-
"value": "{base.typography.default.placeholder}",
|
|
177
|
-
"type": "typography"
|
|
178
|
-
},
|
|
179
|
-
"description": {
|
|
180
|
-
"value": "{base.typography.default.description}",
|
|
181
|
-
"type": "typography"
|
|
182
|
-
},
|
|
183
|
-
"footnote": {
|
|
184
|
-
"value": "{base.typography.default.footnote}",
|
|
185
|
-
"type": "typography"
|
|
186
|
-
},
|
|
187
|
-
"reference": {
|
|
188
|
-
"value": {
|
|
189
|
-
"fontFamily": "{base.primaryFont}",
|
|
190
|
-
"fontWeight": "{base.fontWeight.emphasized}",
|
|
191
|
-
"lineHeight": "{core.lineHeight.130}",
|
|
192
|
-
"fontSize": "{core.fontSize.10}"
|
|
193
|
-
},
|
|
194
|
-
"type": "typography"
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
},
|
|
199
|
-
"tv": {
|
|
200
|
-
"typography": {
|
|
201
|
-
"title": {
|
|
202
|
-
"level1": {
|
|
203
|
-
"value": {
|
|
204
|
-
"fontFamily": "{base.primaryFont}",
|
|
205
|
-
"fontWeight": "{base.fontWeight.title}",
|
|
206
|
-
"lineHeight": "{core.lineHeight.120}",
|
|
207
|
-
"fontSize": "{core.fontSize.72}*{tv.typeScale.title}"
|
|
208
|
-
},
|
|
209
|
-
"type": "typography"
|
|
210
|
-
},
|
|
211
|
-
"level2": {
|
|
212
|
-
"value": {
|
|
213
|
-
"fontFamily": "{base.primaryFont}",
|
|
214
|
-
"fontWeight": "{base.fontWeight.title}",
|
|
215
|
-
"lineHeight": "{core.lineHeight.120}",
|
|
216
|
-
"fontSize": "{core.fontSize.64}*{tv.typeScale.title}"
|
|
217
|
-
},
|
|
218
|
-
"type": "typography"
|
|
219
|
-
},
|
|
220
|
-
"level3": {
|
|
221
|
-
"value": {
|
|
222
|
-
"fontFamily": "{base.primaryFont}",
|
|
223
|
-
"fontWeight": "{base.fontWeight.title}",
|
|
224
|
-
"lineHeight": "{core.lineHeight.120}",
|
|
225
|
-
"fontSize": "{core.fontSize.56}*{tv.typeScale.title}"
|
|
226
|
-
},
|
|
227
|
-
"type": "typography"
|
|
228
|
-
},
|
|
229
|
-
"level4": {
|
|
230
|
-
"value": {
|
|
231
|
-
"fontFamily": "{base.primaryFont}",
|
|
232
|
-
"fontWeight": "{base.fontWeight.title}",
|
|
233
|
-
"lineHeight": "{core.lineHeight.120}",
|
|
234
|
-
"fontSize": "{core.fontSize.48}*{tv.typeScale.title}"
|
|
235
|
-
},
|
|
236
|
-
"type": "typography"
|
|
237
|
-
},
|
|
238
|
-
"level5": {
|
|
239
|
-
"value": {
|
|
240
|
-
"fontFamily": "{base.primaryFont}",
|
|
241
|
-
"fontWeight": "{base.fontWeight.title}",
|
|
242
|
-
"lineHeight": "{core.lineHeight.120}",
|
|
243
|
-
"fontSize": "{core.fontSize.40}*{tv.typeScale.title}"
|
|
244
|
-
},
|
|
245
|
-
"type": "typography"
|
|
246
|
-
},
|
|
247
|
-
"level6": {
|
|
248
|
-
"value": {
|
|
249
|
-
"fontFamily": "{base.primaryFont}",
|
|
250
|
-
"fontWeight": "{base.fontWeight.title}",
|
|
251
|
-
"lineHeight": "{core.lineHeight.120}",
|
|
252
|
-
"fontSize": "{core.fontSize.32}*{tv.typeScale.title}"
|
|
253
|
-
},
|
|
254
|
-
"type": "typography"
|
|
255
|
-
},
|
|
256
|
-
"level7": {
|
|
257
|
-
"value": {
|
|
258
|
-
"fontFamily": "{base.primaryFont}",
|
|
259
|
-
"fontWeight": "{base.fontWeight.title}",
|
|
260
|
-
"lineHeight": "{core.lineHeight.120}",
|
|
261
|
-
"fontSize": "{core.fontSize.28}*{tv.typeScale.title}"
|
|
262
|
-
},
|
|
263
|
-
"type": "typography"
|
|
264
|
-
},
|
|
265
|
-
"level8": {
|
|
266
|
-
"value": {
|
|
267
|
-
"fontFamily": "{base.primaryFont}",
|
|
268
|
-
"fontWeight": "{base.fontWeight.title}",
|
|
269
|
-
"lineHeight": "{core.lineHeight.120}",
|
|
270
|
-
"fontSize": "{core.fontSize.24}*{tv.typeScale.title}"
|
|
271
|
-
},
|
|
272
|
-
"type": "typography"
|
|
273
|
-
},
|
|
274
|
-
"level9": {
|
|
275
|
-
"value": {
|
|
276
|
-
"fontFamily": "{base.primaryFont}",
|
|
277
|
-
"fontWeight": "{base.fontWeight.title}",
|
|
278
|
-
"lineHeight": "{core.lineHeight.130}",
|
|
279
|
-
"fontSize": "{core.fontSize.20}*{tv.typeScale.title}"
|
|
280
|
-
},
|
|
281
|
-
"type": "typography"
|
|
282
|
-
},
|
|
283
|
-
"level10": {
|
|
284
|
-
"value": {
|
|
285
|
-
"fontFamily": "{base.primaryFont}",
|
|
286
|
-
"fontWeight": "{base.fontWeight.title}",
|
|
287
|
-
"lineHeight": "{core.lineHeight.130}",
|
|
288
|
-
"fontSize": "{core.fontSize.18}*{tv.typeScale.title}"
|
|
289
|
-
},
|
|
290
|
-
"type": "typography"
|
|
291
|
-
},
|
|
292
|
-
"level11": {
|
|
293
|
-
"value": {
|
|
294
|
-
"fontFamily": "{base.primaryFont}",
|
|
295
|
-
"fontWeight": "{base.fontWeight.title}",
|
|
296
|
-
"lineHeight": "{core.lineHeight.130}",
|
|
297
|
-
"fontSize": "{core.fontSize.16}*{tv.typeScale.title}"
|
|
298
|
-
},
|
|
299
|
-
"type": "typography"
|
|
300
|
-
},
|
|
301
|
-
"level12": {
|
|
302
|
-
"value": {
|
|
303
|
-
"fontFamily": "{base.primaryFont}",
|
|
304
|
-
"fontWeight": "{base.fontWeight.title}",
|
|
305
|
-
"lineHeight": "{core.lineHeight.130}",
|
|
306
|
-
"fontSize": "{core.fontSize.14}*{tv.typeScale.title}"
|
|
307
|
-
},
|
|
308
|
-
"type": "typography"
|
|
309
|
-
}
|
|
310
|
-
},
|
|
311
|
-
"text": {
|
|
312
|
-
"xSmall": {
|
|
313
|
-
"value": {
|
|
314
|
-
"fontFamily": "{base.primaryFont}",
|
|
315
|
-
"lineHeight": "{core.lineHeight.140}",
|
|
316
|
-
"fontSize": "{core.fontSize.12}*{tv.typeScale.text}",
|
|
317
|
-
"fontWeight": "{base.fontWeight.default}"
|
|
318
|
-
},
|
|
319
|
-
"type": "typography"
|
|
320
|
-
},
|
|
321
|
-
"small": {
|
|
322
|
-
"value": {
|
|
323
|
-
"fontFamily": "{base.primaryFont}",
|
|
324
|
-
"lineHeight": "{core.lineHeight.140}",
|
|
325
|
-
"fontSize": "{core.fontSize.14}*{tv.typeScale.text}",
|
|
326
|
-
"fontWeight": "{base.fontWeight.default}"
|
|
327
|
-
},
|
|
328
|
-
"type": "typography"
|
|
329
|
-
},
|
|
330
|
-
"medium": {
|
|
331
|
-
"value": {
|
|
332
|
-
"fontFamily": "{base.primaryFont}",
|
|
333
|
-
"lineHeight": "{core.lineHeight.140}",
|
|
334
|
-
"fontSize": "round({core.fontSize.16}*{tv.typeScale.text})",
|
|
335
|
-
"fontWeight": "{base.fontWeight.default}"
|
|
336
|
-
},
|
|
337
|
-
"type": "typography"
|
|
338
|
-
},
|
|
339
|
-
"large": {
|
|
340
|
-
"value": {
|
|
341
|
-
"fontFamily": "{base.primaryFont}",
|
|
342
|
-
"lineHeight": "{core.lineHeight.140}",
|
|
343
|
-
"fontSize": "{core.fontSize.18}*{tv.typeScale.text}",
|
|
344
|
-
"fontWeight": "{base.fontWeight.default}"
|
|
345
|
-
},
|
|
346
|
-
"type": "typography"
|
|
347
|
-
},
|
|
348
|
-
"xLarge": {
|
|
349
|
-
"value": {
|
|
350
|
-
"fontFamily": "{base.primaryFont}",
|
|
351
|
-
"lineHeight": "{core.lineHeight.140}",
|
|
352
|
-
"fontSize": "{core.fontSize.20}*{tv.typeScale.text}",
|
|
353
|
-
"fontWeight": "{base.fontWeight.default}"
|
|
354
|
-
},
|
|
355
|
-
"type": "typography"
|
|
356
|
-
}
|
|
357
|
-
},
|
|
358
|
-
"content": {
|
|
359
|
-
"label": {
|
|
360
|
-
"value": {
|
|
361
|
-
"fontFamily": "{base.primaryFont}",
|
|
362
|
-
"fontWeight": "{base.fontWeight.bold}",
|
|
363
|
-
"lineHeight": "{core.lineHeight.130}",
|
|
364
|
-
"fontSize": "{core.fontSize.14}*{tv.typeScale.text}"
|
|
167
|
+
"fontSize": "{core.fontSize.14}*{scale.text}"
|
|
365
168
|
},
|
|
366
169
|
"type": "typography"
|
|
367
170
|
},
|
|
@@ -370,7 +173,7 @@
|
|
|
370
173
|
"fontFamily": "{base.primaryFont}",
|
|
371
174
|
"fontWeight": "{base.fontWeight.bold}",
|
|
372
175
|
"lineHeight": "{core.lineHeight.130}",
|
|
373
|
-
"fontSize": "{core.fontSize.14}*{
|
|
176
|
+
"fontSize": "{core.fontSize.14}*{scale.text}"
|
|
374
177
|
},
|
|
375
178
|
"type": "typography"
|
|
376
179
|
},
|
|
@@ -379,7 +182,7 @@
|
|
|
379
182
|
"fontFamily": "{base.primaryFont}",
|
|
380
183
|
"fontWeight": "{base.fontWeight.default}",
|
|
381
184
|
"lineHeight": "{core.lineHeight.130}",
|
|
382
|
-
"fontSize": "{core.fontSize.16}*{
|
|
185
|
+
"fontSize": "{core.fontSize.16}*{scale.text}"
|
|
383
186
|
},
|
|
384
187
|
"type": "typography"
|
|
385
188
|
},
|
|
@@ -388,7 +191,7 @@
|
|
|
388
191
|
"fontFamily": "{base.primaryFont}",
|
|
389
192
|
"fontWeight": "{base.fontWeight.default}",
|
|
390
193
|
"lineHeight": "{core.lineHeight.130}",
|
|
391
|
-
"fontSize": "{core.fontSize.14}*{
|
|
194
|
+
"fontSize": "{core.fontSize.14}*{scale.text}"
|
|
392
195
|
},
|
|
393
196
|
"type": "typography"
|
|
394
197
|
},
|
|
@@ -397,7 +200,7 @@
|
|
|
397
200
|
"fontFamily": "{base.primaryFont}",
|
|
398
201
|
"fontWeight": "{base.fontWeight.default}",
|
|
399
202
|
"lineHeight": "{core.lineHeight.130}",
|
|
400
|
-
"fontSize": "{core.fontSize.12}*{
|
|
203
|
+
"fontSize": "{core.fontSize.12}*{scale.text}"
|
|
401
204
|
},
|
|
402
205
|
"type": "typography"
|
|
403
206
|
},
|
|
@@ -406,21 +209,11 @@
|
|
|
406
209
|
"fontFamily": "{base.primaryFont}",
|
|
407
210
|
"fontWeight": "{base.fontWeight.emphasized}",
|
|
408
211
|
"lineHeight": "{core.lineHeight.130}",
|
|
409
|
-
"fontSize": "{core.fontSize.10}*{
|
|
212
|
+
"fontSize": "{core.fontSize.10}*{scale.text}"
|
|
410
213
|
},
|
|
411
214
|
"type": "typography"
|
|
412
215
|
}
|
|
413
216
|
}
|
|
414
|
-
},
|
|
415
|
-
"typeScale": {
|
|
416
|
-
"title": {
|
|
417
|
-
"value": "2",
|
|
418
|
-
"type": "number"
|
|
419
|
-
},
|
|
420
|
-
"text": {
|
|
421
|
-
"value": "1.8",
|
|
422
|
-
"type": "number"
|
|
423
|
-
}
|
|
424
217
|
}
|
|
425
218
|
}
|
|
426
219
|
}
|
package/tokens/base/ui.json
CHANGED
|
@@ -1,13 +1,5 @@
|
|
|
1
1
|
{
|
|
2
2
|
"base": {
|
|
3
|
-
"container": {
|
|
4
|
-
"borderRadius": {
|
|
5
|
-
"level1": {
|
|
6
|
-
"value": "{base.borderRadius.1}",
|
|
7
|
-
"type": "borderRadius"
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
},
|
|
11
3
|
"ui": {
|
|
12
4
|
"focus": {
|
|
13
5
|
"border": {
|
|
@@ -22,6 +14,48 @@
|
|
|
22
14
|
"value": "{core.spacing.3}",
|
|
23
15
|
"type": "spacing"
|
|
24
16
|
}
|
|
17
|
+
},
|
|
18
|
+
"spacing": {
|
|
19
|
+
"sp1": {
|
|
20
|
+
"value": "{core.spacing.4}* {scale.spacing}",
|
|
21
|
+
"type": "spacing"
|
|
22
|
+
},
|
|
23
|
+
"sp2": {
|
|
24
|
+
"value": "{core.spacing.8} * {scale.spacing}",
|
|
25
|
+
"type": "spacing"
|
|
26
|
+
},
|
|
27
|
+
"sp3": {
|
|
28
|
+
"value": "{core.spacing.12} * {scale.spacing}",
|
|
29
|
+
"type": "spacing"
|
|
30
|
+
},
|
|
31
|
+
"sp4": {
|
|
32
|
+
"value": "{core.spacing.16} * {scale.spacing}",
|
|
33
|
+
"type": "spacing"
|
|
34
|
+
},
|
|
35
|
+
"sp5": {
|
|
36
|
+
"value": "{core.spacing.24} * {scale.spacing}",
|
|
37
|
+
"type": "spacing"
|
|
38
|
+
},
|
|
39
|
+
"sp6": {
|
|
40
|
+
"value": "{core.spacing.32} * {scale.spacing}",
|
|
41
|
+
"type": "spacing"
|
|
42
|
+
},
|
|
43
|
+
"sp7": {
|
|
44
|
+
"value": "{core.spacing.40} * {scale.spacing}",
|
|
45
|
+
"type": "spacing"
|
|
46
|
+
},
|
|
47
|
+
"sp8": {
|
|
48
|
+
"value": "{core.spacing.48} * {scale.spacing}",
|
|
49
|
+
"type": "spacing"
|
|
50
|
+
},
|
|
51
|
+
"sp9": {
|
|
52
|
+
"value": "{core.spacing.56} * {scale.spacing}",
|
|
53
|
+
"type": "spacing"
|
|
54
|
+
},
|
|
55
|
+
"sp10": {
|
|
56
|
+
"value": "{core.spacing.64} * {scale.spacing}",
|
|
57
|
+
"type": "spacing"
|
|
58
|
+
}
|
|
25
59
|
}
|
|
26
60
|
}
|
|
27
61
|
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"modal": {
|
|
3
|
+
"borderRadius": {
|
|
4
|
+
"value": "{core.borderRadius.16} * {scale.corner}",
|
|
5
|
+
"type": "borderRadius"
|
|
6
|
+
},
|
|
7
|
+
"dark": {
|
|
8
|
+
"backgroundColor": {
|
|
9
|
+
"value": "{base.color.ui.dark2}",
|
|
10
|
+
"type": "color"
|
|
11
|
+
},
|
|
12
|
+
"textColor": {
|
|
13
|
+
"value": "{base.color.text.default}",
|
|
14
|
+
"type": "color"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"default": {
|
|
18
|
+
"overlayColor": {
|
|
19
|
+
"value": "{core.color.darkAlpha.95}",
|
|
20
|
+
"type": "color"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"light": {
|
|
24
|
+
"backgroundColor": {
|
|
25
|
+
"value": "{base.color.ui.white}",
|
|
26
|
+
"type": "color"
|
|
27
|
+
},
|
|
28
|
+
"textColor": {
|
|
29
|
+
"value": "{base.color.ui.dark1}",
|
|
30
|
+
"type": "color"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"padding": {
|
|
34
|
+
"value": "{base.ui.spacing.sp5}",
|
|
35
|
+
"type": "spacing"
|
|
36
|
+
},
|
|
37
|
+
"gap": {
|
|
38
|
+
"value": "{base.ui.spacing.sp4}",
|
|
39
|
+
"type": "spacing"
|
|
40
|
+
},
|
|
41
|
+
"width": {
|
|
42
|
+
"value": "640",
|
|
43
|
+
"type": "sizing"
|
|
44
|
+
},
|
|
45
|
+
"transparent": {
|
|
46
|
+
"backgroundColor": {
|
|
47
|
+
"value": "transparent",
|
|
48
|
+
"type": "color"
|
|
49
|
+
},
|
|
50
|
+
"textColor": {
|
|
51
|
+
"value": "{base.color.text.default}",
|
|
52
|
+
"type": "color"
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
package/tokens/core.json
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"core": {
|
|
3
3
|
"spacing": {
|
|
4
|
+
"1": {
|
|
5
|
+
"value": "1",
|
|
6
|
+
"type": "spacing"
|
|
7
|
+
},
|
|
8
|
+
"2": {
|
|
9
|
+
"value": "2",
|
|
10
|
+
"type": "spacing"
|
|
11
|
+
},
|
|
4
12
|
"3": {
|
|
5
13
|
"value": "3",
|
|
6
14
|
"type": "spacing"
|
|
@@ -77,10 +85,22 @@
|
|
|
77
85
|
}
|
|
78
86
|
},
|
|
79
87
|
"fontSize": {
|
|
88
|
+
"8": {
|
|
89
|
+
"value": "8",
|
|
90
|
+
"type": "fontSizes"
|
|
91
|
+
},
|
|
92
|
+
"9": {
|
|
93
|
+
"value": "9",
|
|
94
|
+
"type": "fontSizes"
|
|
95
|
+
},
|
|
80
96
|
"10": {
|
|
81
97
|
"value": "10",
|
|
82
98
|
"type": "fontSizes"
|
|
83
99
|
},
|
|
100
|
+
"11": {
|
|
101
|
+
"value": "11",
|
|
102
|
+
"type": "fontSizes"
|
|
103
|
+
},
|
|
84
104
|
"12": {
|
|
85
105
|
"value": "12",
|
|
86
106
|
"type": "fontSizes"
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"scale": {
|
|
3
|
+
"title": {
|
|
4
|
+
"value": "1.4",
|
|
5
|
+
"type": "number"
|
|
6
|
+
},
|
|
7
|
+
"text": {
|
|
8
|
+
"value": "1.1",
|
|
9
|
+
"type": "number"
|
|
10
|
+
},
|
|
11
|
+
"spacing": {
|
|
12
|
+
"value": "1.5",
|
|
13
|
+
"type": "number"
|
|
14
|
+
},
|
|
15
|
+
"corner": {
|
|
16
|
+
"value": "1.5",
|
|
17
|
+
"type": "number"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"scale": {
|
|
3
|
+
"title": {
|
|
4
|
+
"value": "1.2",
|
|
5
|
+
"type": "number"
|
|
6
|
+
},
|
|
7
|
+
"text": {
|
|
8
|
+
"value": "1",
|
|
9
|
+
"type": "number"
|
|
10
|
+
},
|
|
11
|
+
"spacing": {
|
|
12
|
+
"value": "1.2",
|
|
13
|
+
"type": "number"
|
|
14
|
+
},
|
|
15
|
+
"corner": {
|
|
16
|
+
"value": "1.2",
|
|
17
|
+
"type": "number"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"scale": {
|
|
3
|
+
"title": {
|
|
4
|
+
"value": "1",
|
|
5
|
+
"type": "number"
|
|
6
|
+
},
|
|
7
|
+
"text": {
|
|
8
|
+
"value": "1",
|
|
9
|
+
"type": "number"
|
|
10
|
+
},
|
|
11
|
+
"spacing": {
|
|
12
|
+
"value": "1",
|
|
13
|
+
"type": "number"
|
|
14
|
+
},
|
|
15
|
+
"corner": {
|
|
16
|
+
"value": "1",
|
|
17
|
+
"type": "number"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"scale": {
|
|
3
|
+
"title": {
|
|
4
|
+
"value": "2",
|
|
5
|
+
"type": "number"
|
|
6
|
+
},
|
|
7
|
+
"text": {
|
|
8
|
+
"value": "1.8",
|
|
9
|
+
"type": "number"
|
|
10
|
+
},
|
|
11
|
+
"spacing": {
|
|
12
|
+
"value": "1.5",
|
|
13
|
+
"type": "number"
|
|
14
|
+
},
|
|
15
|
+
"corner": {
|
|
16
|
+
"value": "2",
|
|
17
|
+
"type": "number"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|