@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": "acme",
3
+ "tokens": {
4
+ "bgPrimary": {
5
+ "name": "bgPrimary",
6
+ "oklch": {
7
+ "l": 0.96,
8
+ "c": 0.01,
9
+ "h": 80
10
+ },
11
+ "hex": "#f5f1ea",
12
+ "formula": "slot(canvas)"
13
+ },
14
+ "bgSecondary": {
15
+ "name": "bgSecondary",
16
+ "oklch": {
17
+ "l": 0.99,
18
+ "c": 0.0089453125,
19
+ "h": 80
20
+ },
21
+ "hex": "#fffbf5",
22
+ "formula": "slot(canvas) → L delta(0.03)"
23
+ },
24
+ "fgPrimary": {
25
+ "name": "fgPrimary",
26
+ "oklch": {
27
+ "l": 0.3,
28
+ "c": 0.03,
29
+ "h": 30
30
+ },
31
+ "hex": "#3c2825",
32
+ "formula": "slot(ink) → L set(0.3), C set(0.03)"
33
+ },
34
+ "fgSecondary": {
35
+ "name": "fgSecondary",
36
+ "oklch": {
37
+ "l": 0.3,
38
+ "c": 0.03,
39
+ "h": 30,
40
+ "alpha": 0.7
41
+ },
42
+ "hex": "#3c2825",
43
+ "formula": "ref(fgPrimary) → alpha(0.7)"
44
+ },
45
+ "fgTertiary": {
46
+ "name": "fgTertiary",
47
+ "oklch": {
48
+ "l": 0.3,
49
+ "c": 0.03,
50
+ "h": 30,
51
+ "alpha": 0.5
52
+ },
53
+ "hex": "#3c2825",
54
+ "formula": "ref(fgPrimary) → alpha(0.5)"
55
+ },
56
+ "fgQuaternary": {
57
+ "name": "fgQuaternary",
58
+ "oklch": {
59
+ "l": 0.3,
60
+ "c": 0.03,
61
+ "h": 30,
62
+ "alpha": 0.3
63
+ },
64
+ "hex": "#3c2825",
65
+ "formula": "ref(fgPrimary) → alpha(0.3)"
66
+ },
67
+ "fgPrimaryInverted": {
68
+ "name": "fgPrimaryInverted",
69
+ "oklch": {
70
+ "l": 0.96,
71
+ "c": 0.01,
72
+ "h": 80
73
+ },
74
+ "hex": "#f5f1ea",
75
+ "formula": "slot(canvas)"
76
+ },
77
+ "fgStaticWhite": {
78
+ "name": "fgStaticWhite",
79
+ "oklch": {
80
+ "l": 1,
81
+ "c": 0,
82
+ "h": 80
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.015,
92
+ "h": 30
93
+ },
94
+ "hex": "#281f1d",
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": 80
103
+ },
104
+ "hex": "#ffffff",
105
+ "formula": "ref(fgStaticWhite)"
106
+ },
107
+ "fgAccent": {
108
+ "name": "fgAccent",
109
+ "oklch": {
110
+ "l": 0.48,
111
+ "c": 0.19250488281250003,
112
+ "h": 30
113
+ },
114
+ "hex": "#b10b00",
115
+ "formula": "slot(accent) → L set(0.48), C cap(0.23)"
116
+ },
117
+ "fgSuccess": {
118
+ "name": "fgSuccess",
119
+ "oklch": {
120
+ "l": 0.48,
121
+ "c": 0.108573486328125,
122
+ "h": 160
123
+ },
124
+ "hex": "#007048",
125
+ "formula": "slot(success) → L set(0.48), C cap(0.1086)"
126
+ },
127
+ "fgWarning": {
128
+ "name": "fgWarning",
129
+ "oklch": {
130
+ "l": 0.48,
131
+ "c": 0.098351953125,
132
+ "h": 85
133
+ },
134
+ "hex": "#775800",
135
+ "formula": "slot(warning) → L set(0.48), C cap(0.0984)"
136
+ },
137
+ "fgDanger": {
138
+ "name": "fgDanger",
139
+ "oklch": {
140
+ "l": 0.48,
141
+ "c": 0.1919,
142
+ "h": 15
143
+ },
144
+ "hex": "#af0039",
145
+ "formula": "slot(danger) → L set(0.48), C cap(0.1919)"
146
+ },
147
+ "fillNeutral1": {
148
+ "name": "fillNeutral1",
149
+ "oklch": {
150
+ "l": 0.976,
151
+ "c": 0.009000000000000001,
152
+ "h": 80
153
+ },
154
+ "hex": "#faf7f0",
155
+ "formula": "slot(canvas) → L delta(0.016), C delta(-0.001)"
156
+ },
157
+ "fillNeutral2": {
158
+ "name": "fillNeutral2",
159
+ "oklch": {
160
+ "l": 0.96,
161
+ "c": 0.01,
162
+ "h": 80
163
+ },
164
+ "hex": "#f5f1ea",
165
+ "formula": "slot(canvas)"
166
+ },
167
+ "fillNeutral3": {
168
+ "name": "fillNeutral3",
169
+ "oklch": {
170
+ "l": 0.943,
171
+ "c": 0.011,
172
+ "h": 80
173
+ },
174
+ "hex": "#f0ebe4",
175
+ "formula": "slot(canvas) → L delta(-0.017), C delta(0.001)"
176
+ },
177
+ "fillNeutral4": {
178
+ "name": "fillNeutral4",
179
+ "oklch": {
180
+ "l": 0.9259999999999999,
181
+ "c": 0.012,
182
+ "h": 80
183
+ },
184
+ "hex": "#ebe6de",
185
+ "formula": "slot(canvas) → L delta(-0.034), C delta(0.002)"
186
+ },
187
+ "fillNeutral5": {
188
+ "name": "fillNeutral5",
189
+ "oklch": {
190
+ "l": 0.9279999999999999,
191
+ "c": 0.013000000000000001,
192
+ "h": 80
193
+ },
194
+ "hex": "#ece6de",
195
+ "formula": "slot(canvas) → L delta(-0.032), C delta(0.003)"
196
+ },
197
+ "fillNeutral6": {
198
+ "name": "fillNeutral6",
199
+ "oklch": {
200
+ "l": 0.9119999999999999,
201
+ "c": 0.014,
202
+ "h": 80
203
+ },
204
+ "hex": "#e7e1d8",
205
+ "formula": "slot(canvas) → L delta(-0.048), C delta(0.004)"
206
+ },
207
+ "fillAccent": {
208
+ "name": "fillAccent",
209
+ "oklch": {
210
+ "l": 0.55,
211
+ "c": 0.2,
212
+ "h": 30
213
+ },
214
+ "hex": "#cc2a1b",
215
+ "formula": "slot(accent)"
216
+ },
217
+ "fillSuccess": {
218
+ "name": "fillSuccess",
219
+ "oklch": {
220
+ "l": 0.52,
221
+ "c": 0.1176,
222
+ "h": 160
223
+ },
224
+ "hex": "#007d51",
225
+ "formula": "slot(success) → C cap(0.1285)"
226
+ },
227
+ "fillWarning": {
228
+ "name": "fillWarning",
229
+ "oklch": {
230
+ "l": 0.78,
231
+ "c": 0.15,
232
+ "h": 85
233
+ },
234
+ "hex": "#e3ae28",
235
+ "formula": "slot(warning)"
236
+ },
237
+ "fillDanger": {
238
+ "name": "fillDanger",
239
+ "oklch": {
240
+ "l": 0.55,
241
+ "c": 0.21986572265625,
242
+ "h": 15
243
+ },
244
+ "hex": "#d20046",
245
+ "formula": "slot(danger)"
246
+ },
247
+ "fillTintAccent": {
248
+ "name": "fillTintAccent",
249
+ "oklch": {
250
+ "l": 0.48,
251
+ "c": 0.19250488281250003,
252
+ "h": 30,
253
+ "alpha": 0.12
254
+ },
255
+ "hex": "#b10b00",
256
+ "formula": "ref(fgAccent) → alpha(0.12)"
257
+ },
258
+ "fillTintSuccess": {
259
+ "name": "fillTintSuccess",
260
+ "oklch": {
261
+ "l": 0.48,
262
+ "c": 0.108573486328125,
263
+ "h": 160,
264
+ "alpha": 0.12
265
+ },
266
+ "hex": "#007048",
267
+ "formula": "ref(fgSuccess) → alpha(0.12)"
268
+ },
269
+ "fillTintWarning": {
270
+ "name": "fillTintWarning",
271
+ "oklch": {
272
+ "l": 0.48,
273
+ "c": 0.098351953125,
274
+ "h": 85,
275
+ "alpha": 0.12
276
+ },
277
+ "hex": "#775800",
278
+ "formula": "ref(fgWarning) → alpha(0.12)"
279
+ },
280
+ "fillTintDanger": {
281
+ "name": "fillTintDanger",
282
+ "oklch": {
283
+ "l": 0.48,
284
+ "c": 0.1919,
285
+ "h": 15,
286
+ "alpha": 0.12
287
+ },
288
+ "hex": "#af0039",
289
+ "formula": "ref(fgDanger) → alpha(0.12)"
290
+ },
291
+ "borderFaint": {
292
+ "name": "borderFaint",
293
+ "oklch": {
294
+ "l": 0.3,
295
+ "c": 0.03,
296
+ "h": 30,
297
+ "alpha": 0.08
298
+ },
299
+ "hex": "#3c2825",
300
+ "formula": "ref(fgPrimary) → alpha(0.08)"
301
+ },
302
+ "borderNeutral": {
303
+ "name": "borderNeutral",
304
+ "oklch": {
305
+ "l": 0.3,
306
+ "c": 0.03,
307
+ "h": 30,
308
+ "alpha": 0.15
309
+ },
310
+ "hex": "#3c2825",
311
+ "formula": "ref(fgPrimary) → alpha(0.15)"
312
+ },
313
+ "borderStrong": {
314
+ "name": "borderStrong",
315
+ "oklch": {
316
+ "l": 0.3,
317
+ "c": 0.03,
318
+ "h": 30,
319
+ "alpha": 0.3
320
+ },
321
+ "hex": "#3c2825",
322
+ "formula": "ref(fgPrimary) → alpha(0.3)"
323
+ },
324
+ "borderFocus": {
325
+ "name": "borderFocus",
326
+ "oklch": {
327
+ "l": 0.48,
328
+ "c": 0.19250488281250003,
329
+ "h": 30
330
+ },
331
+ "hex": "#b10b00",
332
+ "formula": "ref(fgAccent)"
333
+ },
334
+ "scrimSoft": {
335
+ "name": "scrimSoft",
336
+ "oklch": {
337
+ "l": 0.96,
338
+ "c": 0.01,
339
+ "h": 80,
340
+ "alpha": 0.25
341
+ },
342
+ "hex": "#f5f1ea",
343
+ "formula": "ref(bgPrimary) → alpha(0.25)"
344
+ },
345
+ "scrimMedium": {
346
+ "name": "scrimMedium",
347
+ "oklch": {
348
+ "l": 0.96,
349
+ "c": 0.01,
350
+ "h": 80,
351
+ "alpha": 0.35
352
+ },
353
+ "hex": "#f5f1ea",
354
+ "formula": "ref(bgPrimary) → alpha(0.35)"
355
+ },
356
+ "scrimHeavy": {
357
+ "name": "scrimHeavy",
358
+ "oklch": {
359
+ "l": 0.96,
360
+ "c": 0.01,
361
+ "h": 80,
362
+ "alpha": 0.82
363
+ },
364
+ "hex": "#f5f1ea",
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
+ }