@vllnt/ui-core 0.1.0-canary.100.shabd406b0b1cdb

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/tokens.json ADDED
@@ -0,0 +1,834 @@
1
+ {
2
+ "$schema": "./tokens.schema.json",
3
+ "name": "VLLNT UI",
4
+ "version": "0.4.0",
5
+ "source": {
6
+ "guide": "../../DESIGN.md",
7
+ "theme": "../ui/themes/default.css"
8
+ },
9
+ "color": {
10
+ "format": "oklch-channel",
11
+ "semantic": {
12
+ "background": {
13
+ "cssVariable": "--background",
14
+ "light": "1 0 0",
15
+ "dark": "0 0 0",
16
+ "role": "Page and app surface"
17
+ },
18
+ "foreground": {
19
+ "cssVariable": "--foreground",
20
+ "light": "0 0 0",
21
+ "dark": "1 0 0",
22
+ "role": "Primary text and icon color"
23
+ },
24
+ "card": {
25
+ "cssVariable": "--card",
26
+ "light": "1 0 0",
27
+ "dark": "0 0 0",
28
+ "role": "Card and contained surface"
29
+ },
30
+ "cardForeground": {
31
+ "cssVariable": "--card-foreground",
32
+ "light": "0 0 0",
33
+ "dark": "1 0 0",
34
+ "role": "Text on card surfaces"
35
+ },
36
+ "popover": {
37
+ "cssVariable": "--popover",
38
+ "light": "1 0 0",
39
+ "dark": "0 0 0",
40
+ "role": "Popover, menu, and floating surface"
41
+ },
42
+ "popoverForeground": {
43
+ "cssVariable": "--popover-foreground",
44
+ "light": "0 0 0",
45
+ "dark": "0.9461 0 0",
46
+ "role": "Text on popover surfaces"
47
+ },
48
+ "primary": {
49
+ "cssVariable": "--primary",
50
+ "light": "0 0 0",
51
+ "dark": "1 0 0",
52
+ "role": "Primary action surface"
53
+ },
54
+ "primaryForeground": {
55
+ "cssVariable": "--primary-foreground",
56
+ "light": "1 0 0",
57
+ "dark": "0 0 0",
58
+ "role": "Text on primary action surfaces"
59
+ },
60
+ "secondary": {
61
+ "cssVariable": "--secondary",
62
+ "light": "0.9703 0 0",
63
+ "dark": "0.2686 0 0",
64
+ "role": "Secondary action surface"
65
+ },
66
+ "secondaryForeground": {
67
+ "cssVariable": "--secondary-foreground",
68
+ "light": "0.2044 0 0",
69
+ "dark": "0.9461 0 0",
70
+ "role": "Text on secondary action surfaces"
71
+ },
72
+ "muted": {
73
+ "cssVariable": "--muted",
74
+ "light": "0.9703 0 0",
75
+ "dark": "0 0 0",
76
+ "role": "Subtle surface"
77
+ },
78
+ "mutedForeground": {
79
+ "cssVariable": "--muted-foreground",
80
+ "light": "0.525 0 0",
81
+ "dark": "0.7153 0 0",
82
+ "role": "Secondary text"
83
+ },
84
+ "accent": {
85
+ "cssVariable": "--accent",
86
+ "light": "0.9703 0 0",
87
+ "dark": "0.2686 0 0",
88
+ "role": "Hover and active surface"
89
+ },
90
+ "accentForeground": {
91
+ "cssVariable": "--accent-foreground",
92
+ "light": "0.2044 0 0",
93
+ "dark": "0.9461 0 0",
94
+ "role": "Text on accent surfaces"
95
+ },
96
+ "destructive": {
97
+ "cssVariable": "--destructive",
98
+ "light": "0.55 0.2078 25.326",
99
+ "dark": "0.7 0.18 25.721",
100
+ "role": "Destructive action and error surface"
101
+ },
102
+ "destructiveForeground": {
103
+ "cssVariable": "--destructive-foreground",
104
+ "light": "0.9848 0 0",
105
+ "dark": "0.2044 0 0",
106
+ "role": "Text on destructive surfaces"
107
+ },
108
+ "success": {
109
+ "cssVariable": "--success",
110
+ "light": "0.5 0.11 155",
111
+ "dark": "0.78 0.16 155",
112
+ "role": "Success fill and success text"
113
+ },
114
+ "successForeground": {
115
+ "cssVariable": "--success-foreground",
116
+ "light": "0.9848 0 0",
117
+ "dark": "0.2044 0 0",
118
+ "role": "Text on success surfaces"
119
+ },
120
+ "warning": {
121
+ "cssVariable": "--warning",
122
+ "light": "0.5 0.085 70",
123
+ "dark": "0.82 0.15 85",
124
+ "role": "Warning fill and warning text"
125
+ },
126
+ "warningForeground": {
127
+ "cssVariable": "--warning-foreground",
128
+ "light": "0.9848 0 0",
129
+ "dark": "0.2044 0 0",
130
+ "role": "Text on warning surfaces"
131
+ },
132
+ "info": {
133
+ "cssVariable": "--info",
134
+ "light": "0.5 0.15 255",
135
+ "dark": "0.74 0.12 245",
136
+ "role": "Informational fill and informational text"
137
+ },
138
+ "infoForeground": {
139
+ "cssVariable": "--info-foreground",
140
+ "light": "0.9848 0 0",
141
+ "dark": "0.2044 0 0",
142
+ "role": "Text on info surfaces"
143
+ },
144
+ "diffAdded": {
145
+ "cssVariable": "--diff-added",
146
+ "light": "0.94 0.04 150",
147
+ "dark": "0.26 0.05 150",
148
+ "role": "Added-line surface in diffs (text on it uses foreground)"
149
+ },
150
+ "diffRemoved": {
151
+ "cssVariable": "--diff-removed",
152
+ "light": "0.94 0.03 25",
153
+ "dark": "0.26 0.055 25",
154
+ "role": "Removed-line surface in diffs (text on it uses foreground)"
155
+ },
156
+ "border": {
157
+ "cssVariable": "--border",
158
+ "light": "0.9219 0 0",
159
+ "dark": "0.2686 0 0",
160
+ "role": "Hairline divider"
161
+ },
162
+ "input": {
163
+ "cssVariable": "--input",
164
+ "light": "0.6167 0 0",
165
+ "dark": "0.5208 0 0",
166
+ "role": "Form-control boundary (3:1 against background, card, popover)"
167
+ },
168
+ "ring": {
169
+ "cssVariable": "--ring",
170
+ "light": "0.1445 0 0",
171
+ "dark": "0.8697 0 0",
172
+ "role": "Focus ring"
173
+ },
174
+ "sidebar": {
175
+ "cssVariable": "--sidebar",
176
+ "light": "0.9848 0 0",
177
+ "dark": "0 0 0",
178
+ "role": "Sidebar and rail surface"
179
+ },
180
+ "pill": {
181
+ "cssVariable": "--pill",
182
+ "light": "0.9703 0 0",
183
+ "dark": "0 0 0",
184
+ "role": "Fill of a pill: inline code and small tags"
185
+ },
186
+ "pillBorder": {
187
+ "cssVariable": "--pill-border",
188
+ "light": "0.9219 0 0",
189
+ "dark": "0.2686 0 0",
190
+ "role": "1px border of a pill"
191
+ },
192
+ "composerBorder": {
193
+ "cssVariable": "--composer-border",
194
+ "light": "0.8699 0 0",
195
+ "dark": "0.285 0 0",
196
+ "role": "Border of a composer, the message input box"
197
+ },
198
+ "statusNeedsYou": {
199
+ "cssVariable": "--status-needs-you",
200
+ "light": "0.554 0.135 66.44",
201
+ "dark": "0.795 0.162 86.05",
202
+ "role": "Status mark: waiting for the person (yellow). A mark, not text"
203
+ },
204
+ "statusUnread": {
205
+ "cssVariable": "--status-unread",
206
+ "light": "0.546 0.215 262.88",
207
+ "dark": "0.623 0.188 259.81",
208
+ "role": "Status mark: unread (blue). A mark, not text"
209
+ },
210
+ "statusFailed": {
211
+ "cssVariable": "--status-failed",
212
+ "light": "0.577 0.215 27.33",
213
+ "dark": "0.637 0.208 25.33",
214
+ "role": "Status mark: failed (red). A mark, not text; red text uses destructive"
215
+ },
216
+ "statusDone": {
217
+ "cssVariable": "--status-done",
218
+ "light": "0.527 0.137 150.07",
219
+ "dark": "0.723 0.219 149.58",
220
+ "role": "Status mark: done (green). A mark, not text"
221
+ },
222
+ "statusRing": {
223
+ "cssVariable": "--status-ring",
224
+ "light": "0.556 0 0",
225
+ "dark": "0.715 0 0",
226
+ "role": "Status mark: idle ring (grey). A mark, not text"
227
+ }
228
+ },
229
+ "glass-border": {
230
+ "light": "#00000024",
231
+ "dark": "#FFFFFF2E",
232
+ "role": "Hairline of a glass surface, with alpha. Material token material.glass.hairline points at it"
233
+ },
234
+ "border-strong": {
235
+ "light": "0.9219 0 0",
236
+ "dark": "0.3485 0 0",
237
+ "role": "Brighter hairline of the top depth steps, depth.z-3 (floating) and depth.z-4 (modal). Light equals border; dark is #3a3a3a, one step above border, on the pure black surface"
238
+ },
239
+ "glass-input": {
240
+ "light": "0.464 0 0",
241
+ "dark": "0.7155 0 0",
242
+ "role": "Control boundary inside a glass surface (3:1 against the glass over a white, black or mid backdrop). Replaces input within glass"
243
+ },
244
+ "glass-muted-foreground": {
245
+ "light": "0.3715 0 0",
246
+ "dark": "0.8699 0 0",
247
+ "role": "Secondary text inside a glass surface (4.5:1 against the glass over a white, black or mid backdrop). Replaces muted-foreground within glass"
248
+ },
249
+ "badge-label": {
250
+ "danger": {
251
+ "value": "{color.destructive}",
252
+ "role": "Penpot name for a danger Badge label colour. Web code reads the destructive role directly"
253
+ },
254
+ "info": {
255
+ "value": "{color.info}",
256
+ "role": "Penpot name for an info Badge label colour. Web code reads the info role directly"
257
+ },
258
+ "success": {
259
+ "value": "{color.success}",
260
+ "role": "Penpot name for a success Badge label colour. Web code reads the success role directly"
261
+ },
262
+ "warning": {
263
+ "value": "{color.warning}",
264
+ "role": "Penpot name for a warning Badge label colour. Web code reads the warning role directly"
265
+ }
266
+ }
267
+ },
268
+ "brand": {
269
+ "status": {
270
+ "candidate": {
271
+ "light": {
272
+ "value": "{color.info}",
273
+ "role": "Roadmap status: candidate (light)"
274
+ },
275
+ "dark": {
276
+ "value": "{color.info}",
277
+ "role": "Roadmap status: candidate (dark)"
278
+ }
279
+ },
280
+ "deprecated": {
281
+ "light": {
282
+ "value": "{color.warning}",
283
+ "role": "Roadmap status: deprecated (light)"
284
+ },
285
+ "dark": {
286
+ "value": "{color.warning}",
287
+ "role": "Roadmap status: deprecated (dark)"
288
+ }
289
+ },
290
+ "implemented": {
291
+ "light": {
292
+ "value": "{color.success}",
293
+ "role": "Roadmap status: implemented (light)"
294
+ },
295
+ "dark": {
296
+ "value": "{color.success}",
297
+ "role": "Roadmap status: implemented (dark)"
298
+ }
299
+ },
300
+ "planned": {
301
+ "light": {
302
+ "value": "{color.muted-foreground}",
303
+ "role": "Roadmap status: planned (light)"
304
+ },
305
+ "dark": {
306
+ "value": "{color.muted-foreground}",
307
+ "role": "Roadmap status: planned (dark)"
308
+ }
309
+ },
310
+ "unsupported": {
311
+ "light": {
312
+ "value": "{color.destructive}",
313
+ "role": "Roadmap status: unsupported (light)"
314
+ },
315
+ "dark": {
316
+ "value": "{color.destructive}",
317
+ "role": "Roadmap status: unsupported (dark)"
318
+ }
319
+ }
320
+ }
321
+ },
322
+ "typography": {
323
+ "fontFamily": {
324
+ "sans": {
325
+ "cssVariable": "--font-sans",
326
+ "value": "'JetBrains Mono', ui-monospace, \"SF Mono\", SFMono-Regular, Menlo, Consolas, \"Liberation Mono\", monospace",
327
+ "role": "Body + UI text. A monospace stack; no font file is shipped, so the app loads JetBrains Mono or the system face shows"
328
+ },
329
+ "display": {
330
+ "cssVariable": "--font-display",
331
+ "value": "var(--font-sans)",
332
+ "role": "Heading + Display face — override per theme for a brand type identity (defaults to sans)"
333
+ },
334
+ "mono": {
335
+ "cssVariable": "--font-mono",
336
+ "value": "'JetBrains Mono', ui-monospace, \"SF Mono\", SFMono-Regular, Menlo, Consolas, \"Liberation Mono\", monospace",
337
+ "role": "Code + tabular"
338
+ }
339
+ },
340
+ "fontWeight": {
341
+ "heading": {
342
+ "cssVariable": "--font-weight-heading",
343
+ "value": 500,
344
+ "role": "Heading primitive weight — theme-overridable"
345
+ },
346
+ "display": {
347
+ "cssVariable": "--font-weight-display",
348
+ "value": 600,
349
+ "role": "Display primitive weight — theme-overridable"
350
+ },
351
+ "body": { "value": 400 },
352
+ "caption": { "value": 400 },
353
+ "label": {
354
+ "cssVariable": "--font-weight-label",
355
+ "value": 500,
356
+ "role": "Label weight — theme-overridable"
357
+ }
358
+ },
359
+ "scale": {
360
+ "display": {
361
+ "cssVariable": "--font-size-display",
362
+ "fontSize": "1.75rem",
363
+ "lineHeight": "1.1",
364
+ "lineHeightCssVariable": "--line-height-display"
365
+ },
366
+ "h1": {
367
+ "cssVariable": "--font-size-h1",
368
+ "fontSize": "1.25rem",
369
+ "lineHeight": "1.3",
370
+ "lineHeightCssVariable": "--line-height-h1"
371
+ },
372
+ "h2": {
373
+ "cssVariable": "--font-size-h2",
374
+ "fontSize": "0.875rem",
375
+ "lineHeight": "1.4",
376
+ "lineHeightCssVariable": "--line-height-h2"
377
+ },
378
+ "h3": {
379
+ "cssVariable": "--font-size-h3",
380
+ "fontSize": "0.8125rem",
381
+ "lineHeight": "1.4",
382
+ "lineHeightCssVariable": "--line-height-h3"
383
+ },
384
+ "h4": {
385
+ "cssVariable": "--font-size-h4",
386
+ "fontSize": "0.8125rem",
387
+ "lineHeight": "1.4",
388
+ "lineHeightCssVariable": "--line-height-h4"
389
+ },
390
+ "h5": {
391
+ "cssVariable": "--font-size-h5",
392
+ "fontSize": "0.8125rem",
393
+ "lineHeight": "1.4",
394
+ "lineHeightCssVariable": "--line-height-h5"
395
+ },
396
+ "h6": {
397
+ "cssVariable": "--font-size-h6",
398
+ "fontSize": "0.8125rem",
399
+ "lineHeight": "1.4",
400
+ "lineHeightCssVariable": "--line-height-h6"
401
+ },
402
+ "bodyLarge": {
403
+ "cssVariable": "--font-size-body-lg",
404
+ "fontSize": "0.9375rem",
405
+ "lineHeight": "1.6",
406
+ "lineHeightCssVariable": "--line-height-body-lg"
407
+ },
408
+ "body": {
409
+ "cssVariable": "--font-size-body",
410
+ "fontSize": "0.875rem",
411
+ "lineHeight": "1.5",
412
+ "lineHeightCssVariable": "--line-height-body"
413
+ },
414
+ "bodySmall": {
415
+ "cssVariable": "--font-size-body-sm",
416
+ "fontSize": "0.8125rem",
417
+ "lineHeight": "1.45",
418
+ "lineHeightCssVariable": "--line-height-body-sm"
419
+ },
420
+ "caption": {
421
+ "cssVariable": "--font-size-caption",
422
+ "fontSize": "0.75rem",
423
+ "lineHeight": "1.4",
424
+ "lineHeightCssVariable": "--line-height-caption"
425
+ },
426
+ "label": {
427
+ "cssVariable": "--font-size-label",
428
+ "fontSize": "0.6875rem",
429
+ "lineHeight": "1.4",
430
+ "lineHeightCssVariable": "--line-height-label"
431
+ }
432
+ }
433
+ },
434
+ "spacing": {
435
+ "unit": "4px",
436
+ "scale": {
437
+ "1": "0.25rem",
438
+ "2": "0.5rem",
439
+ "3": "0.75rem",
440
+ "4": "1rem",
441
+ "5": "1.25rem",
442
+ "6": "1.5rem",
443
+ "8": "2rem",
444
+ "10": "2.5rem",
445
+ "12": "3rem",
446
+ "16": "4rem",
447
+ "24": "6rem"
448
+ },
449
+ "page-gutter": {
450
+ "value": "{spacing.5}",
451
+ "role": "Horizontal page padding below 768 px (20)"
452
+ },
453
+ "page-gutter-tablet": {
454
+ "value": "{spacing.12}",
455
+ "role": "Horizontal page padding from 768 px (48)"
456
+ },
457
+ "page-gutter-desktop": {
458
+ "value": "{spacing.24}",
459
+ "role": "Horizontal page padding from 1200 px (96)"
460
+ }
461
+ },
462
+ "radius": {
463
+ "none": "0",
464
+ "sm": "0.25rem",
465
+ "md": "0.5rem",
466
+ "lg": "0.75rem",
467
+ "xl": "1rem",
468
+ "full": "9999px",
469
+ "control": "0.25rem",
470
+ "surface": "0.375rem"
471
+ },
472
+ "size": {
473
+ "control-xs": {
474
+ "value": "2rem",
475
+ "coarse": "{size.target.min}",
476
+ "role": "Extra-small control height (32). Under a coarse pointer it rises to size.target.min"
477
+ },
478
+ "measure-narrow": {
479
+ "value": "30rem",
480
+ "role": "Narrow text column width (480), for rich text in a tight container"
481
+ },
482
+ "measure-prose": {
483
+ "value": "45rem",
484
+ "role": "Prose text column width (720), for lead copy and descriptions"
485
+ },
486
+ "page-max": {
487
+ "value": "90rem",
488
+ "role": "Maximum width of the page column (1440), centred; the gutters above are its side padding"
489
+ },
490
+ "target": {
491
+ "min": {
492
+ "value": "2.75rem",
493
+ "role": "Minimum touch target (44); equals size.target.touch. Interactive controls reach it under a coarse pointer"
494
+ },
495
+ "pointer": {
496
+ "value": "1.5rem",
497
+ "role": "Minimum pointer target (24), WCAG 2.2 SC 2.5.8. The hit area under a fine pointer"
498
+ },
499
+ "touch": {
500
+ "value": "2.75rem",
501
+ "role": "Touch target (44), Apple HIG and WCAG 2.2 SC 2.5.5. The hit area under a coarse pointer and on native"
502
+ },
503
+ "spatial": {
504
+ "value": "3.75rem",
505
+ "role": "Spatial target (60), visionOS guidance for gaze targets. Set by hand with data-input=\"spatial\""
506
+ }
507
+ }
508
+ },
509
+ "opacity": {
510
+ "grain": {
511
+ "value": "1",
512
+ "role": "Opacity of a Surface grain layer when grain is on. Grain is opt-in; 0 hides it"
513
+ },
514
+ "contact": {
515
+ "value": "1",
516
+ "role": "Opacity of a Surface contact-shadow layer. 0 hides it"
517
+ }
518
+ },
519
+ "elevation": {
520
+ "none": "none",
521
+ "sm": "0 1px 2px rgba(0, 0, 0, 0.05)",
522
+ "md": "0 4px 6px -1px rgba(0, 0, 0, 0.1)",
523
+ "lg": "0 10px 15px -3px rgba(0, 0, 0, 0.1)"
524
+ },
525
+ "shadow": {
526
+ "raised": {
527
+ "role": "Shadow of a raised surface, the lowest step. None: depth is a border and a surface step, not a shadow",
528
+ "light": [],
529
+ "dark": []
530
+ },
531
+ "overlay": {
532
+ "role": "Shadow of an overlay: dialog, command palette, popover, tooltip. None: an overlay is a solid surface with a border",
533
+ "light": [],
534
+ "dark": []
535
+ },
536
+ "floating": {
537
+ "role": "Shadow of a floating surface, the highest step. None: a floating surface is a solid surface with a border",
538
+ "light": [],
539
+ "dark": []
540
+ },
541
+ "glass": {
542
+ "role": "Two-layer shadow of a glass part: bars, panels, cards, chips",
543
+ "light": [
544
+ {
545
+ "offsetX": "0",
546
+ "offsetY": "1",
547
+ "blur": "2",
548
+ "spread": "0",
549
+ "color": "#0000000D",
550
+ "inset": false
551
+ },
552
+ {
553
+ "offsetX": "0",
554
+ "offsetY": "4",
555
+ "blur": "14",
556
+ "spread": "0",
557
+ "color": "#0000000F",
558
+ "inset": false
559
+ }
560
+ ],
561
+ "dark": [
562
+ {
563
+ "offsetX": "0",
564
+ "offsetY": "1",
565
+ "blur": "2",
566
+ "spread": "0",
567
+ "color": "#00000066",
568
+ "inset": false
569
+ },
570
+ {
571
+ "offsetX": "0",
572
+ "offsetY": "4",
573
+ "blur": "14",
574
+ "spread": "0",
575
+ "color": "#0000004D",
576
+ "inset": false
577
+ }
578
+ ]
579
+ },
580
+ "glass-floating": {
581
+ "role": "Stronger two-layer shadow of a floating glass part: docks, menus, popovers, dialogs, sheets",
582
+ "light": [
583
+ {
584
+ "offsetX": "0",
585
+ "offsetY": "1",
586
+ "blur": "2",
587
+ "spread": "0",
588
+ "color": "#00000014",
589
+ "inset": false
590
+ },
591
+ {
592
+ "offsetX": "0",
593
+ "offsetY": "10",
594
+ "blur": "28",
595
+ "spread": "0",
596
+ "color": "#0000001F",
597
+ "inset": false
598
+ }
599
+ ],
600
+ "dark": [
601
+ {
602
+ "offsetX": "0",
603
+ "offsetY": "1",
604
+ "blur": "2",
605
+ "spread": "0",
606
+ "color": "#00000080",
607
+ "inset": false
608
+ },
609
+ {
610
+ "offsetX": "0",
611
+ "offsetY": "10",
612
+ "blur": "28",
613
+ "spread": "0",
614
+ "color": "#00000080",
615
+ "inset": false
616
+ }
617
+ ]
618
+ }
619
+ },
620
+ "blur": {
621
+ "glass": {
622
+ "sm": {
623
+ "value": "8px",
624
+ "role": "Backdrop blur radius of a small glass layer: scrims, chips, tracks (8)"
625
+ },
626
+ "md": {
627
+ "value": "12px",
628
+ "role": "Backdrop blur radius of a medium glass layer: cards, overlays on content (12)"
629
+ },
630
+ "lg": {
631
+ "value": "24px",
632
+ "role": "Backdrop blur radius of the budget ceiling (24): no glass layer blurs more"
633
+ },
634
+ "default": {
635
+ "value": "20px",
636
+ "role": "Backdrop blur radius of a glass part: panels, bars, menus, dialogs (20). Mirrors the backgroundBlur 20 of the Penpot Glass board"
637
+ }
638
+ }
639
+ },
640
+ "material": {
641
+ "glass": {
642
+ "opacity": {
643
+ "sm": {
644
+ "value": "0.6",
645
+ "role": "Glass tint opacity, step sm. Not for text-bearing surfaces"
646
+ },
647
+ "md": {
648
+ "value": "0.72",
649
+ "role": "Glass tint opacity, step md"
650
+ },
651
+ "lg": {
652
+ "value": "0.82",
653
+ "role": "Glass tint opacity, step lg. The floor for text on glass over a worst-case backdrop"
654
+ },
655
+ "xl": {
656
+ "value": "0.9",
657
+ "role": "Glass tint opacity, step xl: floating surfaces"
658
+ },
659
+ "default": {
660
+ "value": "{material.glass.opacity.lg}",
661
+ "role": "Glass tint opacity of a surface that does not pick a step"
662
+ }
663
+ },
664
+ "tint": {
665
+ "value": "{color.background}",
666
+ "role": "Glass tint colour: the page background, drawn at a glass opacity"
667
+ },
668
+ "highlight": {
669
+ "value": "{material.highlight.top}",
670
+ "role": "1 px light line along the top edge of a glass surface"
671
+ },
672
+ "hairline": {
673
+ "value": "{color.glass-border}",
674
+ "role": "Border colour of a glass surface"
675
+ },
676
+ "tint-top": {
677
+ "light": "#FFFFFFA3",
678
+ "dark": "#1C1C1CB2",
679
+ "role": "Default glass tint, top stop. Foreground text only: no muted text, placeholder or control border. Dark is #1C1C1CB2, not the first recipe draft's #1C1C1CAF, so foreground text keeps 4.5:1 over a white backdrop (4.51:1, against 4.34:1)"
680
+ },
681
+ "tint-bottom": {
682
+ "light": "#FFFFFF80",
683
+ "dark": "#1414149C",
684
+ "role": "Default glass tint, bottom stop. Dark is #1414149C, not the first recipe draft's #14141499, for the same reason"
685
+ },
686
+ "tint-dense-top": {
687
+ "light": "#FFFFFFE6",
688
+ "dark": "#121212E0",
689
+ "role": "Dense glass tint, top stop: panels with body text, muted text, a placeholder or a control-identifying border"
690
+ },
691
+ "tint-dense-bottom": {
692
+ "light": "#FFFFFFD6",
693
+ "dark": "#121212D1",
694
+ "role": "Dense glass tint, bottom stop"
695
+ },
696
+ "hairline-edge": {
697
+ "light": "#00000014",
698
+ "dark": "#FFFFFF1A",
699
+ "role": "Outer 1 px edge of a glass part, ink 8% on light and white 10% on dark. Decorative only: a control border uses color.glass-input"
700
+ },
701
+ "sheen-opacity": {
702
+ "light": "1",
703
+ "dark": "0.17",
704
+ "role": "Opacity of the white sheen drawn over the tint: the specular gradient and the inner highlight. Dark scales the light values by 0.17"
705
+ }
706
+ },
707
+ "highlight": {
708
+ "top": {
709
+ "light": "#FFFFFFCC",
710
+ "dark": "#FFFFFF2E",
711
+ "role": "Top edge highlight of a glass surface, with alpha"
712
+ }
713
+ },
714
+ "solid": {
715
+ "material.glass.opacity.sm": "1",
716
+ "material.glass.opacity.md": "1",
717
+ "material.glass.opacity.lg": "1",
718
+ "material.glass.opacity.xl": "1",
719
+ "material.glass.tint": "{color.card}",
720
+ "material.glass.highlight": "{color.border}",
721
+ "material.glass.hairline": "{color.border}",
722
+ "material.glass.tint-top": "{color.card}",
723
+ "material.glass.tint-bottom": "{color.card}",
724
+ "material.glass.tint-dense-top": "{color.card}",
725
+ "material.glass.tint-dense-bottom": "{color.card}",
726
+ "material.glass.hairline-edge": "{color.border}",
727
+ "material.glass.sheen-opacity": "0",
728
+ "shadow.glass": "{shadow.raised}",
729
+ "shadow.glass-floating": "{shadow.floating}",
730
+ "blur.glass.sm": "0px",
731
+ "blur.glass.md": "0px",
732
+ "blur.glass.lg": "0px",
733
+ "blur.glass.default": "0px"
734
+ }
735
+ },
736
+ "depth": {
737
+ "z-0": {
738
+ "border": { "value": "{color.border}", "role": "Depth step 0 (base) border: the hairline of the page and static content" },
739
+ "surface": { "value": "{color.background}", "role": "Depth step 0 (base) surface: the page fill" },
740
+ "offset": { "value": "0px", "role": "Depth step 0 (base) offset: flat, on the page" },
741
+ "shadow": { "value": "none", "role": "Depth step 0 (base) shadow: none" },
742
+ "tint": { "value": "{material.glass.opacity.default}", "role": "Depth step 0 (base) glass tint opacity" }
743
+ },
744
+ "z-1": {
745
+ "border": { "value": "{color.border}", "role": "Depth step 1 (raised) border: the hairline of an interactive control at rest (button, input, chip, a card that acts)" },
746
+ "surface": { "value": "{color.card}", "role": "Depth step 1 (raised) surface: the card fill" },
747
+ "offset": { "value": "2px", "role": "Depth step 1 (raised) offset: raised surface" },
748
+ "shadow": { "value": "{shadow.raised}", "role": "Depth step 1 (raised) shadow" },
749
+ "tint": { "value": "{material.glass.opacity.default}", "role": "Depth step 1 (raised) glass tint opacity" }
750
+ },
751
+ "z-2": {
752
+ "border": { "value": "{color.border}", "role": "Depth step 2 (overlay) border: the hairline of a popover, menu, dropdown, tooltip or dialog" },
753
+ "surface": { "value": "{color.popover}", "role": "Depth step 2 (overlay) surface: the popover fill" },
754
+ "offset": { "value": "8px", "role": "Depth step 2 (overlay) offset: overlay (dialog, popover, menu)" },
755
+ "shadow": { "value": "{shadow.overlay}", "role": "Depth step 2 (overlay) shadow" },
756
+ "tint": { "value": "{material.glass.opacity.default}", "role": "Depth step 2 (overlay) glass tint opacity" }
757
+ },
758
+ "z-3": {
759
+ "border": { "value": "{color.border-strong}", "role": "Depth step 3 (floating) border: the brighter hairline of a sticky toolbar, dock or toast" },
760
+ "surface": { "value": "{color.popover}", "role": "Depth step 3 (floating) surface: the popover fill" },
761
+ "offset": { "value": "16px", "role": "Depth step 3 (floating) offset: floating surface (dock, floating bar)" },
762
+ "shadow": { "value": "{shadow.floating}", "role": "Depth step 3 (floating) shadow" },
763
+ "tint": { "value": "{material.glass.opacity.xl}", "role": "Depth step 3 (floating) glass tint opacity" }
764
+ },
765
+ "z-4": {
766
+ "border": { "value": "{color.border-strong}", "role": "Depth step 4 (modal) border: the brighter hairline of the topmost surface, above a scrim" },
767
+ "surface": { "value": "{color.popover}", "role": "Depth step 4 (modal) surface: the popover fill" },
768
+ "offset": { "value": "32px", "role": "Depth step 4 (modal) offset: topmost surface" },
769
+ "shadow": { "value": "{shadow.floating}", "role": "Depth step 4 (modal) shadow" },
770
+ "tint": { "value": "{material.glass.opacity.xl}", "role": "Depth step 4 (modal) glass tint opacity" }
771
+ }
772
+ },
773
+ "motion": {
774
+ "duration": {
775
+ "fast": "100ms",
776
+ "base": "200ms",
777
+ "slow": "300ms"
778
+ },
779
+ "easing": {
780
+ "enter": "ease-out",
781
+ "exit": "ease-in",
782
+ "layout": "ease-in-out"
783
+ },
784
+ "press": {
785
+ "duration": "{motion.duration.fast}",
786
+ "easing": "{motion.easing.enter}",
787
+ "role": "Pressed sink: scale 0.98 and down one depth step, ease-out. Under reduced motion the scale drops"
788
+ },
789
+ "raise": {
790
+ "duration": "{motion.duration.base}",
791
+ "easing": "{motion.easing.enter}",
792
+ "role": "Hover or gaze raise and overlay entry, ease-out. An exit that plays it in reverse uses a data-[closed]: class"
793
+ },
794
+ "reducedMotion": "Collapse durations to 1ms or skip non-essential motion."
795
+ },
796
+ "deprecated": {
797
+ "elevation.none": "Deprecated: no shadow; read depth.z-0.shadow. Stays for every 0.x release",
798
+ "elevation.sm": "Deprecated: read shadow.raised. Stays for every 0.x release",
799
+ "elevation.md": "Deprecated: read shadow.overlay. Stays for every 0.x release",
800
+ "elevation.lg": "Deprecated: read shadow.overlay. Stays for every 0.x release"
801
+ },
802
+ "iconography": {
803
+ "library": "lucide-react",
804
+ "size": {
805
+ "default": "1rem",
806
+ "compact": "0.875rem",
807
+ "large": "1.25rem"
808
+ },
809
+ "strokeWidth": 2,
810
+ "color": "currentColor"
811
+ },
812
+ "themes": {
813
+ "maia": {
814
+ "label": "Maia",
815
+ "description": "Maia product theme. It equals the core default and overrides nothing: the flat monochrome workbench look is the default. The theme is kept so data-theme=\"maia\" stays valid."
816
+ },
817
+ "paas": {
818
+ "label": "PaaS",
819
+ "description": "PaaS product theme: core neutral and status colours with JetBrains Mono for every face. Dark is the design default; light stays supported.",
820
+ "defaultMode": "dark",
821
+ "opacity": {
822
+ "grain": "0",
823
+ "contact": "0"
824
+ },
825
+ "typography": {
826
+ "fontFamily": {
827
+ "sans": "'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace",
828
+ "display": "'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace",
829
+ "mono": "'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace"
830
+ }
831
+ }
832
+ }
833
+ }
834
+ }