@handamade/psi-tokens 0.3.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.
@@ -0,0 +1,614 @@
1
+ {
2
+ "theme": "dark",
3
+ "tokens": {
4
+ "bgPrimary": {
5
+ "name": "bgPrimary",
6
+ "oklch": {
7
+ "l": 0.15,
8
+ "c": 0.01,
9
+ "h": 250
10
+ },
11
+ "hex": "#080c0f",
12
+ "formula": "slot(ink) → L set(0.15), C set(0.01)"
13
+ },
14
+ "bgSecondary": {
15
+ "name": "bgSecondary",
16
+ "oklch": {
17
+ "l": 0.2,
18
+ "c": 0.015,
19
+ "h": 250
20
+ },
21
+ "hex": "#11171d",
22
+ "formula": "slot(ink) → L set(0.2), C set(0.015)"
23
+ },
24
+ "fgPrimary": {
25
+ "name": "fgPrimary",
26
+ "oklch": {
27
+ "l": 0.93,
28
+ "c": 0.01,
29
+ "h": 250
30
+ },
31
+ "hex": "#e3e8ee",
32
+ "formula": "slot(canvas) → L set(0.93), C set(0.01)"
33
+ },
34
+ "fgSecondary": {
35
+ "name": "fgSecondary",
36
+ "oklch": {
37
+ "l": 0.93,
38
+ "c": 0.01,
39
+ "h": 250,
40
+ "alpha": 0.7
41
+ },
42
+ "hex": "#e3e8ee",
43
+ "formula": "ref(fgPrimary) → alpha(0.7)"
44
+ },
45
+ "fgTertiary": {
46
+ "name": "fgTertiary",
47
+ "oklch": {
48
+ "l": 0.93,
49
+ "c": 0.01,
50
+ "h": 250,
51
+ "alpha": 0.5
52
+ },
53
+ "hex": "#e3e8ee",
54
+ "formula": "ref(fgPrimary) → alpha(0.5)"
55
+ },
56
+ "fgQuaternary": {
57
+ "name": "fgQuaternary",
58
+ "oklch": {
59
+ "l": 0.93,
60
+ "c": 0.01,
61
+ "h": 250,
62
+ "alpha": 0.3
63
+ },
64
+ "hex": "#e3e8ee",
65
+ "formula": "ref(fgPrimary) → alpha(0.3)"
66
+ },
67
+ "fgPrimaryInverted": {
68
+ "name": "fgPrimaryInverted",
69
+ "oklch": {
70
+ "l": 0.15,
71
+ "c": 0.02,
72
+ "h": 250
73
+ },
74
+ "hex": "#050c13",
75
+ "formula": "slot(ink) → L set(0.15)"
76
+ },
77
+ "fgStaticWhite": {
78
+ "name": "fgStaticWhite",
79
+ "oklch": {
80
+ "l": 1,
81
+ "c": 0,
82
+ "h": 250
83
+ },
84
+ "hex": "#ffffff",
85
+ "formula": "slot(canvas) → L set(1), C set(0)"
86
+ },
87
+ "fgStaticBlack": {
88
+ "name": "fgStaticBlack",
89
+ "oklch": {
90
+ "l": 0.25,
91
+ "c": 0.02,
92
+ "h": 250
93
+ },
94
+ "hex": "#1a222b",
95
+ "formula": "slot(ink) → L set(0.25), C cap(0.03)"
96
+ },
97
+ "fgOnAccent": {
98
+ "name": "fgOnAccent",
99
+ "oklch": {
100
+ "l": 1,
101
+ "c": 0,
102
+ "h": 250
103
+ },
104
+ "hex": "#ffffff",
105
+ "formula": "ref(fgStaticWhite)"
106
+ },
107
+ "fgAccent": {
108
+ "name": "fgAccent",
109
+ "oklch": {
110
+ "l": 0.75,
111
+ "c": 0.1286,
112
+ "h": 260
113
+ },
114
+ "hex": "#7daeff",
115
+ "formula": "slot(accent) → L set(0.75), C cap(0.1286)"
116
+ },
117
+ "fgSuccess": {
118
+ "name": "fgSuccess",
119
+ "oklch": {
120
+ "l": 0.75,
121
+ "c": 0.18540771484375002,
122
+ "h": 155
123
+ },
124
+ "hex": "#00cf77",
125
+ "formula": "slot(success) → L set(0.75), C cap(0.23)"
126
+ },
127
+ "fgWarning": {
128
+ "name": "fgWarning",
129
+ "oklch": {
130
+ "l": 0.75,
131
+ "c": 0.1582,
132
+ "h": 75
133
+ },
134
+ "hex": "#e79d00",
135
+ "formula": "slot(warning) → L set(0.75), C cap(0.1582)"
136
+ },
137
+ "fgDanger": {
138
+ "name": "fgDanger",
139
+ "oklch": {
140
+ "l": 0.75,
141
+ "c": 0.1505,
142
+ "h": 25
143
+ },
144
+ "hex": "#ff847d",
145
+ "formula": "slot(danger) → L set(0.75), C cap(0.1505)"
146
+ },
147
+ "fillNeutral1": {
148
+ "name": "fillNeutral1",
149
+ "oklch": {
150
+ "l": 0.18,
151
+ "c": 0.012,
152
+ "h": 250
153
+ },
154
+ "hex": "#0e1217",
155
+ "formula": "slot(ink) → L set(0.18), C set(0.012)"
156
+ },
157
+ "fillNeutral2": {
158
+ "name": "fillNeutral2",
159
+ "oklch": {
160
+ "l": 0.2,
161
+ "c": 0.015,
162
+ "h": 250
163
+ },
164
+ "hex": "#11171d",
165
+ "formula": "slot(ink) → L set(0.2), C set(0.015)"
166
+ },
167
+ "fillNeutral3": {
168
+ "name": "fillNeutral3",
169
+ "oklch": {
170
+ "l": 0.23,
171
+ "c": 0.018,
172
+ "h": 250
173
+ },
174
+ "hex": "#171e25",
175
+ "formula": "slot(ink) → L set(0.23), C set(0.018)"
176
+ },
177
+ "fillNeutral4": {
178
+ "name": "fillNeutral4",
179
+ "oklch": {
180
+ "l": 0.26,
181
+ "c": 0.02,
182
+ "h": 250
183
+ },
184
+ "hex": "#1d252d",
185
+ "formula": "slot(ink) → L set(0.26), C set(0.02)"
186
+ },
187
+ "fillNeutral5": {
188
+ "name": "fillNeutral5",
189
+ "oklch": {
190
+ "l": 0.29,
191
+ "c": 0.022,
192
+ "h": 250
193
+ },
194
+ "hex": "#232c36",
195
+ "formula": "slot(ink) → L set(0.29), C set(0.022)"
196
+ },
197
+ "fillNeutral6": {
198
+ "name": "fillNeutral6",
199
+ "oklch": {
200
+ "l": 0.32,
201
+ "c": 0.025,
202
+ "h": 250
203
+ },
204
+ "hex": "#29343f",
205
+ "formula": "slot(ink) → L set(0.32), C set(0.025)"
206
+ },
207
+ "fillAccent": {
208
+ "name": "fillAccent",
209
+ "oklch": {
210
+ "l": 0.55,
211
+ "c": 0.21,
212
+ "h": 260
213
+ },
214
+ "hex": "#1368e9",
215
+ "formula": "slot(accent)"
216
+ },
217
+ "fillSuccess": {
218
+ "name": "fillSuccess",
219
+ "oklch": {
220
+ "l": 0.52,
221
+ "c": 0.1285,
222
+ "h": 155
223
+ },
224
+ "hex": "#007e46",
225
+ "formula": "slot(success) → C cap(0.1285)"
226
+ },
227
+ "fillWarning": {
228
+ "name": "fillWarning",
229
+ "oklch": {
230
+ "l": 0.75,
231
+ "c": 0.1582,
232
+ "h": 75
233
+ },
234
+ "hex": "#e79d00",
235
+ "formula": "slot(warning)"
236
+ },
237
+ "fillDanger": {
238
+ "name": "fillDanger",
239
+ "oklch": {
240
+ "l": 0.55,
241
+ "c": 0.22,
242
+ "h": 25
243
+ },
244
+ "hex": "#d40924",
245
+ "formula": "slot(danger)"
246
+ },
247
+ "fillTintAccent": {
248
+ "name": "fillTintAccent",
249
+ "oklch": {
250
+ "l": 0.75,
251
+ "c": 0.1286,
252
+ "h": 260,
253
+ "alpha": 0.15
254
+ },
255
+ "hex": "#7daeff",
256
+ "formula": "ref(fgAccent) → alpha(0.15)"
257
+ },
258
+ "fillTintSuccess": {
259
+ "name": "fillTintSuccess",
260
+ "oklch": {
261
+ "l": 0.75,
262
+ "c": 0.18540771484375002,
263
+ "h": 155,
264
+ "alpha": 0.15
265
+ },
266
+ "hex": "#00cf77",
267
+ "formula": "ref(fgSuccess) → alpha(0.15)"
268
+ },
269
+ "fillTintWarning": {
270
+ "name": "fillTintWarning",
271
+ "oklch": {
272
+ "l": 0.75,
273
+ "c": 0.1582,
274
+ "h": 75,
275
+ "alpha": 0.15
276
+ },
277
+ "hex": "#e79d00",
278
+ "formula": "ref(fgWarning) → alpha(0.15)"
279
+ },
280
+ "fillTintDanger": {
281
+ "name": "fillTintDanger",
282
+ "oklch": {
283
+ "l": 0.75,
284
+ "c": 0.1505,
285
+ "h": 25,
286
+ "alpha": 0.15
287
+ },
288
+ "hex": "#ff847d",
289
+ "formula": "ref(fgDanger) → alpha(0.15)"
290
+ },
291
+ "borderFaint": {
292
+ "name": "borderFaint",
293
+ "oklch": {
294
+ "l": 0.93,
295
+ "c": 0.01,
296
+ "h": 250,
297
+ "alpha": 0.08
298
+ },
299
+ "hex": "#e3e8ee",
300
+ "formula": "ref(fgPrimary) → alpha(0.08)"
301
+ },
302
+ "borderNeutral": {
303
+ "name": "borderNeutral",
304
+ "oklch": {
305
+ "l": 0.93,
306
+ "c": 0.01,
307
+ "h": 250,
308
+ "alpha": 0.15
309
+ },
310
+ "hex": "#e3e8ee",
311
+ "formula": "ref(fgPrimary) → alpha(0.15)"
312
+ },
313
+ "borderStrong": {
314
+ "name": "borderStrong",
315
+ "oklch": {
316
+ "l": 0.93,
317
+ "c": 0.01,
318
+ "h": 250,
319
+ "alpha": 0.3
320
+ },
321
+ "hex": "#e3e8ee",
322
+ "formula": "ref(fgPrimary) → alpha(0.3)"
323
+ },
324
+ "borderFocus": {
325
+ "name": "borderFocus",
326
+ "oklch": {
327
+ "l": 0.75,
328
+ "c": 0.1286,
329
+ "h": 260
330
+ },
331
+ "hex": "#7daeff",
332
+ "formula": "ref(fgAccent)"
333
+ },
334
+ "scrimSoft": {
335
+ "name": "scrimSoft",
336
+ "oklch": {
337
+ "l": 0.15,
338
+ "c": 0.01,
339
+ "h": 250,
340
+ "alpha": 0.25
341
+ },
342
+ "hex": "#080c0f",
343
+ "formula": "ref(bgPrimary) → alpha(0.25)"
344
+ },
345
+ "scrimMedium": {
346
+ "name": "scrimMedium",
347
+ "oklch": {
348
+ "l": 0.15,
349
+ "c": 0.01,
350
+ "h": 250,
351
+ "alpha": 0.35
352
+ },
353
+ "hex": "#080c0f",
354
+ "formula": "ref(bgPrimary) → alpha(0.35)"
355
+ },
356
+ "scrimHeavy": {
357
+ "name": "scrimHeavy",
358
+ "oklch": {
359
+ "l": 0.15,
360
+ "c": 0.01,
361
+ "h": 250,
362
+ "alpha": 0.82
363
+ },
364
+ "hex": "#080c0f",
365
+ "formula": "ref(bgPrimary) → alpha(0.82)"
366
+ }
367
+ },
368
+ "scales": {
369
+ "space": [
370
+ 0,
371
+ 2,
372
+ 4,
373
+ 6,
374
+ 8,
375
+ 12,
376
+ 16,
377
+ 20,
378
+ 24,
379
+ 32,
380
+ 40,
381
+ 48,
382
+ 64,
383
+ 80,
384
+ 96,
385
+ 120,
386
+ 144
387
+ ],
388
+ "size": [
389
+ 24,
390
+ 32,
391
+ 40,
392
+ 48
393
+ ],
394
+ "radius": [
395
+ 4,
396
+ 6,
397
+ 8,
398
+ 12
399
+ ],
400
+ "motion": {
401
+ "durations": [
402
+ 150,
403
+ 200,
404
+ 350,
405
+ 450,
406
+ 600
407
+ ],
408
+ "easings": {
409
+ "standard": "ease",
410
+ "in-out": "ease-in-out",
411
+ "soft": "cubic-bezier(0.2, 0.6, 0.2, 1)"
412
+ }
413
+ },
414
+ "layout": {
415
+ "breakpoints": {
416
+ "sm": 560,
417
+ "md": 960
418
+ },
419
+ "container": {
420
+ "max": 1312,
421
+ "gutter": 40,
422
+ "gutterNarrow": 24
423
+ },
424
+ "zIndex": {
425
+ "nav": 100,
426
+ "overlay": 1000,
427
+ "tooltip": 1100
428
+ }
429
+ }
430
+ },
431
+ "typography": [
432
+ {
433
+ "name": "12-16-regular",
434
+ "fontSize": 12,
435
+ "lineHeight": 16,
436
+ "weight": "regular",
437
+ "cssWeight": 400
438
+ },
439
+ {
440
+ "name": "12-16-medium",
441
+ "fontSize": 12,
442
+ "lineHeight": 16,
443
+ "weight": "medium",
444
+ "cssWeight": 500
445
+ },
446
+ {
447
+ "name": "14-20-regular",
448
+ "fontSize": 14,
449
+ "lineHeight": 20,
450
+ "weight": "regular",
451
+ "cssWeight": 400
452
+ },
453
+ {
454
+ "name": "14-20-medium",
455
+ "fontSize": 14,
456
+ "lineHeight": 20,
457
+ "weight": "medium",
458
+ "cssWeight": 500
459
+ },
460
+ {
461
+ "name": "16-20-regular",
462
+ "fontSize": 16,
463
+ "lineHeight": 20,
464
+ "weight": "regular",
465
+ "cssWeight": 400
466
+ },
467
+ {
468
+ "name": "16-24-regular",
469
+ "fontSize": 16,
470
+ "lineHeight": 24,
471
+ "weight": "regular",
472
+ "cssWeight": 400
473
+ },
474
+ {
475
+ "name": "16-24-medium",
476
+ "fontSize": 16,
477
+ "lineHeight": 24,
478
+ "weight": "medium",
479
+ "cssWeight": 500
480
+ },
481
+ {
482
+ "name": "18-28-medium",
483
+ "fontSize": 18,
484
+ "lineHeight": 28,
485
+ "weight": "medium",
486
+ "cssWeight": 500
487
+ },
488
+ {
489
+ "name": "20-28-semibold",
490
+ "fontSize": 20,
491
+ "lineHeight": 28,
492
+ "weight": "semibold",
493
+ "cssWeight": 600
494
+ },
495
+ {
496
+ "name": "24-32-medium",
497
+ "fontSize": 24,
498
+ "lineHeight": 32,
499
+ "weight": "medium",
500
+ "cssWeight": 500
501
+ },
502
+ {
503
+ "name": "30-36-bold",
504
+ "fontSize": 30,
505
+ "lineHeight": 36,
506
+ "weight": "bold",
507
+ "cssWeight": 700
508
+ },
509
+ {
510
+ "name": "serif-18-28-regular",
511
+ "fontSize": 18,
512
+ "lineHeight": 28,
513
+ "weight": "regular",
514
+ "role": "serif",
515
+ "cssWeight": 400
516
+ },
517
+ {
518
+ "name": "serif-20-30-regular",
519
+ "fontSize": 20,
520
+ "lineHeight": 30,
521
+ "weight": "regular",
522
+ "role": "serif",
523
+ "cssWeight": 400
524
+ },
525
+ {
526
+ "name": "serif-20-32-regular",
527
+ "fontSize": 20,
528
+ "lineHeight": 32,
529
+ "weight": "regular",
530
+ "role": "serif",
531
+ "cssWeight": 400
532
+ },
533
+ {
534
+ "name": "serif-24-36-regular",
535
+ "fontSize": 24,
536
+ "lineHeight": 36,
537
+ "weight": "regular",
538
+ "role": "serif",
539
+ "cssWeight": 400
540
+ },
541
+ {
542
+ "name": "serif-28-40-regular",
543
+ "fontSize": 28,
544
+ "lineHeight": 40,
545
+ "weight": "regular",
546
+ "role": "serif",
547
+ "cssWeight": 400
548
+ },
549
+ {
550
+ "name": "mono-13-20-regular",
551
+ "fontSize": 13,
552
+ "lineHeight": 20,
553
+ "weight": "regular",
554
+ "role": "mono",
555
+ "cssWeight": 400
556
+ },
557
+ {
558
+ "name": "mono-14-20-regular",
559
+ "fontSize": 14,
560
+ "lineHeight": 20,
561
+ "weight": "regular",
562
+ "role": "mono",
563
+ "cssWeight": 400
564
+ },
565
+ {
566
+ "name": "mono-15-24-regular",
567
+ "fontSize": 15,
568
+ "lineHeight": 24,
569
+ "weight": "regular",
570
+ "role": "mono",
571
+ "cssWeight": 400
572
+ },
573
+ {
574
+ "name": "mono-15-24-medium",
575
+ "fontSize": 15,
576
+ "lineHeight": 24,
577
+ "weight": "medium",
578
+ "role": "mono",
579
+ "cssWeight": 500
580
+ }
581
+ ],
582
+ "display": [
583
+ {
584
+ "name": "56-128-black",
585
+ "min": 56,
586
+ "max": 128,
587
+ "vw": 9,
588
+ "lineHeight": 0.95,
589
+ "weight": "black",
590
+ "tracking": -0.02,
591
+ "cssWeight": 900
592
+ },
593
+ {
594
+ "name": "36-64-black",
595
+ "min": 36,
596
+ "max": 64,
597
+ "vw": 5,
598
+ "lineHeight": 1.05,
599
+ "weight": "black",
600
+ "tracking": -0.02,
601
+ "cssWeight": 900
602
+ },
603
+ {
604
+ "name": "32-32-extrabold",
605
+ "min": 32,
606
+ "max": 32,
607
+ "vw": 0,
608
+ "lineHeight": 1.1,
609
+ "weight": "extrabold",
610
+ "tracking": -0.01,
611
+ "cssWeight": 800
612
+ }
613
+ ]
614
+ }