@ds-mo/tokens 0.1.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/LICENSE +21 -0
- package/README.md +145 -0
- package/dist/colors.css +745 -0
- package/dist/dimensions.css +165 -0
- package/dist/effects.css +241 -0
- package/dist/globals.css +112 -0
- package/dist/index.cjs +713 -0
- package/dist/index.css +15 -0
- package/dist/index.d.ts +713 -0
- package/dist/index.mjs +713 -0
- package/dist/json/colors.json +1758 -0
- package/dist/json/dimensions.json +514 -0
- package/dist/json/effects.json +474 -0
- package/dist/json/typography.json +114 -0
- package/dist/reset.css +51 -0
- package/dist/themes/dark.css +12 -0
- package/dist/themes/light.css +13 -0
- package/dist/tokens.json +2854 -0
- package/dist/typography.css +161 -0
- package/dist/utilities.css +187 -0
- package/package.json +75 -0
|
@@ -0,0 +1,474 @@
|
|
|
1
|
+
{
|
|
2
|
+
"--effect-blur-sm": {
|
|
3
|
+
"$type": "effect",
|
|
4
|
+
"$value": "8px"
|
|
5
|
+
},
|
|
6
|
+
"--effect-blur-md": {
|
|
7
|
+
"$type": "effect",
|
|
8
|
+
"$value": "16px"
|
|
9
|
+
},
|
|
10
|
+
"--effect-blur-lg": {
|
|
11
|
+
"$type": "effect",
|
|
12
|
+
"$value": "32px"
|
|
13
|
+
},
|
|
14
|
+
"--effect-animation-duration-instant": {
|
|
15
|
+
"$type": "effect",
|
|
16
|
+
"$value": "0ms"
|
|
17
|
+
},
|
|
18
|
+
"--effect-animation-duration-short-1": {
|
|
19
|
+
"$type": "effect",
|
|
20
|
+
"$value": "50ms"
|
|
21
|
+
},
|
|
22
|
+
"--effect-animation-duration-short-2": {
|
|
23
|
+
"$type": "effect",
|
|
24
|
+
"$value": "100ms"
|
|
25
|
+
},
|
|
26
|
+
"--effect-animation-duration-short-3": {
|
|
27
|
+
"$type": "effect",
|
|
28
|
+
"$value": "200ms"
|
|
29
|
+
},
|
|
30
|
+
"--effect-animation-duration-medium-1": {
|
|
31
|
+
"$type": "effect",
|
|
32
|
+
"$value": "300ms"
|
|
33
|
+
},
|
|
34
|
+
"--effect-animation-duration-medium-2": {
|
|
35
|
+
"$type": "effect",
|
|
36
|
+
"$value": "400ms"
|
|
37
|
+
},
|
|
38
|
+
"--effect-animation-duration-medium-3": {
|
|
39
|
+
"$type": "effect",
|
|
40
|
+
"$value": "500ms"
|
|
41
|
+
},
|
|
42
|
+
"--effect-animation-duration-long-1": {
|
|
43
|
+
"$type": "effect",
|
|
44
|
+
"$value": "750ms"
|
|
45
|
+
},
|
|
46
|
+
"--effect-animation-duration-long-2": {
|
|
47
|
+
"$type": "effect",
|
|
48
|
+
"$value": "1000ms"
|
|
49
|
+
},
|
|
50
|
+
"--effect-animation-duration-long-3": {
|
|
51
|
+
"$type": "effect",
|
|
52
|
+
"$value": "2000ms"
|
|
53
|
+
},
|
|
54
|
+
"--effect-animation-delay-instant": {
|
|
55
|
+
"$type": "effect",
|
|
56
|
+
"$value": "0ms"
|
|
57
|
+
},
|
|
58
|
+
"--effect-animation-delay-short-1": {
|
|
59
|
+
"$type": "effect",
|
|
60
|
+
"$value": "200ms"
|
|
61
|
+
},
|
|
62
|
+
"--effect-animation-delay-short-2": {
|
|
63
|
+
"$type": "effect",
|
|
64
|
+
"$value": "300ms"
|
|
65
|
+
},
|
|
66
|
+
"--effect-animation-delay-short-3": {
|
|
67
|
+
"$type": "effect",
|
|
68
|
+
"$value": "400ms"
|
|
69
|
+
},
|
|
70
|
+
"--effect-animation-delay-medium-1": {
|
|
71
|
+
"$type": "effect",
|
|
72
|
+
"$value": "500ms"
|
|
73
|
+
},
|
|
74
|
+
"--effect-animation-delay-medium-2": {
|
|
75
|
+
"$type": "effect",
|
|
76
|
+
"$value": "750ms"
|
|
77
|
+
},
|
|
78
|
+
"--effect-animation-delay-medium-3": {
|
|
79
|
+
"$type": "effect",
|
|
80
|
+
"$value": "1000ms"
|
|
81
|
+
},
|
|
82
|
+
"--effect-animation-delay-long-1": {
|
|
83
|
+
"$type": "effect",
|
|
84
|
+
"$value": "2000ms"
|
|
85
|
+
},
|
|
86
|
+
"--effect-animation-delay-long-2": {
|
|
87
|
+
"$type": "effect",
|
|
88
|
+
"$value": "4000ms"
|
|
89
|
+
},
|
|
90
|
+
"--effect-animation-delay-long-3": {
|
|
91
|
+
"$type": "effect",
|
|
92
|
+
"$value": "6000ms"
|
|
93
|
+
},
|
|
94
|
+
"--effect-animation-easing-ease-in": {
|
|
95
|
+
"$type": "effect",
|
|
96
|
+
"$value": "cubic-bezier(0.47,0,0.75,0.72)"
|
|
97
|
+
},
|
|
98
|
+
"--effect-animation-easing-ease-out": {
|
|
99
|
+
"$type": "effect",
|
|
100
|
+
"$value": "cubic-bezier(0.17,0.84,0.44,1)"
|
|
101
|
+
},
|
|
102
|
+
"--effect-animation-easing-ease-in-out": {
|
|
103
|
+
"$type": "effect",
|
|
104
|
+
"$value": "cubic-bezier(0.77,0,0.18,1)"
|
|
105
|
+
},
|
|
106
|
+
"--effect-animation-easing-ease-in-out-back": {
|
|
107
|
+
"$type": "effect",
|
|
108
|
+
"$value": "cubic-bezier(0.22, 0.61, 0.01, 1.03)"
|
|
109
|
+
},
|
|
110
|
+
"--effect-motion-instant": {
|
|
111
|
+
"$type": "effect",
|
|
112
|
+
"$value": "var(--effect-animation-duration-instant) var(--effect-animation-easing-ease-in-out)"
|
|
113
|
+
},
|
|
114
|
+
"--effect-motion-short-1": {
|
|
115
|
+
"$type": "effect",
|
|
116
|
+
"$value": "var(--effect-animation-duration-short-1) var(--effect-animation-easing-ease-in-out)"
|
|
117
|
+
},
|
|
118
|
+
"--effect-motion-short-2": {
|
|
119
|
+
"$type": "effect",
|
|
120
|
+
"$value": "var(--effect-animation-duration-short-2) var(--effect-animation-easing-ease-in-out)"
|
|
121
|
+
},
|
|
122
|
+
"--effect-motion-short-3": {
|
|
123
|
+
"$type": "effect",
|
|
124
|
+
"$value": "var(--effect-animation-duration-short-3) var(--effect-animation-easing-ease-in-out)"
|
|
125
|
+
},
|
|
126
|
+
"--effect-motion-medium-1": {
|
|
127
|
+
"$type": "effect",
|
|
128
|
+
"$value": "var(--effect-animation-duration-medium-1) var(--effect-animation-easing-ease-in-out)"
|
|
129
|
+
},
|
|
130
|
+
"--effect-motion-medium-2": {
|
|
131
|
+
"$type": "effect",
|
|
132
|
+
"$value": "var(--effect-animation-duration-medium-2) var(--effect-animation-easing-ease-in-out)"
|
|
133
|
+
},
|
|
134
|
+
"--effect-motion-medium-3": {
|
|
135
|
+
"$type": "effect",
|
|
136
|
+
"$value": "var(--effect-animation-duration-medium-3) var(--effect-animation-easing-ease-in-out)"
|
|
137
|
+
},
|
|
138
|
+
"--effect-motion-long-1": {
|
|
139
|
+
"$type": "effect",
|
|
140
|
+
"$value": "var(--effect-animation-duration-long-1) var(--effect-animation-easing-ease-in-out)"
|
|
141
|
+
},
|
|
142
|
+
"--effect-motion-long-2": {
|
|
143
|
+
"$type": "effect",
|
|
144
|
+
"$value": "var(--effect-animation-duration-long-2) var(--effect-animation-easing-ease-in-out)"
|
|
145
|
+
},
|
|
146
|
+
"--effect-motion-long-3": {
|
|
147
|
+
"$type": "effect",
|
|
148
|
+
"$value": "var(--effect-animation-duration-long-3) var(--effect-animation-easing-ease-in-out)"
|
|
149
|
+
},
|
|
150
|
+
"--effect-transition-interaction-background-instant": {
|
|
151
|
+
"$type": "effect",
|
|
152
|
+
"$value": "background-color var(--effect-motion-instant)"
|
|
153
|
+
},
|
|
154
|
+
"--effect-transition-interaction-background-short-1": {
|
|
155
|
+
"$type": "effect",
|
|
156
|
+
"$value": "background-color var(--effect-motion-short-1)"
|
|
157
|
+
},
|
|
158
|
+
"--effect-transition-interaction-background-short-2": {
|
|
159
|
+
"$type": "effect",
|
|
160
|
+
"$value": "background-color var(--effect-motion-short-2)"
|
|
161
|
+
},
|
|
162
|
+
"--effect-transition-interaction-background-short-3": {
|
|
163
|
+
"$type": "effect",
|
|
164
|
+
"$value": "background-color var(--effect-motion-short-3)"
|
|
165
|
+
},
|
|
166
|
+
"--effect-transition-interaction-background-medium-1": {
|
|
167
|
+
"$type": "effect",
|
|
168
|
+
"$value": "background-color var(--effect-motion-medium-1)"
|
|
169
|
+
},
|
|
170
|
+
"--effect-transition-interaction-background-medium-2": {
|
|
171
|
+
"$type": "effect",
|
|
172
|
+
"$value": "background-color var(--effect-motion-medium-2)"
|
|
173
|
+
},
|
|
174
|
+
"--effect-transition-interaction-background-medium-3": {
|
|
175
|
+
"$type": "effect",
|
|
176
|
+
"$value": "background-color var(--effect-motion-medium-3)"
|
|
177
|
+
},
|
|
178
|
+
"--effect-transition-interaction-background-long-1": {
|
|
179
|
+
"$type": "effect",
|
|
180
|
+
"$value": "background-color var(--effect-motion-long-1)"
|
|
181
|
+
},
|
|
182
|
+
"--effect-transition-interaction-background-long-2": {
|
|
183
|
+
"$type": "effect",
|
|
184
|
+
"$value": "background-color var(--effect-motion-long-2)"
|
|
185
|
+
},
|
|
186
|
+
"--effect-transition-interaction-background-long-3": {
|
|
187
|
+
"$type": "effect",
|
|
188
|
+
"$value": "background-color var(--effect-motion-long-3)"
|
|
189
|
+
},
|
|
190
|
+
"--effect-transition-interaction-color-instant": {
|
|
191
|
+
"$type": "effect",
|
|
192
|
+
"$value": "color var(--effect-motion-instant)"
|
|
193
|
+
},
|
|
194
|
+
"--effect-transition-interaction-color-short-1": {
|
|
195
|
+
"$type": "effect",
|
|
196
|
+
"$value": "color var(--effect-motion-short-1)"
|
|
197
|
+
},
|
|
198
|
+
"--effect-transition-interaction-color-short-2": {
|
|
199
|
+
"$type": "effect",
|
|
200
|
+
"$value": "color var(--effect-motion-short-2)"
|
|
201
|
+
},
|
|
202
|
+
"--effect-transition-interaction-color-short-3": {
|
|
203
|
+
"$type": "effect",
|
|
204
|
+
"$value": "color var(--effect-motion-short-3)"
|
|
205
|
+
},
|
|
206
|
+
"--effect-transition-interaction-color-medium-1": {
|
|
207
|
+
"$type": "effect",
|
|
208
|
+
"$value": "color var(--effect-motion-medium-1)"
|
|
209
|
+
},
|
|
210
|
+
"--effect-transition-interaction-color-medium-2": {
|
|
211
|
+
"$type": "effect",
|
|
212
|
+
"$value": "color var(--effect-motion-medium-2)"
|
|
213
|
+
},
|
|
214
|
+
"--effect-transition-interaction-color-medium-3": {
|
|
215
|
+
"$type": "effect",
|
|
216
|
+
"$value": "color var(--effect-motion-medium-3)"
|
|
217
|
+
},
|
|
218
|
+
"--effect-transition-interaction-color-long-1": {
|
|
219
|
+
"$type": "effect",
|
|
220
|
+
"$value": "color var(--effect-motion-long-1)"
|
|
221
|
+
},
|
|
222
|
+
"--effect-transition-interaction-color-long-2": {
|
|
223
|
+
"$type": "effect",
|
|
224
|
+
"$value": "color var(--effect-motion-long-2)"
|
|
225
|
+
},
|
|
226
|
+
"--effect-transition-interaction-color-long-3": {
|
|
227
|
+
"$type": "effect",
|
|
228
|
+
"$value": "color var(--effect-motion-long-3)"
|
|
229
|
+
},
|
|
230
|
+
"--effect-transition-interaction-opacity-instant": {
|
|
231
|
+
"$type": "effect",
|
|
232
|
+
"$value": "opacity var(--effect-motion-instant)"
|
|
233
|
+
},
|
|
234
|
+
"--effect-transition-interaction-opacity-short-1": {
|
|
235
|
+
"$type": "effect",
|
|
236
|
+
"$value": "opacity var(--effect-motion-short-1)"
|
|
237
|
+
},
|
|
238
|
+
"--effect-transition-interaction-opacity-short-2": {
|
|
239
|
+
"$type": "effect",
|
|
240
|
+
"$value": "opacity var(--effect-motion-short-2)"
|
|
241
|
+
},
|
|
242
|
+
"--effect-transition-interaction-opacity-short-3": {
|
|
243
|
+
"$type": "effect",
|
|
244
|
+
"$value": "opacity var(--effect-motion-short-3)"
|
|
245
|
+
},
|
|
246
|
+
"--effect-transition-interaction-opacity-medium-1": {
|
|
247
|
+
"$type": "effect",
|
|
248
|
+
"$value": "opacity var(--effect-motion-medium-1)"
|
|
249
|
+
},
|
|
250
|
+
"--effect-transition-interaction-opacity-medium-2": {
|
|
251
|
+
"$type": "effect",
|
|
252
|
+
"$value": "opacity var(--effect-motion-medium-2)"
|
|
253
|
+
},
|
|
254
|
+
"--effect-transition-interaction-opacity-medium-3": {
|
|
255
|
+
"$type": "effect",
|
|
256
|
+
"$value": "opacity var(--effect-motion-medium-3)"
|
|
257
|
+
},
|
|
258
|
+
"--effect-transition-interaction-opacity-long-1": {
|
|
259
|
+
"$type": "effect",
|
|
260
|
+
"$value": "opacity var(--effect-motion-long-1)"
|
|
261
|
+
},
|
|
262
|
+
"--effect-transition-interaction-opacity-long-2": {
|
|
263
|
+
"$type": "effect",
|
|
264
|
+
"$value": "opacity var(--effect-motion-long-2)"
|
|
265
|
+
},
|
|
266
|
+
"--effect-transition-interaction-opacity-long-3": {
|
|
267
|
+
"$type": "effect",
|
|
268
|
+
"$value": "opacity var(--effect-motion-long-3)"
|
|
269
|
+
},
|
|
270
|
+
"--effect-transition-interaction-border-color-instant": {
|
|
271
|
+
"$type": "effect",
|
|
272
|
+
"$value": "border-color var(--effect-motion-instant)"
|
|
273
|
+
},
|
|
274
|
+
"--effect-transition-interaction-border-color-short-1": {
|
|
275
|
+
"$type": "effect",
|
|
276
|
+
"$value": "border-color var(--effect-motion-short-1)"
|
|
277
|
+
},
|
|
278
|
+
"--effect-transition-interaction-border-color-short-2": {
|
|
279
|
+
"$type": "effect",
|
|
280
|
+
"$value": "border-color var(--effect-motion-short-2)"
|
|
281
|
+
},
|
|
282
|
+
"--effect-transition-interaction-border-color-short-3": {
|
|
283
|
+
"$type": "effect",
|
|
284
|
+
"$value": "border-color var(--effect-motion-short-3)"
|
|
285
|
+
},
|
|
286
|
+
"--effect-transition-interaction-border-color-medium-1": {
|
|
287
|
+
"$type": "effect",
|
|
288
|
+
"$value": "border-color var(--effect-motion-medium-1)"
|
|
289
|
+
},
|
|
290
|
+
"--effect-transition-interaction-border-color-medium-2": {
|
|
291
|
+
"$type": "effect",
|
|
292
|
+
"$value": "border-color var(--effect-motion-medium-2)"
|
|
293
|
+
},
|
|
294
|
+
"--effect-transition-interaction-border-color-medium-3": {
|
|
295
|
+
"$type": "effect",
|
|
296
|
+
"$value": "border-color var(--effect-motion-medium-3)"
|
|
297
|
+
},
|
|
298
|
+
"--effect-transition-interaction-border-color-long-1": {
|
|
299
|
+
"$type": "effect",
|
|
300
|
+
"$value": "border-color var(--effect-motion-long-1)"
|
|
301
|
+
},
|
|
302
|
+
"--effect-transition-interaction-border-color-long-2": {
|
|
303
|
+
"$type": "effect",
|
|
304
|
+
"$value": "border-color var(--effect-motion-long-2)"
|
|
305
|
+
},
|
|
306
|
+
"--effect-transition-interaction-border-color-long-3": {
|
|
307
|
+
"$type": "effect",
|
|
308
|
+
"$value": "border-color var(--effect-motion-long-3)"
|
|
309
|
+
},
|
|
310
|
+
"--effect-transition-interaction-transform-instant": {
|
|
311
|
+
"$type": "effect",
|
|
312
|
+
"$value": "transform var(--effect-motion-instant)"
|
|
313
|
+
},
|
|
314
|
+
"--effect-transition-interaction-transform-short-1": {
|
|
315
|
+
"$type": "effect",
|
|
316
|
+
"$value": "transform var(--effect-motion-short-1)"
|
|
317
|
+
},
|
|
318
|
+
"--effect-transition-interaction-transform-short-2": {
|
|
319
|
+
"$type": "effect",
|
|
320
|
+
"$value": "transform var(--effect-motion-short-2)"
|
|
321
|
+
},
|
|
322
|
+
"--effect-transition-interaction-transform-short-3": {
|
|
323
|
+
"$type": "effect",
|
|
324
|
+
"$value": "transform var(--effect-motion-short-3)"
|
|
325
|
+
},
|
|
326
|
+
"--effect-transition-interaction-transform-medium-1": {
|
|
327
|
+
"$type": "effect",
|
|
328
|
+
"$value": "transform var(--effect-motion-medium-1)"
|
|
329
|
+
},
|
|
330
|
+
"--effect-transition-interaction-transform-medium-2": {
|
|
331
|
+
"$type": "effect",
|
|
332
|
+
"$value": "transform var(--effect-motion-medium-2)"
|
|
333
|
+
},
|
|
334
|
+
"--effect-transition-interaction-transform-medium-3": {
|
|
335
|
+
"$type": "effect",
|
|
336
|
+
"$value": "transform var(--effect-motion-medium-3)"
|
|
337
|
+
},
|
|
338
|
+
"--effect-transition-interaction-transform-long-1": {
|
|
339
|
+
"$type": "effect",
|
|
340
|
+
"$value": "transform var(--effect-motion-long-1)"
|
|
341
|
+
},
|
|
342
|
+
"--effect-transition-interaction-transform-long-2": {
|
|
343
|
+
"$type": "effect",
|
|
344
|
+
"$value": "transform var(--effect-motion-long-2)"
|
|
345
|
+
},
|
|
346
|
+
"--effect-transition-interaction-transform-long-3": {
|
|
347
|
+
"$type": "effect",
|
|
348
|
+
"$value": "transform var(--effect-motion-long-3)"
|
|
349
|
+
},
|
|
350
|
+
"--effect-shadow-elevated-none": {
|
|
351
|
+
"$type": "effect",
|
|
352
|
+
"$value": "none"
|
|
353
|
+
},
|
|
354
|
+
"--effect-highlight-elevated-none": {
|
|
355
|
+
"$type": "effect",
|
|
356
|
+
"$value": "none"
|
|
357
|
+
},
|
|
358
|
+
"--effect-elevation-elevated-none": {
|
|
359
|
+
"$type": "effect",
|
|
360
|
+
"$value": "none"
|
|
361
|
+
},
|
|
362
|
+
"--effect-shadow-elevated-sm": {
|
|
363
|
+
"$type": "effect",
|
|
364
|
+
"$value": "0px 2px 4px -2px var(--color-surface-shadow),\n 0px 0px 0px 1px var(--color-surface-shadow)"
|
|
365
|
+
},
|
|
366
|
+
"--effect-highlight-elevated-sm": {
|
|
367
|
+
"$type": "effect",
|
|
368
|
+
"$value": "inset 0px 4px 2px -4px var(--color-surface-highlight),\n inset 0px 0px 0px 1px var(--color-surface-highlight)"
|
|
369
|
+
},
|
|
370
|
+
"--effect-elevation-elevated-sm": {
|
|
371
|
+
"$type": "effect",
|
|
372
|
+
"$value": "var(--effect-shadow-elevated-sm),\n var(--effect-highlight-elevated-sm)"
|
|
373
|
+
},
|
|
374
|
+
"--effect-shadow-elevated-md": {
|
|
375
|
+
"$type": "effect",
|
|
376
|
+
"$value": "0px 4px 8px -2px var(--color-surface-shadow),\n 0px 0px 0px 1px var(--color-surface-shadow)"
|
|
377
|
+
},
|
|
378
|
+
"--effect-highlight-elevated-md": {
|
|
379
|
+
"$type": "effect",
|
|
380
|
+
"$value": "inset 0px 4px 2px -4px var(--color-surface-highlight),\n inset 0px 0px 0px 1px var(--color-surface-highlight)"
|
|
381
|
+
},
|
|
382
|
+
"--effect-elevation-elevated-md": {
|
|
383
|
+
"$type": "effect",
|
|
384
|
+
"$value": "var(--effect-shadow-elevated-md),\n var(--effect-highlight-elevated-md)"
|
|
385
|
+
},
|
|
386
|
+
"--effect-shadow-elevated-floating": {
|
|
387
|
+
"$type": "effect",
|
|
388
|
+
"$value": "0px 8px 16px -4px var(--color-surface-shadow),\n 0px 0px 0px 1px var(--color-surface-shadow)"
|
|
389
|
+
},
|
|
390
|
+
"--effect-highlight-elevated-floating": {
|
|
391
|
+
"$type": "effect",
|
|
392
|
+
"$value": "inset 0px 4px 2px -4px var(--color-surface-highlight),\n inset 0px 0px 0px 1px var(--color-surface-highlight)"
|
|
393
|
+
},
|
|
394
|
+
"--effect-elevation-elevated-floating": {
|
|
395
|
+
"$type": "effect",
|
|
396
|
+
"$value": "var(--effect-shadow-elevated-floating),\n var(--effect-highlight-elevated-floating)"
|
|
397
|
+
},
|
|
398
|
+
"--effect-shadow-depressed-sm": {
|
|
399
|
+
"$type": "effect",
|
|
400
|
+
"$value": "0px -4px 2px -4px var(--color-surface-shadow),\n 0px 4px 2px -4px var(--color-surface-highlight),\n 0px 0px 0px 1px var(--color-surface-highlight)"
|
|
401
|
+
},
|
|
402
|
+
"--effect-highlight-depressed-sm": {
|
|
403
|
+
"$type": "effect",
|
|
404
|
+
"$value": "inset 0px 2px 4px -2px var(--color-surface-shadow),\n inset 0px 0px 0px 1px var(--color-surface-shadow)"
|
|
405
|
+
},
|
|
406
|
+
"--effect-elevation-depressed-sm": {
|
|
407
|
+
"$type": "effect",
|
|
408
|
+
"$value": "var(--effect-shadow-depressed-sm),\n var(--effect-highlight-depressed-sm)"
|
|
409
|
+
},
|
|
410
|
+
"--effect-shadow-depressed-md": {
|
|
411
|
+
"$type": "effect",
|
|
412
|
+
"$value": "0px -4px 2px -4px var(--color-surface-shadow),\n 0px 4px 2px -4px var(--color-surface-highlight),\n 0px 0px 0px 1px var(--color-surface-highlight)"
|
|
413
|
+
},
|
|
414
|
+
"--effect-highlight-depressed-md": {
|
|
415
|
+
"$type": "effect",
|
|
416
|
+
"$value": "inset 0px 4px 8px -4px var(--color-surface-shadow),\n inset 0px 0px 0px 1px var(--color-surface-shadow)"
|
|
417
|
+
},
|
|
418
|
+
"--effect-elevation-depressed-md": {
|
|
419
|
+
"$type": "effect",
|
|
420
|
+
"$value": "var(--effect-shadow-depressed-md),\n var(--effect-highlight-depressed-md)"
|
|
421
|
+
},
|
|
422
|
+
"--effect-shadow-elevated-panel-top": {
|
|
423
|
+
"$type": "effect",
|
|
424
|
+
"$value": "0px 4px 8px 0px var(--color-surface-shadow),\n 0px 0px 0px 1px var(--color-surface-shadow)"
|
|
425
|
+
},
|
|
426
|
+
"--effect-highlight-elevated-panel-top": {
|
|
427
|
+
"$type": "effect",
|
|
428
|
+
"$value": "inset 0px -4px 2px -4px var(--color-surface-highlight),\n inset 0px -1px 0px 0px var(--color-surface-highlight)"
|
|
429
|
+
},
|
|
430
|
+
"--effect-elevation-elevated-panel-top": {
|
|
431
|
+
"$type": "effect",
|
|
432
|
+
"$value": "var(--effect-shadow-elevated-panel-top),\n var(--effect-highlight-elevated-panel-top)"
|
|
433
|
+
},
|
|
434
|
+
"--effect-shadow-elevated-panel-right": {
|
|
435
|
+
"$type": "effect",
|
|
436
|
+
"$value": "-4px 0px 8px -2px var(--color-surface-shadow),\n 0px 0px 0px 1px var(--color-surface-shadow)"
|
|
437
|
+
},
|
|
438
|
+
"--effect-highlight-elevated-panel-right": {
|
|
439
|
+
"$type": "effect",
|
|
440
|
+
"$value": "inset 4px 0px 2px -4px var(--color-surface-highlight),\n inset 1px 0px 0px 0px var(--color-surface-highlight)"
|
|
441
|
+
},
|
|
442
|
+
"--effect-elevation-elevated-panel-right": {
|
|
443
|
+
"$type": "effect",
|
|
444
|
+
"$value": "var(--effect-shadow-elevated-panel-right),\n var(--effect-highlight-elevated-panel-right)"
|
|
445
|
+
},
|
|
446
|
+
"--effect-shadow-elevated-panel-bottom": {
|
|
447
|
+
"$type": "effect",
|
|
448
|
+
"$value": "0px -4px 8px 0px var(--color-surface-shadow),\n 0px 0px 0px 1px var(--color-surface-shadow)"
|
|
449
|
+
},
|
|
450
|
+
"--effect-highlight-elevated-panel-bottom": {
|
|
451
|
+
"$type": "effect",
|
|
452
|
+
"$value": "inset 0px 4px 2px -4px var(--color-surface-highlight),\n inset 0px 1px 0px 0px var(--color-surface-highlight)"
|
|
453
|
+
},
|
|
454
|
+
"--effect-elevation-elevated-panel-bottom": {
|
|
455
|
+
"$type": "effect",
|
|
456
|
+
"$value": "var(--effect-shadow-elevated-panel-bottom),\n var(--effect-highlight-elevated-panel-bottom)"
|
|
457
|
+
},
|
|
458
|
+
"--effect-shadow-elevated-panel-left": {
|
|
459
|
+
"$type": "effect",
|
|
460
|
+
"$value": "4px 0px 8px -2px var(--color-surface-shadow),\n 0px 0px 0px 1px var(--color-surface-shadow)"
|
|
461
|
+
},
|
|
462
|
+
"--effect-highlight-elevated-panel-left": {
|
|
463
|
+
"$type": "effect",
|
|
464
|
+
"$value": "inset -4px 0px 2px -4px var(--color-surface-highlight),\n inset -1px 0px 0px 0px var(--color-surface-highlight)"
|
|
465
|
+
},
|
|
466
|
+
"--effect-elevation-elevated-panel-left": {
|
|
467
|
+
"$type": "effect",
|
|
468
|
+
"$value": "var(--effect-shadow-elevated-panel-left),\n var(--effect-highlight-elevated-panel-left)"
|
|
469
|
+
},
|
|
470
|
+
"--effect-focus-ring": {
|
|
471
|
+
"$type": "effect",
|
|
472
|
+
"$value": "0 0 0 var(--dimension-space-025) transparent,\n 0 0 0 calc(var(--dimension-space-025) + var(--dimension-stroke-width-025)) var(--color-foreground-medium-brand)"
|
|
473
|
+
}
|
|
474
|
+
}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
{
|
|
2
|
+
"--typography-weight-regular": {
|
|
3
|
+
"$type": "typography",
|
|
4
|
+
"$value": "400"
|
|
5
|
+
},
|
|
6
|
+
"--typography-weight-medium": {
|
|
7
|
+
"$type": "typography",
|
|
8
|
+
"$value": "500"
|
|
9
|
+
},
|
|
10
|
+
"--typography-weight-semibold": {
|
|
11
|
+
"$type": "typography",
|
|
12
|
+
"$value": "600"
|
|
13
|
+
},
|
|
14
|
+
"--typography-weight-bold": {
|
|
15
|
+
"$type": "typography",
|
|
16
|
+
"$value": "700"
|
|
17
|
+
},
|
|
18
|
+
"--typography-fontsize-xs": {
|
|
19
|
+
"$type": "typography",
|
|
20
|
+
"$value": "9px"
|
|
21
|
+
},
|
|
22
|
+
"--typography-fontsize-sm": {
|
|
23
|
+
"$type": "typography",
|
|
24
|
+
"$value": "12px"
|
|
25
|
+
},
|
|
26
|
+
"--typography-fontsize-md": {
|
|
27
|
+
"$type": "typography",
|
|
28
|
+
"$value": "14px"
|
|
29
|
+
},
|
|
30
|
+
"--typography-fontsize-lg": {
|
|
31
|
+
"$type": "typography",
|
|
32
|
+
"$value": "18px"
|
|
33
|
+
},
|
|
34
|
+
"--typography-fontsize-xl": {
|
|
35
|
+
"$type": "typography",
|
|
36
|
+
"$value": "24px"
|
|
37
|
+
},
|
|
38
|
+
"--typography-fontsize-2xl": {
|
|
39
|
+
"$type": "typography",
|
|
40
|
+
"$value": "32px"
|
|
41
|
+
},
|
|
42
|
+
"--typography-fontsize-3xl": {
|
|
43
|
+
"$type": "typography",
|
|
44
|
+
"$value": "44px"
|
|
45
|
+
},
|
|
46
|
+
"--typography-lineheight-xs": {
|
|
47
|
+
"$type": "typography",
|
|
48
|
+
"$value": "12px"
|
|
49
|
+
},
|
|
50
|
+
"--typography-lineheight-sm": {
|
|
51
|
+
"$type": "typography",
|
|
52
|
+
"$value": "16px"
|
|
53
|
+
},
|
|
54
|
+
"--typography-lineheight-md": {
|
|
55
|
+
"$type": "typography",
|
|
56
|
+
"$value": "20px"
|
|
57
|
+
},
|
|
58
|
+
"--typography-lineheight-lg": {
|
|
59
|
+
"$type": "typography",
|
|
60
|
+
"$value": "24px"
|
|
61
|
+
},
|
|
62
|
+
"--typography-lineheight-xl": {
|
|
63
|
+
"$type": "typography",
|
|
64
|
+
"$value": "32px"
|
|
65
|
+
},
|
|
66
|
+
"--typography-lineheight-2xl": {
|
|
67
|
+
"$type": "typography",
|
|
68
|
+
"$value": "48px"
|
|
69
|
+
},
|
|
70
|
+
"--typography-lineheight-3xl": {
|
|
71
|
+
"$type": "typography",
|
|
72
|
+
"$value": "64px"
|
|
73
|
+
},
|
|
74
|
+
"--typography-letterspacing-none": {
|
|
75
|
+
"$type": "typography",
|
|
76
|
+
"$value": "0px"
|
|
77
|
+
},
|
|
78
|
+
"--typography-letterspacing-positive": {
|
|
79
|
+
"$type": "typography",
|
|
80
|
+
"$value": "0.3px"
|
|
81
|
+
},
|
|
82
|
+
"--typography-letterspacing-negative-half": {
|
|
83
|
+
"$type": "typography",
|
|
84
|
+
"$value": "-0.15px"
|
|
85
|
+
},
|
|
86
|
+
"--typography-letterspacing-negative": {
|
|
87
|
+
"$type": "typography",
|
|
88
|
+
"$value": "-0.3px"
|
|
89
|
+
},
|
|
90
|
+
"--typography-letterspacing-negative-double": {
|
|
91
|
+
"$type": "typography",
|
|
92
|
+
"$value": "-0.6px"
|
|
93
|
+
},
|
|
94
|
+
"--typography-paragraphspacing-none": {
|
|
95
|
+
"$type": "typography",
|
|
96
|
+
"$value": "0px"
|
|
97
|
+
},
|
|
98
|
+
"--typography-paragraphspacing-sm": {
|
|
99
|
+
"$type": "typography",
|
|
100
|
+
"$value": "4px"
|
|
101
|
+
},
|
|
102
|
+
"--typography-paragraphspacing-md": {
|
|
103
|
+
"$type": "typography",
|
|
104
|
+
"$value": "8px"
|
|
105
|
+
},
|
|
106
|
+
"--typography-paragraphspacing-lg": {
|
|
107
|
+
"$type": "typography",
|
|
108
|
+
"$value": "12px"
|
|
109
|
+
},
|
|
110
|
+
"--typography-font-family": {
|
|
111
|
+
"$type": "typography",
|
|
112
|
+
"$value": "'Inter', sans-serif"
|
|
113
|
+
}
|
|
114
|
+
}
|
package/dist/reset.css
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/* CSS Reset */
|
|
2
|
+
*,
|
|
3
|
+
*::before,
|
|
4
|
+
*::after {
|
|
5
|
+
box-sizing: border-box;
|
|
6
|
+
margin: 0;
|
|
7
|
+
padding: 0;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
body {
|
|
11
|
+
line-height: 1.5;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
* {
|
|
15
|
+
-webkit-font-smoothing: antialiased;
|
|
16
|
+
-moz-osx-font-smoothing: grayscale;
|
|
17
|
+
text-rendering: optimizeLegibility;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
img,
|
|
21
|
+
picture,
|
|
22
|
+
video,
|
|
23
|
+
canvas,
|
|
24
|
+
svg {
|
|
25
|
+
display: block;
|
|
26
|
+
max-width: 100%;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
input,
|
|
30
|
+
button,
|
|
31
|
+
textarea,
|
|
32
|
+
select {
|
|
33
|
+
font: inherit;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
p,
|
|
37
|
+
h1,
|
|
38
|
+
h2,
|
|
39
|
+
h3,
|
|
40
|
+
h4,
|
|
41
|
+
h5,
|
|
42
|
+
h6 {
|
|
43
|
+
overflow-wrap: break-word;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
#root {
|
|
47
|
+
isolation: isolate;
|
|
48
|
+
height: 100%;
|
|
49
|
+
width: 100%;
|
|
50
|
+
}
|
|
51
|
+
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dark theme
|
|
3
|
+
*
|
|
4
|
+
* Dark theme overrides are included in colors.css under :root[data-theme="dark"].
|
|
5
|
+
* This file exists for documentation and explicit import purposes.
|
|
6
|
+
*
|
|
7
|
+
* To activate dark theme, set data-theme="dark" on the <html> element:
|
|
8
|
+
* document.documentElement.setAttribute('data-theme', 'dark');
|
|
9
|
+
*/
|
|
10
|
+
:root[data-theme='dark'] {
|
|
11
|
+
color-scheme: dark;
|
|
12
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Light theme (default)
|
|
3
|
+
*
|
|
4
|
+
* Light theme tokens are included in colors.css by default under :root.
|
|
5
|
+
* This file exists for explicit theme switching use cases where you want
|
|
6
|
+
* to force light theme on a specific subtree:
|
|
7
|
+
*
|
|
8
|
+
* <div data-theme="light"> ... </div>
|
|
9
|
+
*/
|
|
10
|
+
:root,
|
|
11
|
+
[data-theme='light'] {
|
|
12
|
+
color-scheme: light;
|
|
13
|
+
}
|