@usefidel/design-system 0.2.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/README.md +14 -0
- package/dist/admin.css +113 -0
- package/dist/extension.css +113 -0
- package/dist/fidel.manifest.json +15 -0
- package/dist/index.cjs +54 -0
- package/dist/index.css +125 -0
- package/dist/index.d.cts +23 -0
- package/dist/index.d.ts +23 -0
- package/dist/index.js +27 -0
- package/dist/landing.css +113 -0
- package/dist/theme.css +115 -0
- package/dist/webapp.css +113 -0
- package/package.json +55 -0
- package/tokens/tokens.json +558 -0
|
@@ -0,0 +1,558 @@
|
|
|
1
|
+
{
|
|
2
|
+
"color": {
|
|
3
|
+
"bg": {
|
|
4
|
+
"$value": "#ffffff",
|
|
5
|
+
"$type": "color"
|
|
6
|
+
},
|
|
7
|
+
"surface": {
|
|
8
|
+
"$value": "#fff7ed",
|
|
9
|
+
"$type": "color",
|
|
10
|
+
"$extensions": {
|
|
11
|
+
"fidel": {
|
|
12
|
+
"surface": {
|
|
13
|
+
"extension": "#f7f8fa"
|
|
14
|
+
},
|
|
15
|
+
"surfaceDivergent": true
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"surface-hover": {
|
|
20
|
+
"$value": "#ffedd5",
|
|
21
|
+
"$type": "color",
|
|
22
|
+
"$extensions": {
|
|
23
|
+
"fidel": {
|
|
24
|
+
"surface": {
|
|
25
|
+
"extension": "#f1f4f7"
|
|
26
|
+
},
|
|
27
|
+
"surfaceDivergent": true
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"surface-raised": {
|
|
32
|
+
"$value": "#ffffff",
|
|
33
|
+
"$type": "color"
|
|
34
|
+
},
|
|
35
|
+
"text": {
|
|
36
|
+
"$value": "#171717",
|
|
37
|
+
"$type": "color",
|
|
38
|
+
"$extensions": {
|
|
39
|
+
"fidel": {
|
|
40
|
+
"surface": {
|
|
41
|
+
"extension": "#0f172a"
|
|
42
|
+
},
|
|
43
|
+
"surfaceDivergent": true
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"text-secondary": {
|
|
48
|
+
"$value": "#525252",
|
|
49
|
+
"$type": "color",
|
|
50
|
+
"$extensions": {
|
|
51
|
+
"fidel": {
|
|
52
|
+
"surface": {
|
|
53
|
+
"extension": "#475569"
|
|
54
|
+
},
|
|
55
|
+
"surfaceDivergent": true
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"text-muted": {
|
|
60
|
+
"$value": "#a3a3a3",
|
|
61
|
+
"$type": "color"
|
|
62
|
+
},
|
|
63
|
+
"border": {
|
|
64
|
+
"$value": "#e5e5e5",
|
|
65
|
+
"$type": "color",
|
|
66
|
+
"$extensions": {
|
|
67
|
+
"fidel": {
|
|
68
|
+
"surface": {
|
|
69
|
+
"extension": "#e2e5ea"
|
|
70
|
+
},
|
|
71
|
+
"surfaceDivergent": true
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"border-light": {
|
|
76
|
+
"$value": "#f5f5f5",
|
|
77
|
+
"$type": "color",
|
|
78
|
+
"$extensions": {
|
|
79
|
+
"fidel": {
|
|
80
|
+
"surface": {
|
|
81
|
+
"extension": "#ebeff3"
|
|
82
|
+
},
|
|
83
|
+
"surfaceDivergent": true
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
"border-strong": {
|
|
88
|
+
"$value": "#d4d4d4",
|
|
89
|
+
"$type": "color",
|
|
90
|
+
"$extensions": {
|
|
91
|
+
"fidel": {
|
|
92
|
+
"surface": {
|
|
93
|
+
"extension": "#d1d5db"
|
|
94
|
+
},
|
|
95
|
+
"surfaceDivergent": true
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
"border-focus": {
|
|
100
|
+
"$value": "#ea580c",
|
|
101
|
+
"$type": "color"
|
|
102
|
+
},
|
|
103
|
+
"accent": {
|
|
104
|
+
"$value": "#ea580c",
|
|
105
|
+
"$type": "color"
|
|
106
|
+
},
|
|
107
|
+
"accent-hover": {
|
|
108
|
+
"$value": "#c2410c",
|
|
109
|
+
"$type": "color"
|
|
110
|
+
},
|
|
111
|
+
"accent-subtle": {
|
|
112
|
+
"$value": "#ffedd5",
|
|
113
|
+
"$type": "color"
|
|
114
|
+
},
|
|
115
|
+
"accent-muted": {
|
|
116
|
+
"$value": "#fb923c",
|
|
117
|
+
"$type": "color"
|
|
118
|
+
},
|
|
119
|
+
"accent-text": {
|
|
120
|
+
"$value": "#c2410c",
|
|
121
|
+
"$type": "color"
|
|
122
|
+
},
|
|
123
|
+
"primary": {
|
|
124
|
+
"$value": "#171717",
|
|
125
|
+
"$type": "color",
|
|
126
|
+
"$extensions": {
|
|
127
|
+
"fidel": {
|
|
128
|
+
"surface": {
|
|
129
|
+
"extension": "#0f172a"
|
|
130
|
+
},
|
|
131
|
+
"surfaceDivergent": true
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
"primary-hover": {
|
|
136
|
+
"$value": "#262626",
|
|
137
|
+
"$type": "color",
|
|
138
|
+
"$extensions": {
|
|
139
|
+
"fidel": {
|
|
140
|
+
"surface": {
|
|
141
|
+
"extension": "#1e293b"
|
|
142
|
+
},
|
|
143
|
+
"surfaceDivergent": true
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
"primary-text": {
|
|
148
|
+
"$value": "#ffffff",
|
|
149
|
+
"$type": "color"
|
|
150
|
+
},
|
|
151
|
+
"critical": {
|
|
152
|
+
"$value": "#ef4444",
|
|
153
|
+
"$type": "color"
|
|
154
|
+
},
|
|
155
|
+
"high": {
|
|
156
|
+
"$value": "#f59e0b",
|
|
157
|
+
"$type": "color"
|
|
158
|
+
},
|
|
159
|
+
"high-bg": {
|
|
160
|
+
"$value": "#fffbeb",
|
|
161
|
+
"$type": "color"
|
|
162
|
+
},
|
|
163
|
+
"high-text": {
|
|
164
|
+
"$value": "#92400e",
|
|
165
|
+
"$type": "color"
|
|
166
|
+
},
|
|
167
|
+
"medium": {
|
|
168
|
+
"$value": "#94a3b8",
|
|
169
|
+
"$type": "color"
|
|
170
|
+
},
|
|
171
|
+
"medium-bg": {
|
|
172
|
+
"$value": "#f8fafc",
|
|
173
|
+
"$type": "color"
|
|
174
|
+
},
|
|
175
|
+
"medium-text": {
|
|
176
|
+
"$value": "#64748b",
|
|
177
|
+
"$type": "color"
|
|
178
|
+
},
|
|
179
|
+
"low": {
|
|
180
|
+
"$value": "#10b981",
|
|
181
|
+
"$type": "color"
|
|
182
|
+
},
|
|
183
|
+
"success": {
|
|
184
|
+
"$value": "#059669",
|
|
185
|
+
"$type": "color"
|
|
186
|
+
},
|
|
187
|
+
"success-bg": {
|
|
188
|
+
"$value": "#f0fdf4",
|
|
189
|
+
"$type": "color"
|
|
190
|
+
},
|
|
191
|
+
"success-text": {
|
|
192
|
+
"$value": "#15803d",
|
|
193
|
+
"$type": "color"
|
|
194
|
+
},
|
|
195
|
+
"warning": {
|
|
196
|
+
"$value": "#ca8a04",
|
|
197
|
+
"$type": "color"
|
|
198
|
+
},
|
|
199
|
+
"warning-bg": {
|
|
200
|
+
"$value": "#fffbeb",
|
|
201
|
+
"$type": "color"
|
|
202
|
+
},
|
|
203
|
+
"warning-text": {
|
|
204
|
+
"$value": "#92400e",
|
|
205
|
+
"$type": "color"
|
|
206
|
+
},
|
|
207
|
+
"warning-border": {
|
|
208
|
+
"$value": "#fde68a",
|
|
209
|
+
"$type": "color"
|
|
210
|
+
},
|
|
211
|
+
"error": {
|
|
212
|
+
"$value": "#b91c1c",
|
|
213
|
+
"$type": "color"
|
|
214
|
+
},
|
|
215
|
+
"error-bg": {
|
|
216
|
+
"$value": "#fef2f2",
|
|
217
|
+
"$type": "color"
|
|
218
|
+
},
|
|
219
|
+
"error-text": {
|
|
220
|
+
"$value": "#991b1b",
|
|
221
|
+
"$type": "color"
|
|
222
|
+
},
|
|
223
|
+
"error-border": {
|
|
224
|
+
"$value": "#fecaca",
|
|
225
|
+
"$type": "color"
|
|
226
|
+
},
|
|
227
|
+
"expected-bg": {
|
|
228
|
+
"$value": "#f0fdf4",
|
|
229
|
+
"$type": "color"
|
|
230
|
+
},
|
|
231
|
+
"expected-text": {
|
|
232
|
+
"$value": "#15803d",
|
|
233
|
+
"$type": "color"
|
|
234
|
+
},
|
|
235
|
+
"actual-bg": {
|
|
236
|
+
"$value": "#fef2f2",
|
|
237
|
+
"$type": "color"
|
|
238
|
+
},
|
|
239
|
+
"actual-text": {
|
|
240
|
+
"$value": "#dc2626",
|
|
241
|
+
"$type": "color"
|
|
242
|
+
},
|
|
243
|
+
"focus": {
|
|
244
|
+
"$value": "#ea580c",
|
|
245
|
+
"$type": "color"
|
|
246
|
+
},
|
|
247
|
+
"info": {
|
|
248
|
+
"$value": "#1d4ed8",
|
|
249
|
+
"$type": "color"
|
|
250
|
+
}
|
|
251
|
+
},
|
|
252
|
+
"font": {
|
|
253
|
+
"display": {
|
|
254
|
+
"$value": "'Rethink Sans', system-ui, -apple-system, sans-serif",
|
|
255
|
+
"$type": "fontFamily"
|
|
256
|
+
},
|
|
257
|
+
"body": {
|
|
258
|
+
"$value": "'Rethink Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif",
|
|
259
|
+
"$type": "fontFamily"
|
|
260
|
+
},
|
|
261
|
+
"mono": {
|
|
262
|
+
"$value": "'JetBrains Mono', 'SF Mono', 'Fira Code', 'Cascadia Code', monospace",
|
|
263
|
+
"$type": "fontFamily"
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
"radius": {
|
|
267
|
+
"xs": {
|
|
268
|
+
"$value": "4px",
|
|
269
|
+
"$type": "dimension"
|
|
270
|
+
},
|
|
271
|
+
"sm": {
|
|
272
|
+
"$value": "6px",
|
|
273
|
+
"$type": "dimension"
|
|
274
|
+
},
|
|
275
|
+
"md": {
|
|
276
|
+
"$value": "8px",
|
|
277
|
+
"$type": "dimension"
|
|
278
|
+
},
|
|
279
|
+
"lg": {
|
|
280
|
+
"$value": "12px",
|
|
281
|
+
"$type": "dimension"
|
|
282
|
+
},
|
|
283
|
+
"xl": {
|
|
284
|
+
"$value": "16px",
|
|
285
|
+
"$type": "dimension"
|
|
286
|
+
},
|
|
287
|
+
"pill": {
|
|
288
|
+
"$value": "9999px",
|
|
289
|
+
"$type": "dimension",
|
|
290
|
+
"$extensions": {
|
|
291
|
+
"fidel": {
|
|
292
|
+
"surface": {
|
|
293
|
+
"extension": "20px"
|
|
294
|
+
},
|
|
295
|
+
"surfaceDivergent": true
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
},
|
|
299
|
+
"full": {
|
|
300
|
+
"$value": "9999px",
|
|
301
|
+
"$type": "dimension"
|
|
302
|
+
}
|
|
303
|
+
},
|
|
304
|
+
"spacing": {
|
|
305
|
+
"1": {
|
|
306
|
+
"$value": "4px",
|
|
307
|
+
"$type": "dimension"
|
|
308
|
+
},
|
|
309
|
+
"2": {
|
|
310
|
+
"$value": "8px",
|
|
311
|
+
"$type": "dimension"
|
|
312
|
+
},
|
|
313
|
+
"3": {
|
|
314
|
+
"$value": "12px",
|
|
315
|
+
"$type": "dimension"
|
|
316
|
+
},
|
|
317
|
+
"4": {
|
|
318
|
+
"$value": "16px",
|
|
319
|
+
"$type": "dimension"
|
|
320
|
+
},
|
|
321
|
+
"5": {
|
|
322
|
+
"$value": "20px",
|
|
323
|
+
"$type": "dimension"
|
|
324
|
+
},
|
|
325
|
+
"6": {
|
|
326
|
+
"$value": "24px",
|
|
327
|
+
"$type": "dimension"
|
|
328
|
+
},
|
|
329
|
+
"8": {
|
|
330
|
+
"$value": "32px",
|
|
331
|
+
"$type": "dimension"
|
|
332
|
+
},
|
|
333
|
+
"10": {
|
|
334
|
+
"$value": "40px",
|
|
335
|
+
"$type": "dimension"
|
|
336
|
+
},
|
|
337
|
+
"12": {
|
|
338
|
+
"$value": "48px",
|
|
339
|
+
"$type": "dimension"
|
|
340
|
+
},
|
|
341
|
+
"16": {
|
|
342
|
+
"$value": "64px",
|
|
343
|
+
"$type": "dimension"
|
|
344
|
+
}
|
|
345
|
+
},
|
|
346
|
+
"fontSize": {
|
|
347
|
+
"body": {
|
|
348
|
+
"$value": "14px",
|
|
349
|
+
"$type": "dimension",
|
|
350
|
+
"$extensions": {
|
|
351
|
+
"fidel": {
|
|
352
|
+
"surface": {
|
|
353
|
+
"extension": "13px"
|
|
354
|
+
},
|
|
355
|
+
"surfaceDivergent": true
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
},
|
|
359
|
+
"display-2xl": {
|
|
360
|
+
"$value": "70px",
|
|
361
|
+
"$type": "dimension"
|
|
362
|
+
},
|
|
363
|
+
"display-xl": {
|
|
364
|
+
"$value": "60px",
|
|
365
|
+
"$type": "dimension"
|
|
366
|
+
},
|
|
367
|
+
"display-lg": {
|
|
368
|
+
"$value": "48px",
|
|
369
|
+
"$type": "dimension"
|
|
370
|
+
},
|
|
371
|
+
"display-md": {
|
|
372
|
+
"$value": "36px",
|
|
373
|
+
"$type": "dimension"
|
|
374
|
+
},
|
|
375
|
+
"display-sm": {
|
|
376
|
+
"$value": "30px",
|
|
377
|
+
"$type": "dimension"
|
|
378
|
+
},
|
|
379
|
+
"display-xs": {
|
|
380
|
+
"$value": "24px",
|
|
381
|
+
"$type": "dimension"
|
|
382
|
+
},
|
|
383
|
+
"text-xl": {
|
|
384
|
+
"$value": "20px",
|
|
385
|
+
"$type": "dimension"
|
|
386
|
+
},
|
|
387
|
+
"text-lg": {
|
|
388
|
+
"$value": "18px",
|
|
389
|
+
"$type": "dimension"
|
|
390
|
+
},
|
|
391
|
+
"text-md": {
|
|
392
|
+
"$value": "16px",
|
|
393
|
+
"$type": "dimension"
|
|
394
|
+
},
|
|
395
|
+
"text-sm": {
|
|
396
|
+
"$value": "14px",
|
|
397
|
+
"$type": "dimension"
|
|
398
|
+
},
|
|
399
|
+
"text-xs": {
|
|
400
|
+
"$value": "12px",
|
|
401
|
+
"$type": "dimension"
|
|
402
|
+
},
|
|
403
|
+
"label-sm": {
|
|
404
|
+
"$value": "14px",
|
|
405
|
+
"$type": "dimension"
|
|
406
|
+
},
|
|
407
|
+
"label-xs": {
|
|
408
|
+
"$value": "12px",
|
|
409
|
+
"$type": "dimension"
|
|
410
|
+
}
|
|
411
|
+
},
|
|
412
|
+
"lineHeight": {
|
|
413
|
+
"body": {
|
|
414
|
+
"$value": "1.6",
|
|
415
|
+
"$type": "number",
|
|
416
|
+
"$extensions": {
|
|
417
|
+
"fidel": {
|
|
418
|
+
"surface": {
|
|
419
|
+
"extension": "1.5"
|
|
420
|
+
},
|
|
421
|
+
"surfaceDivergent": true
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
|
+
},
|
|
425
|
+
"display-2xl": {
|
|
426
|
+
"$value": "78px",
|
|
427
|
+
"$type": "dimension"
|
|
428
|
+
},
|
|
429
|
+
"display-xl": {
|
|
430
|
+
"$value": "68px",
|
|
431
|
+
"$type": "dimension"
|
|
432
|
+
},
|
|
433
|
+
"display-lg": {
|
|
434
|
+
"$value": "56px",
|
|
435
|
+
"$type": "dimension"
|
|
436
|
+
},
|
|
437
|
+
"display-md": {
|
|
438
|
+
"$value": "44px",
|
|
439
|
+
"$type": "dimension"
|
|
440
|
+
},
|
|
441
|
+
"display-sm": {
|
|
442
|
+
"$value": "38px",
|
|
443
|
+
"$type": "dimension"
|
|
444
|
+
},
|
|
445
|
+
"display-xs": {
|
|
446
|
+
"$value": "32px",
|
|
447
|
+
"$type": "dimension"
|
|
448
|
+
},
|
|
449
|
+
"text-xl": {
|
|
450
|
+
"$value": "28px",
|
|
451
|
+
"$type": "dimension"
|
|
452
|
+
},
|
|
453
|
+
"text-lg": {
|
|
454
|
+
"$value": "26px",
|
|
455
|
+
"$type": "dimension"
|
|
456
|
+
},
|
|
457
|
+
"text-md": {
|
|
458
|
+
"$value": "24px",
|
|
459
|
+
"$type": "dimension"
|
|
460
|
+
},
|
|
461
|
+
"text-sm": {
|
|
462
|
+
"$value": "22px",
|
|
463
|
+
"$type": "dimension"
|
|
464
|
+
},
|
|
465
|
+
"text-xs": {
|
|
466
|
+
"$value": "18px",
|
|
467
|
+
"$type": "dimension"
|
|
468
|
+
},
|
|
469
|
+
"label-sm": {
|
|
470
|
+
"$value": "22px",
|
|
471
|
+
"$type": "dimension"
|
|
472
|
+
},
|
|
473
|
+
"label-xs": {
|
|
474
|
+
"$value": "18px",
|
|
475
|
+
"$type": "dimension"
|
|
476
|
+
}
|
|
477
|
+
},
|
|
478
|
+
"duration": {
|
|
479
|
+
"instant": {
|
|
480
|
+
"$value": "80ms",
|
|
481
|
+
"$type": "duration"
|
|
482
|
+
},
|
|
483
|
+
"quick": {
|
|
484
|
+
"$value": "150ms",
|
|
485
|
+
"$type": "duration"
|
|
486
|
+
},
|
|
487
|
+
"moderate": {
|
|
488
|
+
"$value": "280ms",
|
|
489
|
+
"$type": "duration"
|
|
490
|
+
},
|
|
491
|
+
"slow": {
|
|
492
|
+
"$value": "450ms",
|
|
493
|
+
"$type": "duration"
|
|
494
|
+
}
|
|
495
|
+
},
|
|
496
|
+
"ease": {
|
|
497
|
+
"out": {
|
|
498
|
+
"$value": "cubic-bezier(0.16, 1, 0.3, 1)",
|
|
499
|
+
"$type": "cubicBezier"
|
|
500
|
+
},
|
|
501
|
+
"spring": {
|
|
502
|
+
"$value": "cubic-bezier(0.34, 1.56, 0.64, 1)",
|
|
503
|
+
"$type": "cubicBezier"
|
|
504
|
+
}
|
|
505
|
+
},
|
|
506
|
+
"shadow": {
|
|
507
|
+
"xs": {
|
|
508
|
+
"$value": "0 1px 2px rgba(0, 0, 0, 0.04)",
|
|
509
|
+
"$type": "shadow"
|
|
510
|
+
},
|
|
511
|
+
"sm": {
|
|
512
|
+
"$value": "0 1px 2px rgba(0, 0, 0, 0.03), 0 2px 4px rgba(0, 0, 0, 0.04)",
|
|
513
|
+
"$type": "shadow"
|
|
514
|
+
},
|
|
515
|
+
"card": {
|
|
516
|
+
"$value": "0 1px 2px rgba(0, 0, 0, 0.04), 0 2px 8px rgba(0, 0, 0, 0.04)",
|
|
517
|
+
"$type": "shadow"
|
|
518
|
+
},
|
|
519
|
+
"card-hover": {
|
|
520
|
+
"$value": "0 2px 4px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.08)",
|
|
521
|
+
"$type": "shadow"
|
|
522
|
+
},
|
|
523
|
+
"lg": {
|
|
524
|
+
"$value": "0 4px 8px rgba(0, 0, 0, 0.06), 0 16px 40px rgba(0, 0, 0, 0.1)",
|
|
525
|
+
"$type": "shadow"
|
|
526
|
+
},
|
|
527
|
+
"pill": {
|
|
528
|
+
"$value": "0 1px 2px rgba(15, 23, 42, 0.08)",
|
|
529
|
+
"$type": "shadow"
|
|
530
|
+
},
|
|
531
|
+
"cta": {
|
|
532
|
+
"$value": "0 1px 2px rgba(15, 23, 42, 0.06), 0 4px 12px rgba(15, 23, 42, 0.06)",
|
|
533
|
+
"$type": "shadow"
|
|
534
|
+
}
|
|
535
|
+
},
|
|
536
|
+
"fontWeight": {
|
|
537
|
+
"regular": {
|
|
538
|
+
"$value": 400,
|
|
539
|
+
"$type": "fontWeight"
|
|
540
|
+
},
|
|
541
|
+
"medium": {
|
|
542
|
+
"$value": 500,
|
|
543
|
+
"$type": "fontWeight"
|
|
544
|
+
},
|
|
545
|
+
"semibold": {
|
|
546
|
+
"$value": 600,
|
|
547
|
+
"$type": "fontWeight"
|
|
548
|
+
},
|
|
549
|
+
"bold": {
|
|
550
|
+
"$value": 700,
|
|
551
|
+
"$type": "fontWeight"
|
|
552
|
+
},
|
|
553
|
+
"extrabold": {
|
|
554
|
+
"$value": 800,
|
|
555
|
+
"$type": "fontWeight"
|
|
556
|
+
}
|
|
557
|
+
}
|
|
558
|
+
}
|