@crystal-ui/core 2.3.0 → 2.4.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.
Files changed (55) hide show
  1. package/README.md +82 -23
  2. package/assets/core/preferences.d.ts +4 -4
  3. package/assets/core/preferences.js +4 -4
  4. package/assets/core/presets.d.ts +4 -3
  5. package/assets/core/presets.js +24 -18
  6. package/assets/core/spring.js +9 -10
  7. package/assets/core/state.js +7 -7
  8. package/assets/crystal.css +784 -284
  9. package/assets/crystal.d.ts +3 -3
  10. package/assets/crystal.js +100 -123
  11. package/assets/icons/heading-2.svg +1 -0
  12. package/assets/icons/heading-3.svg +1 -0
  13. package/assets/icons/heading-4.svg +1 -0
  14. package/assets/icons/link.svg +1 -0
  15. package/assets/icons/list-ordered.svg +1 -0
  16. package/assets/icons/list.svg +1 -0
  17. package/assets/icons/manifest.json +81 -2
  18. package/assets/icons/quote.svg +1 -0
  19. package/assets/icons/redo.svg +1 -0
  20. package/assets/icons/subscript.svg +1 -0
  21. package/assets/icons/undo.svg +1 -0
  22. package/assets/icons/unlink.svg +1 -0
  23. package/assets/motion.js +13 -12
  24. package/docs/accessibility.md +50 -54
  25. package/docs/adoption.md +33 -19
  26. package/docs/catalogue.md +113 -108
  27. package/docs/colors.md +67 -73
  28. package/docs/components.md +142 -66
  29. package/docs/icons.md +9 -3
  30. package/docs/materials.md +129 -117
  31. package/docs/motion-components.md +15 -15
  32. package/docs/motion.md +156 -158
  33. package/docs/principles.md +12 -12
  34. package/docs/tokens.md +129 -130
  35. package/engines.js +3 -3
  36. package/package.json +11 -3
  37. package/tokens/catalogue/01-layout.json +1 -1
  38. package/tokens/catalogue/02-navigation.json +4 -4
  39. package/tokens/catalogue/03-actions.json +2 -1
  40. package/tokens/catalogue/04-inputs.json +30 -22
  41. package/tokens/catalogue/05-data-display.json +9 -14
  42. package/tokens/catalogue/06-feedback.json +8 -6
  43. package/tokens/catalogue/07-overlays.json +4 -4
  44. package/tokens/catalogue/08-typography.json +12 -8
  45. package/tokens/catalogue/09-utility.json +1 -1
  46. package/tokens/catalogue/10-charts.json +7 -7
  47. package/tokens/catalogue/11-media.json +33 -20
  48. package/tokens/catalogue/12-commerce.json +4 -4
  49. package/tokens/catalogue/13-screens.json +2 -3
  50. package/tokens/catalogue/14-blocks.json +3 -3
  51. package/tokens/catalogue.json +176 -116
  52. package/tokens/crystal.tokens.json +6 -6
  53. package/tokens/motion-recipes.json +6 -6
  54. package/tokens/surface-recipes.json +3452 -0
  55. package/tokens/surfaces.json +48 -17
@@ -0,0 +1,3452 @@
1
+ {
2
+ "$description": "GENERATED by tools/build-surface-recipes.cjs from core/tokens/surfaces.json and core/assets/crystal.css. Never edit it by hand: change the stylesheet or the vocabulary and rebuild. tests/core-contracts.cjs fails when this file is out of date. Each surface in surfaces.json has one record. Its recipe is what the stylesheet resolves for an element wearing only the surface selector, written as the stylesheet writes it: token references such as `var(--cr-resin-fill)`, literals such as `999px`, and expressions such as `calc(var(--cr-radius) + 6px)`. A platform resolves the tokens from its own export (core/exports/crystal-tokens.ts, .swift, .kt), so every platform reaches the same values. Fields: `fill` is the element's own background (the winner of `background` and `background-color`). `blur` and `saturation` are the arguments of `blur()` and `saturate()` in its `backdrop-filter`. `rim` is the border the browser draws: the `border` shorthand, with its colour replaced by a `border-color` that cascades after it (noted under `diagnostics`), or `border-color` alone when there is no shorthand. `shadow` is `box-shadow`, `radius` is `border-radius`, `padding` is the `padding` shorthand. `haze` is the feathered paint layer: a pseudo-element that draws a fill through a blur filter, which is how Crystal paints Haze and Stone so the foreground stays crisp. When `haze` is present the element's own `fill` is usually `transparent`, and the visible reading fill is `haze.fill`. `feather` is the blur of the feathered paint, on the element or on that layer. `extras` holds every other declaration on the element. `layers` holds every pseudo-element the recipe paints, keyed by its name. `fallbacks` holds the four adaptations: `opaque` under `[data-effects=opaque]`, `reducedTransparency` under `@media (prefers-reduced-transparency:reduce)`, `forcedColors` under `@media (forced-colors:active)`, and `noBackdropFilter` under `@supports not (backdrop-filter...)`. Each lists only the declarations that change and win, as `declarations` for the element and `layers` for pseudo-elements. A null branch changes nothing. `conditions` holds other conditional branches the same way, keyed by the condition. `shadowed` lists declarations a branch makes that lose to the base recipe in the cascade and therefore never render. `missing` names what the surface's materials oblige the recipe to carry and the stylesheet does not supply for this selector, and `why` says why it cannot (the selector is a part of the surface, or takes the value from what it is worn on). Rules that add a state or a variant the surface selector does not name (`:hover`, `.primary`, `span.cr-field-shell`, descendants such as `.cr-dock button`) are not part of a recipe, because the element described does not wear them. `tokens` lists every `--cr-*` custom property the record references. A selector that expands to elements the stylesheet paints differently, such as the checkbox and the radio, carries `alternatives`: one recipe per element, keyed by the element selector, in place of the top-level fields.",
3
+ "layerOrder": [
4
+ "crystal.reset",
5
+ "crystal.base",
6
+ "crystal.component",
7
+ "crystal.override"
8
+ ],
9
+ "surfaces": [
10
+ {
11
+ "id": "plastic",
12
+ "name": "Plastic foundation",
13
+ "materials": [
14
+ "Plastic"
15
+ ],
16
+ "kind": "class",
17
+ "selector": ".cr-plastic",
18
+ "fill": "var(--cr-canvas)",
19
+ "blur": null,
20
+ "saturation": null,
21
+ "rim": null,
22
+ "shadow": null,
23
+ "radius": null,
24
+ "padding": null,
25
+ "haze": null,
26
+ "feather": null,
27
+ "extras": {
28
+ "background-image": "radial-gradient(ellipse 58% 44% at 26% 34%,var(--cr-atmosphere-glow),transparent 72%),radial-gradient(ellipse at 5% 12%,var(--cr-atmosphere-one),transparent 64%),radial-gradient(ellipse at 96% 88%,var(--cr-atmosphere-two),transparent 63%)",
29
+ "isolation": "isolate"
30
+ },
31
+ "layers": {},
32
+ "fallbacks": {
33
+ "opaque": null,
34
+ "reducedTransparency": null,
35
+ "forcedColors": {
36
+ "declarations": {
37
+ "-webkit-backdrop-filter": "none",
38
+ "backdrop-filter": "none",
39
+ "background": "Canvas",
40
+ "border": "1px solid CanvasText",
41
+ "box-shadow": "none",
42
+ "color": "CanvasText"
43
+ }
44
+ },
45
+ "noBackdropFilter": null
46
+ },
47
+ "conditions": {},
48
+ "shadowed": [],
49
+ "diagnostics": [],
50
+ "missing": [],
51
+ "tokens": [
52
+ "--cr-atmosphere-glow",
53
+ "--cr-atmosphere-one",
54
+ "--cr-atmosphere-two",
55
+ "--cr-canvas"
56
+ ]
57
+ },
58
+ {
59
+ "id": "frost",
60
+ "name": "Frost panel",
61
+ "materials": [
62
+ "Frost"
63
+ ],
64
+ "kind": "class",
65
+ "selector": ".cr-frost",
66
+ "fill": "var(--cr-frost-fill)",
67
+ "blur": "var(--cr-frost-blur)",
68
+ "saturation": "var(--cr-frost-saturation)",
69
+ "rim": "1px solid var(--cr-rim)",
70
+ "shadow": "var(--cr-shadow-panel)",
71
+ "radius": "calc(var(--cr-radius) + 6px)",
72
+ "padding": null,
73
+ "haze": null,
74
+ "feather": null,
75
+ "extras": {
76
+ "isolation": "isolate",
77
+ "position": "relative"
78
+ },
79
+ "layers": {
80
+ "::before": {
81
+ "background-image": "url('grain.svg')",
82
+ "border-radius": "inherit",
83
+ "content": "''",
84
+ "inset": "0",
85
+ "opacity": "var(--cr-grain-opacity)",
86
+ "pointer-events": "none",
87
+ "position": "absolute",
88
+ "z-index": "-1"
89
+ }
90
+ },
91
+ "fallbacks": {
92
+ "opaque": {
93
+ "declarations": {
94
+ "-webkit-backdrop-filter": "none",
95
+ "backdrop-filter": "none",
96
+ "background": "var(--cr-surface)",
97
+ "border-color": "var(--cr-outline)"
98
+ },
99
+ "layers": {
100
+ "::before": {
101
+ "display": "none"
102
+ }
103
+ }
104
+ },
105
+ "reducedTransparency": {
106
+ "declarations": {
107
+ "-webkit-backdrop-filter": "none",
108
+ "backdrop-filter": "none",
109
+ "background": "var(--cr-surface)"
110
+ },
111
+ "layers": {
112
+ "::before": {
113
+ "display": "none"
114
+ }
115
+ }
116
+ },
117
+ "forcedColors": {
118
+ "declarations": {
119
+ "-webkit-backdrop-filter": "none",
120
+ "backdrop-filter": "none",
121
+ "background": "Canvas",
122
+ "border": "1px solid CanvasText",
123
+ "box-shadow": "none",
124
+ "color": "CanvasText"
125
+ },
126
+ "layers": {
127
+ "::before": {
128
+ "display": "none"
129
+ }
130
+ }
131
+ },
132
+ "noBackdropFilter": {
133
+ "declarations": {
134
+ "background": "var(--cr-surface)",
135
+ "border-color": "var(--cr-outline)"
136
+ }
137
+ }
138
+ },
139
+ "conditions": {},
140
+ "shadowed": [],
141
+ "diagnostics": [],
142
+ "missing": [],
143
+ "also": {
144
+ ".cr-frost.bar": {
145
+ "selector": ".cr-frost.bar",
146
+ "fill": "var(--cr-frost-fill)",
147
+ "blur": "var(--cr-frost-blur)",
148
+ "saturation": "var(--cr-frost-saturation)",
149
+ "rim": "1px solid var(--cr-rim)",
150
+ "shadow": "var(--cr-shadow-panel)",
151
+ "radius": "999px",
152
+ "padding": "var(--cr-spacing-2xs)",
153
+ "haze": null,
154
+ "feather": null,
155
+ "extras": {
156
+ "align-items": "center",
157
+ "display": "inline-flex",
158
+ "gap": "2px",
159
+ "isolation": "isolate",
160
+ "position": "relative"
161
+ },
162
+ "layers": {
163
+ "::before": {
164
+ "background-image": "url('grain.svg')",
165
+ "border-radius": "inherit",
166
+ "content": "''",
167
+ "inset": "0",
168
+ "opacity": "var(--cr-grain-opacity)",
169
+ "pointer-events": "none",
170
+ "position": "absolute",
171
+ "z-index": "-1"
172
+ }
173
+ },
174
+ "fallbacks": {
175
+ "opaque": {
176
+ "declarations": {
177
+ "-webkit-backdrop-filter": "none",
178
+ "backdrop-filter": "none",
179
+ "background": "var(--cr-surface)",
180
+ "border-color": "var(--cr-outline)"
181
+ },
182
+ "layers": {
183
+ "::before": {
184
+ "display": "none"
185
+ }
186
+ }
187
+ },
188
+ "reducedTransparency": {
189
+ "declarations": {
190
+ "-webkit-backdrop-filter": "none",
191
+ "backdrop-filter": "none",
192
+ "background": "var(--cr-surface)"
193
+ },
194
+ "layers": {
195
+ "::before": {
196
+ "display": "none"
197
+ }
198
+ }
199
+ },
200
+ "forcedColors": {
201
+ "declarations": {
202
+ "-webkit-backdrop-filter": "none",
203
+ "backdrop-filter": "none",
204
+ "background": "Canvas",
205
+ "border": "1px solid CanvasText",
206
+ "box-shadow": "none",
207
+ "color": "CanvasText"
208
+ },
209
+ "layers": {
210
+ "::before": {
211
+ "display": "none"
212
+ }
213
+ }
214
+ },
215
+ "noBackdropFilter": {
216
+ "declarations": {
217
+ "background": "var(--cr-surface)",
218
+ "border-color": "var(--cr-outline)"
219
+ }
220
+ }
221
+ },
222
+ "conditions": {},
223
+ "shadowed": [],
224
+ "diagnostics": [],
225
+ "missing": []
226
+ }
227
+ },
228
+ "tokens": [
229
+ "--cr-frost-blur",
230
+ "--cr-frost-fill",
231
+ "--cr-frost-saturation",
232
+ "--cr-grain-opacity",
233
+ "--cr-outline",
234
+ "--cr-radius",
235
+ "--cr-rim",
236
+ "--cr-shadow-panel",
237
+ "--cr-spacing-2xs",
238
+ "--cr-surface"
239
+ ]
240
+ },
241
+ {
242
+ "id": "haze",
243
+ "name": "Haze reading surface",
244
+ "materials": [
245
+ "Haze"
246
+ ],
247
+ "kind": "class",
248
+ "selector": ".cr-haze",
249
+ "fill": "transparent",
250
+ "blur": null,
251
+ "saturation": null,
252
+ "rim": "1px solid transparent",
253
+ "shadow": "none",
254
+ "radius": "var(--cr-radius)",
255
+ "padding": null,
256
+ "haze": {
257
+ "layer": "::before",
258
+ "inset": "0",
259
+ "fill": "var(--cr-haze-fill)",
260
+ "feather": "var(--cr-haze-feather)",
261
+ "radius": "inherit"
262
+ },
263
+ "feather": "var(--cr-haze-feather)",
264
+ "extras": {
265
+ "color": "var(--cr-text)",
266
+ "isolation": "isolate",
267
+ "position": "relative"
268
+ },
269
+ "layers": {
270
+ "::before": {
271
+ "background": "var(--cr-haze-fill)",
272
+ "border-radius": "inherit",
273
+ "box-shadow": "var(--cr-shadow-content)",
274
+ "content": "''",
275
+ "filter": "blur(var(--cr-haze-feather))",
276
+ "inset": "0",
277
+ "pointer-events": "none",
278
+ "position": "absolute",
279
+ "z-index": "-1"
280
+ }
281
+ },
282
+ "fallbacks": {
283
+ "opaque": {
284
+ "layers": {
285
+ "::before": {
286
+ "background": "var(--cr-surface)",
287
+ "filter": "none"
288
+ }
289
+ }
290
+ },
291
+ "reducedTransparency": {
292
+ "layers": {
293
+ "::before": {
294
+ "background": "var(--cr-surface)",
295
+ "filter": "none"
296
+ }
297
+ }
298
+ },
299
+ "forcedColors": {
300
+ "declarations": {
301
+ "-webkit-backdrop-filter": "none",
302
+ "backdrop-filter": "none",
303
+ "background": "Canvas",
304
+ "border": "1px solid CanvasText",
305
+ "box-shadow": "none",
306
+ "color": "CanvasText"
307
+ },
308
+ "layers": {
309
+ "::before": {
310
+ "display": "none"
311
+ }
312
+ }
313
+ },
314
+ "noBackdropFilter": null
315
+ },
316
+ "conditions": {},
317
+ "shadowed": [],
318
+ "diagnostics": [
319
+ "rim composed from the border shorthand (1px solid var(--cr-edge)) and border-color (transparent), which cascades after it"
320
+ ],
321
+ "missing": [],
322
+ "also": {
323
+ ".cr-haze.overlay": {
324
+ "selector": ".cr-haze.overlay",
325
+ "fill": "var(--cr-haze-fill)",
326
+ "blur": null,
327
+ "saturation": null,
328
+ "rim": "1px solid var(--cr-edge)",
329
+ "shadow": "var(--cr-shadow-content)",
330
+ "radius": "var(--cr-radius)",
331
+ "padding": null,
332
+ "haze": null,
333
+ "feather": null,
334
+ "extras": {
335
+ "border-color": "transparent",
336
+ "color": "var(--cr-text)",
337
+ "isolation": "isolate",
338
+ "position": "relative"
339
+ },
340
+ "layers": {
341
+ "::before": {
342
+ "background": "var(--cr-haze-fill)",
343
+ "border-radius": "inherit",
344
+ "box-shadow": "var(--cr-shadow-content)",
345
+ "content": "''",
346
+ "display": "none",
347
+ "filter": "blur(var(--cr-haze-feather))",
348
+ "inset": "0",
349
+ "pointer-events": "none",
350
+ "position": "absolute",
351
+ "z-index": "-1"
352
+ }
353
+ },
354
+ "fallbacks": {
355
+ "opaque": {
356
+ "declarations": {
357
+ "background": "var(--cr-surface)"
358
+ },
359
+ "layers": {
360
+ "::before": {
361
+ "background": "var(--cr-surface)",
362
+ "filter": "none"
363
+ }
364
+ }
365
+ },
366
+ "reducedTransparency": {
367
+ "declarations": {
368
+ "background": "var(--cr-surface)"
369
+ },
370
+ "layers": {
371
+ "::before": {
372
+ "background": "var(--cr-surface)",
373
+ "filter": "none"
374
+ }
375
+ }
376
+ },
377
+ "forcedColors": {
378
+ "declarations": {
379
+ "-webkit-backdrop-filter": "none",
380
+ "backdrop-filter": "none",
381
+ "background": "Canvas",
382
+ "border": "1px solid CanvasText",
383
+ "box-shadow": "none",
384
+ "color": "CanvasText"
385
+ }
386
+ },
387
+ "noBackdropFilter": null
388
+ },
389
+ "conditions": {},
390
+ "shadowed": [],
391
+ "diagnostics": [],
392
+ "missing": []
393
+ }
394
+ },
395
+ "tokens": [
396
+ "--cr-edge",
397
+ "--cr-haze-feather",
398
+ "--cr-haze-fill",
399
+ "--cr-radius",
400
+ "--cr-shadow-content",
401
+ "--cr-surface",
402
+ "--cr-text"
403
+ ]
404
+ },
405
+ {
406
+ "id": "resin",
407
+ "name": "Resin plane",
408
+ "materials": [
409
+ "Resin"
410
+ ],
411
+ "kind": "class",
412
+ "selector": ".cr-resin",
413
+ "fill": "var(--cr-resin-fill)",
414
+ "blur": "var(--cr-resin-blur)",
415
+ "saturation": "var(--cr-resin-saturation)",
416
+ "rim": "1px solid var(--cr-rim)",
417
+ "shadow": "var(--cr-shadow-float)",
418
+ "radius": "999px",
419
+ "padding": null,
420
+ "haze": null,
421
+ "feather": null,
422
+ "extras": {
423
+ "isolation": "isolate",
424
+ "position": "relative"
425
+ },
426
+ "layers": {
427
+ "::after": {
428
+ "border-radius": "inherit",
429
+ "box-shadow": "inset 1px 1px 1px rgba(255,255,255,.72),inset -1px -1px 1px rgba(255,255,255,.28)",
430
+ "content": "''",
431
+ "inset": "0",
432
+ "pointer-events": "none",
433
+ "position": "absolute"
434
+ },
435
+ "::before": {
436
+ "background": "linear-gradient(145deg,rgba(255,255,255,.23),transparent 32%,transparent 69%,rgba(255,255,255,.10))",
437
+ "border-radius": "inherit",
438
+ "content": "''",
439
+ "inset": "0",
440
+ "pointer-events": "none",
441
+ "position": "absolute",
442
+ "z-index": "-1"
443
+ }
444
+ },
445
+ "fallbacks": {
446
+ "opaque": {
447
+ "declarations": {
448
+ "-webkit-backdrop-filter": "none",
449
+ "backdrop-filter": "none",
450
+ "background": "var(--cr-surface)",
451
+ "border-color": "var(--cr-outline)"
452
+ },
453
+ "layers": {
454
+ "::after": {
455
+ "display": "none"
456
+ },
457
+ "::before": {
458
+ "display": "none"
459
+ }
460
+ }
461
+ },
462
+ "reducedTransparency": {
463
+ "declarations": {
464
+ "-webkit-backdrop-filter": "none",
465
+ "backdrop-filter": "none",
466
+ "background": "var(--cr-surface)"
467
+ },
468
+ "layers": {
469
+ "::after": {
470
+ "display": "none"
471
+ },
472
+ "::before": {
473
+ "display": "none"
474
+ }
475
+ }
476
+ },
477
+ "forcedColors": {
478
+ "declarations": {
479
+ "-webkit-backdrop-filter": "none",
480
+ "backdrop-filter": "none",
481
+ "background": "Canvas",
482
+ "border": "1px solid CanvasText",
483
+ "box-shadow": "none",
484
+ "color": "CanvasText"
485
+ },
486
+ "layers": {
487
+ "::after": {
488
+ "display": "none"
489
+ },
490
+ "::before": {
491
+ "display": "none"
492
+ }
493
+ }
494
+ },
495
+ "noBackdropFilter": {
496
+ "declarations": {
497
+ "background": "var(--cr-surface)",
498
+ "border-color": "var(--cr-outline)"
499
+ }
500
+ }
501
+ },
502
+ "conditions": {},
503
+ "shadowed": [],
504
+ "diagnostics": [],
505
+ "missing": [],
506
+ "also": {
507
+ ".cr-resin.transport": {
508
+ "selector": ".cr-resin.transport",
509
+ "fill": "var(--cr-resin-fill)",
510
+ "blur": "var(--cr-resin-blur)",
511
+ "saturation": "var(--cr-resin-saturation)",
512
+ "rim": "1px solid var(--cr-rim)",
513
+ "shadow": "var(--cr-shadow-float)",
514
+ "radius": "999px",
515
+ "padding": "var(--cr-spacing-2xs) var(--cr-spacing-sm)",
516
+ "haze": null,
517
+ "feather": null,
518
+ "extras": {
519
+ "align-items": "center",
520
+ "box-sizing": "border-box",
521
+ "color": "var(--cr-text)",
522
+ "display": "flex",
523
+ "gap": "var(--cr-spacing-2xs)",
524
+ "isolation": "isolate",
525
+ "min-height": "58px",
526
+ "position": "relative"
527
+ },
528
+ "layers": {
529
+ "::after": {
530
+ "border-radius": "inherit",
531
+ "box-shadow": "inset 1px 1px 1px rgba(255,255,255,.72),inset -1px -1px 1px rgba(255,255,255,.28)",
532
+ "content": "''",
533
+ "inset": "0",
534
+ "pointer-events": "none",
535
+ "position": "absolute"
536
+ },
537
+ "::before": {
538
+ "background": "linear-gradient(145deg,rgba(255,255,255,.23),transparent 32%,transparent 69%,rgba(255,255,255,.10))",
539
+ "border-radius": "inherit",
540
+ "content": "''",
541
+ "inset": "0",
542
+ "pointer-events": "none",
543
+ "position": "absolute",
544
+ "z-index": "-1"
545
+ }
546
+ },
547
+ "fallbacks": {
548
+ "opaque": {
549
+ "declarations": {
550
+ "-webkit-backdrop-filter": "none",
551
+ "backdrop-filter": "none",
552
+ "background": "var(--cr-surface)",
553
+ "border-color": "var(--cr-outline)"
554
+ },
555
+ "layers": {
556
+ "::after": {
557
+ "display": "none"
558
+ },
559
+ "::before": {
560
+ "display": "none"
561
+ }
562
+ }
563
+ },
564
+ "reducedTransparency": {
565
+ "declarations": {
566
+ "-webkit-backdrop-filter": "none",
567
+ "backdrop-filter": "none",
568
+ "background": "var(--cr-surface)"
569
+ },
570
+ "layers": {
571
+ "::after": {
572
+ "display": "none"
573
+ },
574
+ "::before": {
575
+ "display": "none"
576
+ }
577
+ }
578
+ },
579
+ "forcedColors": {
580
+ "declarations": {
581
+ "-webkit-backdrop-filter": "none",
582
+ "backdrop-filter": "none",
583
+ "background": "Canvas",
584
+ "border": "1px solid CanvasText",
585
+ "box-shadow": "none",
586
+ "color": "CanvasText"
587
+ },
588
+ "layers": {
589
+ "::after": {
590
+ "display": "none"
591
+ },
592
+ "::before": {
593
+ "display": "none"
594
+ }
595
+ }
596
+ },
597
+ "noBackdropFilter": {
598
+ "declarations": {
599
+ "background": "var(--cr-surface)",
600
+ "border-color": "var(--cr-outline)"
601
+ }
602
+ }
603
+ },
604
+ "conditions": {
605
+ "@container (max-width:420px)": {
606
+ "declarations": {
607
+ "border-radius": "calc(var(--cr-radius) - 4px)",
608
+ "flex-wrap": "wrap",
609
+ "padding-inline": "var(--cr-spacing-xs)"
610
+ }
611
+ }
612
+ },
613
+ "shadowed": [],
614
+ "diagnostics": [],
615
+ "missing": []
616
+ }
617
+ },
618
+ "tokens": [
619
+ "--cr-outline",
620
+ "--cr-radius",
621
+ "--cr-resin-blur",
622
+ "--cr-resin-fill",
623
+ "--cr-resin-saturation",
624
+ "--cr-rim",
625
+ "--cr-shadow-float",
626
+ "--cr-spacing-2xs",
627
+ "--cr-spacing-sm",
628
+ "--cr-spacing-xs",
629
+ "--cr-surface",
630
+ "--cr-text"
631
+ ]
632
+ },
633
+ {
634
+ "id": "resin-panel",
635
+ "name": "Resin panel",
636
+ "materials": [
637
+ "Resin"
638
+ ],
639
+ "kind": "class",
640
+ "selector": ".cr-resin.panel",
641
+ "fill": "var(--cr-resin-fill)",
642
+ "blur": "var(--cr-resin-blur)",
643
+ "saturation": "var(--cr-resin-saturation)",
644
+ "rim": "1px solid var(--cr-rim)",
645
+ "shadow": "var(--cr-shadow-float)",
646
+ "radius": "calc(var(--cr-radius) + 6px)",
647
+ "padding": null,
648
+ "haze": null,
649
+ "feather": null,
650
+ "extras": {
651
+ "isolation": "isolate",
652
+ "position": "relative"
653
+ },
654
+ "layers": {
655
+ "::after": {
656
+ "border-radius": "inherit",
657
+ "box-shadow": "inset 1px 1px 1px rgba(255,255,255,.72),inset -1px -1px 1px rgba(255,255,255,.28)",
658
+ "content": "''",
659
+ "inset": "0",
660
+ "pointer-events": "none",
661
+ "position": "absolute"
662
+ },
663
+ "::before": {
664
+ "background": "linear-gradient(145deg,rgba(255,255,255,.23),transparent 32%,transparent 69%,rgba(255,255,255,.10))",
665
+ "border-radius": "inherit",
666
+ "content": "''",
667
+ "inset": "0",
668
+ "pointer-events": "none",
669
+ "position": "absolute",
670
+ "z-index": "-1"
671
+ }
672
+ },
673
+ "fallbacks": {
674
+ "opaque": {
675
+ "declarations": {
676
+ "-webkit-backdrop-filter": "none",
677
+ "backdrop-filter": "none",
678
+ "background": "var(--cr-surface)",
679
+ "border-color": "var(--cr-outline)"
680
+ },
681
+ "layers": {
682
+ "::after": {
683
+ "display": "none"
684
+ },
685
+ "::before": {
686
+ "display": "none"
687
+ }
688
+ }
689
+ },
690
+ "reducedTransparency": {
691
+ "declarations": {
692
+ "-webkit-backdrop-filter": "none",
693
+ "backdrop-filter": "none",
694
+ "background": "var(--cr-surface)"
695
+ },
696
+ "layers": {
697
+ "::after": {
698
+ "display": "none"
699
+ },
700
+ "::before": {
701
+ "display": "none"
702
+ }
703
+ }
704
+ },
705
+ "forcedColors": {
706
+ "declarations": {
707
+ "-webkit-backdrop-filter": "none",
708
+ "backdrop-filter": "none",
709
+ "background": "Canvas",
710
+ "border": "1px solid CanvasText",
711
+ "box-shadow": "none",
712
+ "color": "CanvasText"
713
+ },
714
+ "layers": {
715
+ "::after": {
716
+ "display": "none"
717
+ },
718
+ "::before": {
719
+ "display": "none"
720
+ }
721
+ }
722
+ },
723
+ "noBackdropFilter": {
724
+ "declarations": {
725
+ "background": "var(--cr-surface)",
726
+ "border-color": "var(--cr-outline)"
727
+ }
728
+ }
729
+ },
730
+ "conditions": {},
731
+ "shadowed": [],
732
+ "diagnostics": [],
733
+ "missing": [],
734
+ "tokens": [
735
+ "--cr-outline",
736
+ "--cr-radius",
737
+ "--cr-resin-blur",
738
+ "--cr-resin-fill",
739
+ "--cr-resin-saturation",
740
+ "--cr-rim",
741
+ "--cr-shadow-float",
742
+ "--cr-surface"
743
+ ]
744
+ },
745
+ {
746
+ "id": "control",
747
+ "name": "Resin control",
748
+ "materials": [
749
+ "Resin",
750
+ "Haze"
751
+ ],
752
+ "kind": "class",
753
+ "selector": ".cr-button",
754
+ "fill": null,
755
+ "blur": null,
756
+ "saturation": null,
757
+ "rim": "1px solid transparent",
758
+ "shadow": null,
759
+ "radius": "999px",
760
+ "padding": "15px 24px",
761
+ "haze": null,
762
+ "feather": null,
763
+ "extras": {
764
+ "align-items": "center",
765
+ "display": "inline-flex",
766
+ "font-weight": "750",
767
+ "gap": "9px",
768
+ "justify-content": "center",
769
+ "line-height": "1.3",
770
+ "min-height": "48px",
771
+ "text-decoration": "none"
772
+ },
773
+ "layers": {},
774
+ "fallbacks": {
775
+ "opaque": null,
776
+ "reducedTransparency": null,
777
+ "forcedColors": {
778
+ "declarations": {
779
+ "border": "1px solid ButtonText",
780
+ "forced-color-adjust": "auto"
781
+ }
782
+ },
783
+ "noBackdropFilter": null
784
+ },
785
+ "conditions": {},
786
+ "shadowed": [],
787
+ "diagnostics": [],
788
+ "missing": [
789
+ "fill",
790
+ "blur",
791
+ "haze"
792
+ ],
793
+ "also": {
794
+ ".cr-control": {
795
+ "selector": ".cr-control",
796
+ "fill": "var(--cr-resin-fill)",
797
+ "blur": "var(--cr-resin-blur)",
798
+ "saturation": "var(--cr-resin-saturation)",
799
+ "rim": "1px solid var(--cr-rim)",
800
+ "shadow": "var(--cr-shadow-float)",
801
+ "radius": null,
802
+ "padding": null,
803
+ "haze": {
804
+ "layer": "::before",
805
+ "inset": "var(--cr-haze-inset)",
806
+ "fill": "var(--cr-haze-fill)",
807
+ "feather": "var(--cr-haze-feather)",
808
+ "radius": "inherit"
809
+ },
810
+ "feather": "var(--cr-haze-feather)",
811
+ "extras": {
812
+ "color": "var(--cr-text)",
813
+ "filter": "none",
814
+ "isolation": "isolate",
815
+ "position": "relative"
816
+ },
817
+ "layers": {
818
+ "::after": {
819
+ "background": "linear-gradient(115deg,transparent 20%,#ffffff30 43%,#ffffff0a 55%,transparent 72%),radial-gradient(ellipse at 12% 0%,var(--cr-control-light),transparent 75%),linear-gradient(135deg,var(--cr-control-color),transparent 60%,var(--cr-control-light))",
820
+ "background-position": "100% 0",
821
+ "background-size": "220% 100%,100% 100%,100% 100%",
822
+ "border-radius": "inherit",
823
+ "box-shadow": "none",
824
+ "content": "''",
825
+ "filter": "blur(2px)",
826
+ "inset": "2px",
827
+ "pointer-events": "none",
828
+ "position": "absolute",
829
+ "z-index": "-2"
830
+ },
831
+ "::before": {
832
+ "background": "var(--cr-haze-fill)",
833
+ "border-radius": "inherit",
834
+ "box-shadow": "none",
835
+ "content": "''",
836
+ "filter": "blur(var(--cr-haze-feather))",
837
+ "inset": "var(--cr-haze-inset)",
838
+ "pointer-events": "none",
839
+ "position": "absolute",
840
+ "z-index": "-1"
841
+ }
842
+ },
843
+ "fallbacks": {
844
+ "opaque": {
845
+ "declarations": {
846
+ "-webkit-backdrop-filter": "none",
847
+ "backdrop-filter": "none",
848
+ "background": "var(--cr-surface)"
849
+ },
850
+ "layers": {
851
+ "::after": {
852
+ "display": "none"
853
+ }
854
+ }
855
+ },
856
+ "reducedTransparency": {
857
+ "declarations": {
858
+ "-webkit-backdrop-filter": "none",
859
+ "backdrop-filter": "none",
860
+ "background": "var(--cr-surface)"
861
+ },
862
+ "layers": {
863
+ "::after": {
864
+ "display": "none"
865
+ }
866
+ }
867
+ },
868
+ "forcedColors": {
869
+ "declarations": {
870
+ "-webkit-backdrop-filter": "none",
871
+ "backdrop-filter": "none",
872
+ "background": "Canvas",
873
+ "border": "1px solid ButtonText",
874
+ "box-shadow": "none",
875
+ "color": "CanvasText"
876
+ },
877
+ "layers": {
878
+ "::after": {
879
+ "display": "none"
880
+ },
881
+ "::before": {
882
+ "display": "none"
883
+ }
884
+ }
885
+ },
886
+ "noBackdropFilter": null
887
+ },
888
+ "conditions": {},
889
+ "shadowed": [],
890
+ "diagnostics": [],
891
+ "missing": [
892
+ "radius"
893
+ ],
894
+ "why": "Takes the radius of what it is: the pill comes with `.cr-button`, and a card-shaped control keeps the content radius of the surface it also wears."
895
+ },
896
+ "button": {
897
+ "selector": "button",
898
+ "fill": "var(--cr-resin-fill)",
899
+ "blur": "var(--cr-resin-blur)",
900
+ "saturation": "var(--cr-resin-saturation)",
901
+ "rim": "1px solid var(--cr-rim)",
902
+ "shadow": "var(--cr-shadow-float)",
903
+ "radius": null,
904
+ "padding": null,
905
+ "haze": {
906
+ "layer": "::before",
907
+ "inset": "var(--cr-haze-inset)",
908
+ "fill": "var(--cr-haze-fill)",
909
+ "feather": "var(--cr-haze-feather)",
910
+ "radius": "inherit"
911
+ },
912
+ "feather": "var(--cr-haze-feather)",
913
+ "extras": {
914
+ "color": "var(--cr-text)",
915
+ "cursor": "pointer",
916
+ "filter": "none",
917
+ "font": "inherit",
918
+ "isolation": "isolate",
919
+ "min-height": "48px",
920
+ "position": "relative",
921
+ "touch-action": "manipulation",
922
+ "transition": "background var(--cr-state),box-shadow var(--cr-state),transform var(--cr-press)"
923
+ },
924
+ "layers": {
925
+ "::after": {
926
+ "background": "linear-gradient(115deg,transparent 20%,#ffffff30 43%,#ffffff0a 55%,transparent 72%),radial-gradient(ellipse at 12% 0%,var(--cr-control-light),transparent 75%),linear-gradient(135deg,var(--cr-control-color),transparent 60%,var(--cr-control-light))",
927
+ "background-position": "100% 0",
928
+ "background-size": "220% 100%,100% 100%,100% 100%",
929
+ "border-radius": "inherit",
930
+ "box-shadow": "none",
931
+ "content": "''",
932
+ "filter": "blur(2px)",
933
+ "inset": "2px",
934
+ "pointer-events": "none",
935
+ "position": "absolute",
936
+ "z-index": "-2"
937
+ },
938
+ "::before": {
939
+ "background": "var(--cr-haze-fill)",
940
+ "border-radius": "inherit",
941
+ "box-shadow": "none",
942
+ "content": "''",
943
+ "filter": "blur(var(--cr-haze-feather))",
944
+ "inset": "var(--cr-haze-inset)",
945
+ "pointer-events": "none",
946
+ "position": "absolute",
947
+ "z-index": "-1"
948
+ }
949
+ },
950
+ "fallbacks": {
951
+ "opaque": {
952
+ "declarations": {
953
+ "-webkit-backdrop-filter": "none",
954
+ "backdrop-filter": "none",
955
+ "background": "var(--cr-surface)"
956
+ },
957
+ "layers": {
958
+ "::after": {
959
+ "display": "none"
960
+ }
961
+ }
962
+ },
963
+ "reducedTransparency": {
964
+ "declarations": {
965
+ "-webkit-backdrop-filter": "none",
966
+ "backdrop-filter": "none",
967
+ "background": "var(--cr-surface)"
968
+ },
969
+ "layers": {
970
+ "::after": {
971
+ "display": "none"
972
+ }
973
+ }
974
+ },
975
+ "forcedColors": {
976
+ "declarations": {
977
+ "-webkit-backdrop-filter": "none",
978
+ "backdrop-filter": "none",
979
+ "background": "Canvas",
980
+ "border": "1px solid ButtonText",
981
+ "box-shadow": "none",
982
+ "color": "CanvasText"
983
+ },
984
+ "layers": {
985
+ "::after": {
986
+ "display": "none"
987
+ },
988
+ "::before": {
989
+ "display": "none"
990
+ }
991
+ }
992
+ },
993
+ "noBackdropFilter": null
994
+ },
995
+ "conditions": {},
996
+ "shadowed": [],
997
+ "diagnostics": [],
998
+ "missing": [
999
+ "radius"
1000
+ ],
1001
+ "why": "Takes the radius of what it is: the pill comes with `.cr-button`, and a card-shaped button keeps the content radius of the surface it also wears."
1002
+ },
1003
+ "a.cr-button": {
1004
+ "selector": "a.cr-button",
1005
+ "fill": "var(--cr-resin-fill)",
1006
+ "blur": "var(--cr-resin-blur)",
1007
+ "saturation": "var(--cr-resin-saturation)",
1008
+ "rim": "1px solid var(--cr-rim)",
1009
+ "shadow": "var(--cr-shadow-float)",
1010
+ "radius": "999px",
1011
+ "padding": "15px 24px",
1012
+ "haze": {
1013
+ "layer": "::before",
1014
+ "inset": "var(--cr-haze-inset)",
1015
+ "fill": "var(--cr-haze-fill)",
1016
+ "feather": "var(--cr-haze-feather)",
1017
+ "radius": "inherit"
1018
+ },
1019
+ "feather": "var(--cr-haze-feather)",
1020
+ "extras": {
1021
+ "align-items": "center",
1022
+ "color": "var(--cr-text)",
1023
+ "display": "inline-flex",
1024
+ "filter": "none",
1025
+ "font-weight": "750",
1026
+ "gap": "9px",
1027
+ "isolation": "isolate",
1028
+ "justify-content": "center",
1029
+ "line-height": "1.3",
1030
+ "min-height": "48px",
1031
+ "position": "relative",
1032
+ "text-decoration": "none",
1033
+ "text-underline-offset": "4px",
1034
+ "touch-action": "manipulation"
1035
+ },
1036
+ "layers": {
1037
+ "::after": {
1038
+ "background": "linear-gradient(115deg,transparent 20%,#ffffff30 43%,#ffffff0a 55%,transparent 72%),radial-gradient(ellipse at 12% 0%,var(--cr-control-light),transparent 75%),linear-gradient(135deg,var(--cr-control-color),transparent 60%,var(--cr-control-light))",
1039
+ "background-position": "100% 0",
1040
+ "background-size": "220% 100%,100% 100%,100% 100%",
1041
+ "border-radius": "inherit",
1042
+ "box-shadow": "none",
1043
+ "content": "''",
1044
+ "filter": "blur(2px)",
1045
+ "inset": "2px",
1046
+ "pointer-events": "none",
1047
+ "position": "absolute",
1048
+ "z-index": "-2"
1049
+ },
1050
+ "::before": {
1051
+ "background": "var(--cr-haze-fill)",
1052
+ "border-radius": "inherit",
1053
+ "box-shadow": "none",
1054
+ "content": "''",
1055
+ "filter": "blur(var(--cr-haze-feather))",
1056
+ "inset": "var(--cr-haze-inset)",
1057
+ "pointer-events": "none",
1058
+ "position": "absolute",
1059
+ "z-index": "-1"
1060
+ }
1061
+ },
1062
+ "fallbacks": {
1063
+ "opaque": {
1064
+ "declarations": {
1065
+ "-webkit-backdrop-filter": "none",
1066
+ "backdrop-filter": "none",
1067
+ "background": "var(--cr-surface)"
1068
+ },
1069
+ "layers": {
1070
+ "::after": {
1071
+ "display": "none"
1072
+ }
1073
+ }
1074
+ },
1075
+ "reducedTransparency": {
1076
+ "declarations": {
1077
+ "-webkit-backdrop-filter": "none",
1078
+ "backdrop-filter": "none",
1079
+ "background": "var(--cr-surface)"
1080
+ },
1081
+ "layers": {
1082
+ "::after": {
1083
+ "display": "none"
1084
+ }
1085
+ }
1086
+ },
1087
+ "forcedColors": {
1088
+ "declarations": {
1089
+ "-webkit-backdrop-filter": "none",
1090
+ "backdrop-filter": "none",
1091
+ "background": "Canvas",
1092
+ "border": "1px solid ButtonText",
1093
+ "box-shadow": "none",
1094
+ "color": "CanvasText",
1095
+ "forced-color-adjust": "auto"
1096
+ },
1097
+ "layers": {
1098
+ "::after": {
1099
+ "display": "none"
1100
+ },
1101
+ "::before": {
1102
+ "display": "none"
1103
+ }
1104
+ }
1105
+ },
1106
+ "noBackdropFilter": null
1107
+ },
1108
+ "conditions": {},
1109
+ "shadowed": [],
1110
+ "diagnostics": [],
1111
+ "missing": []
1112
+ }
1113
+ },
1114
+ "why": "Element-keyed: `.cr-button` coats a `button` or an `a`. On any other element, wear `.cr-control`, which coats any element.",
1115
+ "tokens": [
1116
+ "--cr-control-color",
1117
+ "--cr-control-light",
1118
+ "--cr-haze-feather",
1119
+ "--cr-haze-fill",
1120
+ "--cr-haze-inset",
1121
+ "--cr-press",
1122
+ "--cr-resin-blur",
1123
+ "--cr-resin-fill",
1124
+ "--cr-resin-saturation",
1125
+ "--cr-rim",
1126
+ "--cr-shadow-float",
1127
+ "--cr-state",
1128
+ "--cr-surface",
1129
+ "--cr-text"
1130
+ ]
1131
+ },
1132
+ {
1133
+ "id": "field",
1134
+ "name": "Field shell",
1135
+ "materials": [
1136
+ "Resin",
1137
+ "Haze"
1138
+ ],
1139
+ "kind": "class",
1140
+ "selector": ".cr-field-shell",
1141
+ "fill": "var(--cr-resin-fill)",
1142
+ "blur": "var(--cr-resin-blur)",
1143
+ "saturation": "var(--cr-resin-saturation)",
1144
+ "rim": "1px solid var(--cr-rim)",
1145
+ "shadow": "var(--cr-shadow-float)",
1146
+ "radius": "20px",
1147
+ "padding": "8px",
1148
+ "haze": {
1149
+ "layer": "::before",
1150
+ "inset": "var(--cr-haze-inset)",
1151
+ "fill": "var(--cr-haze-fill)",
1152
+ "feather": "var(--cr-haze-feather)",
1153
+ "radius": "inherit"
1154
+ },
1155
+ "feather": "var(--cr-haze-feather)",
1156
+ "extras": {
1157
+ "align-items": "center",
1158
+ "color": "var(--cr-text)",
1159
+ "display": "inline-flex",
1160
+ "filter": "none",
1161
+ "isolation": "isolate",
1162
+ "min-width": "0",
1163
+ "position": "relative",
1164
+ "vertical-align": "middle"
1165
+ },
1166
+ "layers": {
1167
+ "::after": {
1168
+ "background": "linear-gradient(115deg,transparent 20%,#ffffff30 43%,#ffffff0a 55%,transparent 72%),radial-gradient(ellipse at 12% 0%,var(--cr-control-light),transparent 75%),linear-gradient(135deg,var(--cr-control-color),transparent 60%,var(--cr-control-light))",
1169
+ "background-position": "100% 0",
1170
+ "background-size": "220% 100%,100% 100%,100% 100%",
1171
+ "border-radius": "inherit",
1172
+ "box-shadow": "inset 0 2px 1px var(--cr-rim),inset 0 -1px 1px var(--cr-rim)",
1173
+ "content": "''",
1174
+ "inset": "0",
1175
+ "pointer-events": "none",
1176
+ "position": "absolute",
1177
+ "z-index": "-2"
1178
+ },
1179
+ "::before": {
1180
+ "background": "var(--cr-haze-fill)",
1181
+ "border-radius": "inherit",
1182
+ "box-shadow": "none",
1183
+ "content": "''",
1184
+ "filter": "blur(var(--cr-haze-feather))",
1185
+ "inset": "var(--cr-haze-inset)",
1186
+ "pointer-events": "none",
1187
+ "position": "absolute",
1188
+ "z-index": "-1"
1189
+ }
1190
+ },
1191
+ "fallbacks": {
1192
+ "opaque": {
1193
+ "declarations": {
1194
+ "-webkit-backdrop-filter": "none",
1195
+ "backdrop-filter": "none",
1196
+ "background": "var(--cr-surface)"
1197
+ },
1198
+ "layers": {
1199
+ "::after": {
1200
+ "display": "none"
1201
+ }
1202
+ }
1203
+ },
1204
+ "reducedTransparency": {
1205
+ "declarations": {
1206
+ "-webkit-backdrop-filter": "none",
1207
+ "backdrop-filter": "none",
1208
+ "background": "var(--cr-surface)"
1209
+ },
1210
+ "layers": {
1211
+ "::after": {
1212
+ "display": "none"
1213
+ }
1214
+ }
1215
+ },
1216
+ "forcedColors": {
1217
+ "declarations": {
1218
+ "-webkit-backdrop-filter": "none",
1219
+ "backdrop-filter": "none",
1220
+ "background": "Canvas",
1221
+ "border": "1px solid ButtonText",
1222
+ "box-shadow": "none",
1223
+ "color": "CanvasText"
1224
+ },
1225
+ "layers": {
1226
+ "::after": {
1227
+ "display": "none"
1228
+ },
1229
+ "::before": {
1230
+ "display": "none"
1231
+ }
1232
+ }
1233
+ },
1234
+ "noBackdropFilter": null
1235
+ },
1236
+ "conditions": {},
1237
+ "shadowed": [],
1238
+ "diagnostics": [],
1239
+ "missing": [],
1240
+ "also": {
1241
+ ".cr-editor": {
1242
+ "selector": ".cr-editor",
1243
+ "fill": null,
1244
+ "blur": null,
1245
+ "saturation": null,
1246
+ "rim": null,
1247
+ "shadow": null,
1248
+ "radius": null,
1249
+ "padding": "var(--cr-space)",
1250
+ "haze": null,
1251
+ "feather": null,
1252
+ "extras": {
1253
+ "caret-color": "var(--cr-primary)",
1254
+ "color": "var(--cr-text)",
1255
+ "font-size": "var(--cr-text-body-size)",
1256
+ "line-height": "var(--cr-text-body-leading)",
1257
+ "min-height": "calc(var(--cr-text-body-leading) * 4)",
1258
+ "outline": "none",
1259
+ "overflow-wrap": "anywhere"
1260
+ },
1261
+ "layers": {
1262
+ "::selection": {
1263
+ "background": "color-mix(in srgb, var(--cr-primary) 28%, transparent)"
1264
+ }
1265
+ },
1266
+ "fallbacks": {
1267
+ "opaque": null,
1268
+ "reducedTransparency": null,
1269
+ "forcedColors": {
1270
+ "layers": {
1271
+ "::selection": {
1272
+ "background": "Highlight",
1273
+ "color": "HighlightText"
1274
+ }
1275
+ }
1276
+ },
1277
+ "noBackdropFilter": null
1278
+ },
1279
+ "conditions": {},
1280
+ "shadowed": [],
1281
+ "diagnostics": [],
1282
+ "missing": [
1283
+ "blur",
1284
+ "haze",
1285
+ "radius"
1286
+ ],
1287
+ "why": "A part: the document inside the field shell, which carries the Resin surround and the Haze well."
1288
+ }
1289
+ },
1290
+ "tokens": [
1291
+ "--cr-control-color",
1292
+ "--cr-control-light",
1293
+ "--cr-haze-feather",
1294
+ "--cr-haze-fill",
1295
+ "--cr-haze-inset",
1296
+ "--cr-primary",
1297
+ "--cr-resin-blur",
1298
+ "--cr-resin-fill",
1299
+ "--cr-resin-saturation",
1300
+ "--cr-rim",
1301
+ "--cr-shadow-float",
1302
+ "--cr-space",
1303
+ "--cr-surface",
1304
+ "--cr-text",
1305
+ "--cr-text-body-leading",
1306
+ "--cr-text-body-size"
1307
+ ]
1308
+ },
1309
+ {
1310
+ "id": "compact",
1311
+ "name": "Compact display",
1312
+ "materials": [
1313
+ "Resin",
1314
+ "Haze"
1315
+ ],
1316
+ "kind": "class",
1317
+ "selector": ".cr-resin-haze",
1318
+ "fill": "var(--cr-resin-fill)",
1319
+ "blur": "var(--cr-resin-blur)",
1320
+ "saturation": "var(--cr-resin-saturation)",
1321
+ "rim": "1px solid var(--cr-rim)",
1322
+ "shadow": "var(--cr-shadow-float)",
1323
+ "radius": "18px",
1324
+ "padding": "17px 24px",
1325
+ "haze": {
1326
+ "layer": "::before",
1327
+ "inset": "var(--cr-haze-inset)",
1328
+ "fill": "var(--cr-haze-fill)",
1329
+ "feather": "var(--cr-haze-feather)",
1330
+ "radius": "inherit"
1331
+ },
1332
+ "feather": "var(--cr-haze-feather)",
1333
+ "extras": {
1334
+ "color": "var(--cr-text)",
1335
+ "filter": "none",
1336
+ "isolation": "isolate",
1337
+ "line-height": "1.5",
1338
+ "position": "relative"
1339
+ },
1340
+ "layers": {
1341
+ "::after": {
1342
+ "background": "linear-gradient(115deg,transparent 20%,#ffffff30 43%,#ffffff0a 55%,transparent 72%),radial-gradient(ellipse at 12% 0%,var(--cr-control-light),transparent 75%),linear-gradient(135deg,var(--cr-control-color),transparent 60%,var(--cr-control-light))",
1343
+ "background-position": "100% 0",
1344
+ "background-size": "220% 100%,100% 100%,100% 100%",
1345
+ "border-radius": "inherit",
1346
+ "box-shadow": "inset 0 2px 1px var(--cr-rim),inset 0 -1px 1px var(--cr-rim)",
1347
+ "content": "''",
1348
+ "inset": "0",
1349
+ "pointer-events": "none",
1350
+ "position": "absolute",
1351
+ "z-index": "-2"
1352
+ },
1353
+ "::before": {
1354
+ "background": "var(--cr-haze-fill)",
1355
+ "border-radius": "inherit",
1356
+ "box-shadow": "none",
1357
+ "content": "''",
1358
+ "filter": "blur(var(--cr-haze-feather))",
1359
+ "inset": "var(--cr-haze-inset)",
1360
+ "pointer-events": "none",
1361
+ "position": "absolute",
1362
+ "z-index": "-1"
1363
+ }
1364
+ },
1365
+ "fallbacks": {
1366
+ "opaque": {
1367
+ "declarations": {
1368
+ "-webkit-backdrop-filter": "none",
1369
+ "backdrop-filter": "none",
1370
+ "background": "var(--cr-surface)"
1371
+ },
1372
+ "layers": {
1373
+ "::after": {
1374
+ "display": "none"
1375
+ }
1376
+ }
1377
+ },
1378
+ "reducedTransparency": {
1379
+ "declarations": {
1380
+ "-webkit-backdrop-filter": "none",
1381
+ "backdrop-filter": "none",
1382
+ "background": "var(--cr-surface)"
1383
+ },
1384
+ "layers": {
1385
+ "::after": {
1386
+ "display": "none"
1387
+ }
1388
+ }
1389
+ },
1390
+ "forcedColors": {
1391
+ "declarations": {
1392
+ "-webkit-backdrop-filter": "none",
1393
+ "backdrop-filter": "none"
1394
+ },
1395
+ "layers": {
1396
+ "::after": {
1397
+ "display": "none"
1398
+ },
1399
+ "::before": {
1400
+ "display": "none"
1401
+ }
1402
+ }
1403
+ },
1404
+ "noBackdropFilter": null
1405
+ },
1406
+ "conditions": {},
1407
+ "shadowed": [],
1408
+ "diagnostics": [],
1409
+ "missing": [],
1410
+ "also": {
1411
+ ".cr-tag": {
1412
+ "selector": ".cr-tag",
1413
+ "fill": null,
1414
+ "blur": null,
1415
+ "saturation": null,
1416
+ "rim": null,
1417
+ "shadow": null,
1418
+ "radius": "99px",
1419
+ "padding": "17px 24px",
1420
+ "haze": null,
1421
+ "feather": null,
1422
+ "extras": {
1423
+ "align-items": "center",
1424
+ "display": "inline-flex",
1425
+ "font-size": "13px",
1426
+ "font-weight": "700",
1427
+ "gap": "6px",
1428
+ "min-height": "48px"
1429
+ },
1430
+ "layers": {},
1431
+ "fallbacks": {
1432
+ "opaque": null,
1433
+ "reducedTransparency": null,
1434
+ "forcedColors": null,
1435
+ "noBackdropFilter": null
1436
+ },
1437
+ "conditions": {
1438
+ "@media (max-width:600px)": {
1439
+ "declarations": {
1440
+ "min-height": "40px",
1441
+ "padding": "10px 15px",
1442
+ "white-space": "nowrap"
1443
+ }
1444
+ }
1445
+ },
1446
+ "shadowed": [],
1447
+ "diagnostics": [],
1448
+ "missing": [
1449
+ "fill",
1450
+ "blur",
1451
+ "haze"
1452
+ ],
1453
+ "why": "The tag's geometry (the pill, the 48px floor, the type size), worn with `.cr-resin-haze`, which carries the coat."
1454
+ },
1455
+ ".cr-resin-haze.count": {
1456
+ "selector": ".cr-resin-haze.count",
1457
+ "fill": "var(--cr-resin-fill)",
1458
+ "blur": "var(--cr-resin-blur)",
1459
+ "saturation": "var(--cr-resin-saturation)",
1460
+ "rim": "1px solid var(--cr-rim)",
1461
+ "shadow": "var(--cr-shadow-float)",
1462
+ "radius": "999px",
1463
+ "padding": "0 4px",
1464
+ "haze": {
1465
+ "layer": "::before",
1466
+ "inset": "0",
1467
+ "fill": "var(--cr-haze-fill)",
1468
+ "feather": "var(--cr-haze-feather)",
1469
+ "radius": "inherit"
1470
+ },
1471
+ "feather": "var(--cr-haze-feather)",
1472
+ "extras": {
1473
+ "align-items": "center",
1474
+ "box-sizing": "border-box",
1475
+ "color": "var(--cr-text)",
1476
+ "display": "inline-flex",
1477
+ "filter": "none",
1478
+ "font-size": "var(--cr-text-caption-size, 13px)",
1479
+ "font-variant-numeric": "tabular-nums",
1480
+ "font-weight": "700",
1481
+ "isolation": "isolate",
1482
+ "justify-content": "center",
1483
+ "line-height": "1",
1484
+ "min-height": "20px",
1485
+ "min-width": "20px",
1486
+ "position": "relative",
1487
+ "white-space": "nowrap"
1488
+ },
1489
+ "layers": {
1490
+ "::after": {
1491
+ "background": "linear-gradient(115deg,transparent 20%,#ffffff30 43%,#ffffff0a 55%,transparent 72%),radial-gradient(ellipse at 12% 0%,var(--cr-control-light),transparent 75%),linear-gradient(135deg,var(--cr-control-color),transparent 60%,var(--cr-control-light))",
1492
+ "background-position": "100% 0",
1493
+ "background-size": "220% 100%,100% 100%,100% 100%",
1494
+ "border-radius": "inherit",
1495
+ "box-shadow": "inset 0 2px 1px var(--cr-rim),inset 0 -1px 1px var(--cr-rim)",
1496
+ "content": "''",
1497
+ "inset": "0",
1498
+ "pointer-events": "none",
1499
+ "position": "absolute",
1500
+ "z-index": "-2"
1501
+ },
1502
+ "::before": {
1503
+ "background": "var(--cr-haze-fill)",
1504
+ "border-radius": "inherit",
1505
+ "box-shadow": "none",
1506
+ "content": "''",
1507
+ "filter": "blur(var(--cr-haze-feather))",
1508
+ "inset": "0",
1509
+ "pointer-events": "none",
1510
+ "position": "absolute",
1511
+ "z-index": "-1"
1512
+ }
1513
+ },
1514
+ "fallbacks": {
1515
+ "opaque": {
1516
+ "declarations": {
1517
+ "-webkit-backdrop-filter": "none",
1518
+ "backdrop-filter": "none",
1519
+ "background": "var(--cr-surface)"
1520
+ },
1521
+ "layers": {
1522
+ "::after": {
1523
+ "display": "none"
1524
+ }
1525
+ }
1526
+ },
1527
+ "reducedTransparency": {
1528
+ "declarations": {
1529
+ "-webkit-backdrop-filter": "none",
1530
+ "backdrop-filter": "none",
1531
+ "background": "var(--cr-surface)"
1532
+ },
1533
+ "layers": {
1534
+ "::after": {
1535
+ "display": "none"
1536
+ }
1537
+ }
1538
+ },
1539
+ "forcedColors": {
1540
+ "declarations": {
1541
+ "-webkit-backdrop-filter": "none",
1542
+ "backdrop-filter": "none"
1543
+ },
1544
+ "layers": {
1545
+ "::after": {
1546
+ "display": "none"
1547
+ },
1548
+ "::before": {
1549
+ "display": "none"
1550
+ }
1551
+ }
1552
+ },
1553
+ "noBackdropFilter": null
1554
+ },
1555
+ "conditions": {},
1556
+ "shadowed": [],
1557
+ "diagnostics": [],
1558
+ "missing": []
1559
+ }
1560
+ },
1561
+ "tokens": [
1562
+ "--cr-control-color",
1563
+ "--cr-control-light",
1564
+ "--cr-haze-feather",
1565
+ "--cr-haze-fill",
1566
+ "--cr-haze-inset",
1567
+ "--cr-resin-blur",
1568
+ "--cr-resin-fill",
1569
+ "--cr-resin-saturation",
1570
+ "--cr-rim",
1571
+ "--cr-shadow-float",
1572
+ "--cr-surface",
1573
+ "--cr-text",
1574
+ "--cr-text-caption-size"
1575
+ ]
1576
+ },
1577
+ {
1578
+ "id": "stone",
1579
+ "name": "Stone label backing",
1580
+ "materials": [
1581
+ "Stone"
1582
+ ],
1583
+ "kind": "class",
1584
+ "selector": ".cr-stone",
1585
+ "fill": "transparent",
1586
+ "blur": null,
1587
+ "saturation": null,
1588
+ "rim": null,
1589
+ "shadow": null,
1590
+ "radius": null,
1591
+ "padding": null,
1592
+ "haze": {
1593
+ "layer": "::before",
1594
+ "inset": "0",
1595
+ "fill": "var(--cr-stone-fill)",
1596
+ "feather": "var(--cr-stone-feather)",
1597
+ "radius": "inherit"
1598
+ },
1599
+ "feather": "var(--cr-stone-feather)",
1600
+ "extras": {
1601
+ "color": "var(--cr-text)",
1602
+ "isolation": "isolate",
1603
+ "position": "relative"
1604
+ },
1605
+ "layers": {
1606
+ "::before": {
1607
+ "background": "var(--cr-stone-fill)",
1608
+ "border-radius": "inherit",
1609
+ "content": "''",
1610
+ "filter": "blur(var(--cr-stone-feather))",
1611
+ "inset": "0",
1612
+ "pointer-events": "none",
1613
+ "position": "absolute",
1614
+ "z-index": "-1"
1615
+ }
1616
+ },
1617
+ "fallbacks": {
1618
+ "opaque": {
1619
+ "layers": {
1620
+ "::before": {
1621
+ "background": "var(--cr-surface)",
1622
+ "filter": "none"
1623
+ }
1624
+ }
1625
+ },
1626
+ "reducedTransparency": {
1627
+ "layers": {
1628
+ "::before": {
1629
+ "background": "var(--cr-surface)",
1630
+ "filter": "none"
1631
+ }
1632
+ }
1633
+ },
1634
+ "forcedColors": {
1635
+ "declarations": {
1636
+ "background": "Canvas",
1637
+ "border": "1px solid CanvasText",
1638
+ "color": "CanvasText"
1639
+ },
1640
+ "layers": {
1641
+ "::before": {
1642
+ "display": "none"
1643
+ }
1644
+ }
1645
+ },
1646
+ "noBackdropFilter": null
1647
+ },
1648
+ "conditions": {},
1649
+ "shadowed": [],
1650
+ "diagnostics": [],
1651
+ "missing": [
1652
+ "radius"
1653
+ ],
1654
+ "also": {
1655
+ ".cr-media-caption": {
1656
+ "selector": ".cr-media-caption",
1657
+ "fill": null,
1658
+ "blur": null,
1659
+ "saturation": null,
1660
+ "rim": null,
1661
+ "shadow": null,
1662
+ "radius": null,
1663
+ "padding": null,
1664
+ "haze": null,
1665
+ "feather": null,
1666
+ "extras": {
1667
+ "display": "flex",
1668
+ "inset-block-end": "calc(var(--cr-media-transport, 58px) + var(--cr-spacing-sm) * 2)",
1669
+ "inset-inline": "var(--cr-spacing-lg)",
1670
+ "justify-content": "center",
1671
+ "line-height": "1.35",
1672
+ "pointer-events": "none",
1673
+ "position": "absolute",
1674
+ "text-align": "center",
1675
+ "z-index": "1"
1676
+ },
1677
+ "layers": {},
1678
+ "fallbacks": {
1679
+ "opaque": null,
1680
+ "reducedTransparency": null,
1681
+ "forcedColors": null,
1682
+ "noBackdropFilter": null
1683
+ },
1684
+ "conditions": {},
1685
+ "shadowed": [],
1686
+ "diagnostics": [],
1687
+ "missing": [
1688
+ "haze",
1689
+ "radius"
1690
+ ],
1691
+ "why": "A part: the outer element positions the cue, and its inner box (`.cr-media-caption > *`) carries the Stone backing and the radius."
1692
+ }
1693
+ },
1694
+ "why": "Stone backs a label and takes the radius of the element it backs.",
1695
+ "tokens": [
1696
+ "--cr-media-transport",
1697
+ "--cr-spacing-lg",
1698
+ "--cr-spacing-sm",
1699
+ "--cr-stone-feather",
1700
+ "--cr-stone-fill",
1701
+ "--cr-surface",
1702
+ "--cr-text"
1703
+ ]
1704
+ },
1705
+ {
1706
+ "id": "mirage",
1707
+ "name": "Mirage scrim",
1708
+ "materials": [
1709
+ "Mirage"
1710
+ ],
1711
+ "kind": "class",
1712
+ "selector": ".cr-mirage",
1713
+ "fill": "var(--cr-mirage-fill)",
1714
+ "blur": "var(--cr-mirage-blur)",
1715
+ "saturation": "var(--cr-mirage-saturation)",
1716
+ "rim": null,
1717
+ "shadow": null,
1718
+ "radius": null,
1719
+ "padding": null,
1720
+ "haze": null,
1721
+ "feather": null,
1722
+ "extras": {
1723
+ "backdrop-filter": "blur(var(--cr-mirage-blur)) saturate(var(--cr-mirage-saturation)) brightness(var(--cr-mirage-brightness))"
1724
+ },
1725
+ "layers": {},
1726
+ "fallbacks": {
1727
+ "opaque": null,
1728
+ "reducedTransparency": {
1729
+ "declarations": {
1730
+ "-webkit-backdrop-filter": "none",
1731
+ "backdrop-filter": "none",
1732
+ "background": "var(--cr-mirage-fallback-fill)"
1733
+ }
1734
+ },
1735
+ "forcedColors": {
1736
+ "declarations": {
1737
+ "-webkit-backdrop-filter": "none",
1738
+ "backdrop-filter": "none",
1739
+ "background": "var(--cr-mirage-fallback-fill)"
1740
+ }
1741
+ },
1742
+ "noBackdropFilter": {
1743
+ "declarations": {
1744
+ "background": "var(--cr-mirage-fallback-fill)"
1745
+ }
1746
+ }
1747
+ },
1748
+ "conditions": {},
1749
+ "shadowed": [],
1750
+ "diagnostics": [],
1751
+ "missing": [],
1752
+ "also": {
1753
+ ".cr-dialog::backdrop": {
1754
+ "selector": ".cr-dialog::backdrop",
1755
+ "fill": "var(--cr-mirage-fill)",
1756
+ "blur": "var(--cr-mirage-blur)",
1757
+ "saturation": "var(--cr-mirage-saturation)",
1758
+ "rim": null,
1759
+ "shadow": null,
1760
+ "radius": null,
1761
+ "padding": null,
1762
+ "haze": null,
1763
+ "feather": null,
1764
+ "extras": {
1765
+ "backdrop-filter": "blur(var(--cr-mirage-blur)) saturate(var(--cr-mirage-saturation)) brightness(var(--cr-mirage-brightness))"
1766
+ },
1767
+ "layers": {},
1768
+ "fallbacks": {
1769
+ "opaque": null,
1770
+ "reducedTransparency": {
1771
+ "declarations": {
1772
+ "-webkit-backdrop-filter": "none",
1773
+ "backdrop-filter": "none",
1774
+ "background": "var(--cr-mirage-fallback-fill)"
1775
+ }
1776
+ },
1777
+ "forcedColors": {
1778
+ "declarations": {
1779
+ "-webkit-backdrop-filter": "none",
1780
+ "backdrop-filter": "none",
1781
+ "background": "var(--cr-mirage-fallback-fill)"
1782
+ }
1783
+ },
1784
+ "noBackdropFilter": {
1785
+ "declarations": {
1786
+ "background": "var(--cr-mirage-fallback-fill)"
1787
+ }
1788
+ }
1789
+ },
1790
+ "conditions": {},
1791
+ "shadowed": [],
1792
+ "diagnostics": [],
1793
+ "missing": []
1794
+ }
1795
+ },
1796
+ "tokens": [
1797
+ "--cr-mirage-blur",
1798
+ "--cr-mirage-brightness",
1799
+ "--cr-mirage-fallback-fill",
1800
+ "--cr-mirage-fill",
1801
+ "--cr-mirage-saturation"
1802
+ ]
1803
+ },
1804
+ {
1805
+ "id": "dialog",
1806
+ "name": "Dialog",
1807
+ "materials": [
1808
+ "Haze",
1809
+ "Mirage"
1810
+ ],
1811
+ "kind": "class",
1812
+ "selector": ".cr-dialog",
1813
+ "fill": "transparent",
1814
+ "blur": null,
1815
+ "saturation": null,
1816
+ "rim": "1px solid var(--cr-rim)",
1817
+ "shadow": "none",
1818
+ "radius": "calc(var(--cr-radius) + 6px)",
1819
+ "padding": "30px",
1820
+ "haze": {
1821
+ "layer": "::before",
1822
+ "inset": "0",
1823
+ "fill": "var(--cr-haze-fill)",
1824
+ "feather": "var(--cr-haze-feather)",
1825
+ "radius": "inherit"
1826
+ },
1827
+ "feather": "var(--cr-haze-feather)",
1828
+ "extras": {
1829
+ "color": "var(--cr-text)",
1830
+ "isolation": "isolate",
1831
+ "max-height": "85dvh",
1832
+ "overflow": "auto",
1833
+ "overflow-x": "hidden",
1834
+ "overscroll-behavior": "contain",
1835
+ "position": "relative",
1836
+ "scrollbar-color": "var(--cr-scrollbar-frost-thumb) var(--cr-scrollbar-track)",
1837
+ "scrollbar-gutter": "stable both-edges",
1838
+ "scrollbar-width": "thin",
1839
+ "touch-action": "pan-x pan-y",
1840
+ "width": "min(560px,calc(100% - 32px))"
1841
+ },
1842
+ "layers": {
1843
+ "::backdrop": {
1844
+ "-webkit-backdrop-filter": "blur(var(--cr-mirage-blur)) saturate(var(--cr-mirage-saturation)) brightness(var(--cr-mirage-brightness))",
1845
+ "backdrop-filter": "blur(var(--cr-mirage-blur)) saturate(var(--cr-mirage-saturation)) brightness(var(--cr-mirage-brightness))",
1846
+ "background": "var(--cr-mirage-fill)"
1847
+ },
1848
+ "::before": {
1849
+ "background": "var(--cr-haze-fill)",
1850
+ "border-radius": "inherit",
1851
+ "box-shadow": "var(--cr-shadow-float)",
1852
+ "content": "''",
1853
+ "filter": "blur(var(--cr-haze-feather))",
1854
+ "inset": "0",
1855
+ "pointer-events": "none",
1856
+ "position": "absolute",
1857
+ "z-index": "-1"
1858
+ }
1859
+ },
1860
+ "fallbacks": {
1861
+ "opaque": {
1862
+ "layers": {
1863
+ "::before": {
1864
+ "background": "var(--cr-surface)",
1865
+ "filter": "none"
1866
+ }
1867
+ }
1868
+ },
1869
+ "reducedTransparency": {
1870
+ "layers": {
1871
+ "::backdrop": {
1872
+ "-webkit-backdrop-filter": "none",
1873
+ "backdrop-filter": "none",
1874
+ "background": "var(--cr-mirage-fallback-fill)"
1875
+ },
1876
+ "::before": {
1877
+ "background": "var(--cr-surface)",
1878
+ "filter": "none"
1879
+ }
1880
+ }
1881
+ },
1882
+ "forcedColors": {
1883
+ "declarations": {
1884
+ "background": "Canvas",
1885
+ "border": "1px solid CanvasText",
1886
+ "color": "CanvasText",
1887
+ "scrollbar-color": "CanvasText Canvas"
1888
+ },
1889
+ "layers": {
1890
+ "::backdrop": {
1891
+ "-webkit-backdrop-filter": "none",
1892
+ "backdrop-filter": "none",
1893
+ "background": "var(--cr-mirage-fallback-fill)"
1894
+ },
1895
+ "::before": {
1896
+ "display": "none"
1897
+ }
1898
+ }
1899
+ },
1900
+ "noBackdropFilter": {
1901
+ "layers": {
1902
+ "::backdrop": {
1903
+ "background": "var(--cr-mirage-fallback-fill)"
1904
+ }
1905
+ }
1906
+ }
1907
+ },
1908
+ "conditions": {
1909
+ "@supports not (scrollbar-color:auto)": {
1910
+ "layers": {
1911
+ "::-webkit-scrollbar": {
1912
+ "height": "var(--cr-scrollbar-width)",
1913
+ "width": "var(--cr-scrollbar-width)"
1914
+ },
1915
+ "::-webkit-scrollbar-thumb": {
1916
+ "background-clip": "padding-box",
1917
+ "background-color": "var(--cr-scrollbar-frost-thumb)",
1918
+ "border": "var(--cr-scrollbar-inset) solid transparent",
1919
+ "border-radius": "var(--cr-scrollbar-width)",
1920
+ "min-height": "var(--cr-scrollbar-thumb-min)",
1921
+ "min-width": "var(--cr-scrollbar-thumb-min)"
1922
+ },
1923
+ "::-webkit-scrollbar-track": {
1924
+ "background": "var(--cr-scrollbar-track)",
1925
+ "border-radius": "var(--cr-scrollbar-width)"
1926
+ }
1927
+ }
1928
+ },
1929
+ "@supports not (scrollbar-color:auto) and @media (forced-colors:active)": {
1930
+ "layers": {
1931
+ "::-webkit-scrollbar-thumb": {
1932
+ "background-color": "CanvasText",
1933
+ "border-color": "Canvas"
1934
+ }
1935
+ }
1936
+ }
1937
+ },
1938
+ "shadowed": [],
1939
+ "diagnostics": [
1940
+ "rim composed from the border shorthand (1px solid var(--cr-outline)) and border-color (var(--cr-rim)), which cascades after it"
1941
+ ],
1942
+ "missing": [],
1943
+ "also": {
1944
+ ".cr-dialog-body": {
1945
+ "selector": ".cr-dialog-body",
1946
+ "fill": null,
1947
+ "blur": null,
1948
+ "saturation": null,
1949
+ "rim": null,
1950
+ "shadow": null,
1951
+ "radius": null,
1952
+ "padding": null,
1953
+ "haze": null,
1954
+ "feather": null,
1955
+ "extras": {
1956
+ "flex": "1 1 auto",
1957
+ "min-height": "0",
1958
+ "overflow": "auto",
1959
+ "overflow-x": "hidden",
1960
+ "overscroll-behavior": "contain",
1961
+ "scrollbar-gutter": "stable both-edges"
1962
+ },
1963
+ "layers": {},
1964
+ "fallbacks": {
1965
+ "opaque": null,
1966
+ "reducedTransparency": null,
1967
+ "forcedColors": null,
1968
+ "noBackdropFilter": null
1969
+ },
1970
+ "conditions": {},
1971
+ "shadowed": [],
1972
+ "diagnostics": [],
1973
+ "missing": [
1974
+ "fill",
1975
+ "blur",
1976
+ "haze",
1977
+ "radius"
1978
+ ],
1979
+ "why": "A part: the scrolling body inside the dialog's Haze surface, which carries the material; the body adds the scroll contract."
1980
+ }
1981
+ },
1982
+ "tokens": [
1983
+ "--cr-haze-feather",
1984
+ "--cr-haze-fill",
1985
+ "--cr-mirage-blur",
1986
+ "--cr-mirage-brightness",
1987
+ "--cr-mirage-fallback-fill",
1988
+ "--cr-mirage-fill",
1989
+ "--cr-mirage-saturation",
1990
+ "--cr-outline",
1991
+ "--cr-radius",
1992
+ "--cr-rim",
1993
+ "--cr-scrollbar-frost-thumb",
1994
+ "--cr-scrollbar-inset",
1995
+ "--cr-scrollbar-thumb-min",
1996
+ "--cr-scrollbar-track",
1997
+ "--cr-scrollbar-width",
1998
+ "--cr-shadow-float",
1999
+ "--cr-surface",
2000
+ "--cr-text"
2001
+ ]
2002
+ },
2003
+ {
2004
+ "id": "indicator",
2005
+ "name": "Indicator",
2006
+ "materials": [
2007
+ "Haze"
2008
+ ],
2009
+ "kind": "class",
2010
+ "selector": ".cr-indicator",
2011
+ "fill": "transparent",
2012
+ "blur": null,
2013
+ "saturation": null,
2014
+ "rim": "1px solid var(--cr-rim)",
2015
+ "shadow": "0 2px 4px var(--cr-control-edge),0 4px 8px var(--cr-shadow-contact)",
2016
+ "radius": "50%",
2017
+ "padding": null,
2018
+ "haze": {
2019
+ "layer": "::before",
2020
+ "inset": "1px",
2021
+ "fill": "var(--cr-haze-fill)",
2022
+ "feather": "var(--cr-haze-feather)",
2023
+ "radius": "50%"
2024
+ },
2025
+ "feather": "var(--cr-haze-feather)",
2026
+ "extras": {
2027
+ "backdrop-filter": "none",
2028
+ "color": "var(--cr-text)",
2029
+ "display": "grid",
2030
+ "font": "800 12px/1 var(--cr-font)",
2031
+ "height": "20px",
2032
+ "inset-block-start": "-4px",
2033
+ "inset-inline-end": "-3px",
2034
+ "isolation": "isolate",
2035
+ "min-width": "20px",
2036
+ "place-items": "center",
2037
+ "pointer-events": "none",
2038
+ "position": "absolute",
2039
+ "text-decoration": "none",
2040
+ "text-shadow": "none",
2041
+ "width": "20px",
2042
+ "z-index": "2"
2043
+ },
2044
+ "layers": {
2045
+ "::before": {
2046
+ "background": "var(--cr-haze-fill)",
2047
+ "border-radius": "50%",
2048
+ "content": "''",
2049
+ "filter": "blur(var(--cr-haze-feather))",
2050
+ "inset": "1px",
2051
+ "position": "absolute",
2052
+ "z-index": "-1"
2053
+ }
2054
+ },
2055
+ "fallbacks": {
2056
+ "opaque": {
2057
+ "declarations": {
2058
+ "-webkit-backdrop-filter": "none",
2059
+ "backdrop-filter": "none",
2060
+ "background": "var(--cr-surface)"
2061
+ },
2062
+ "layers": {
2063
+ "::before": {
2064
+ "filter": "none"
2065
+ }
2066
+ }
2067
+ },
2068
+ "reducedTransparency": {
2069
+ "declarations": {
2070
+ "-webkit-backdrop-filter": "none",
2071
+ "backdrop-filter": "none",
2072
+ "background": "var(--cr-surface)"
2073
+ },
2074
+ "layers": {
2075
+ "::before": {
2076
+ "filter": "none"
2077
+ }
2078
+ }
2079
+ },
2080
+ "forcedColors": {
2081
+ "declarations": {
2082
+ "-webkit-backdrop-filter": "none",
2083
+ "backdrop-filter": "none",
2084
+ "background": "Canvas",
2085
+ "border": "1px solid ButtonText",
2086
+ "box-shadow": "none",
2087
+ "color": "CanvasText"
2088
+ },
2089
+ "layers": {
2090
+ "::before": {
2091
+ "display": "none"
2092
+ }
2093
+ }
2094
+ },
2095
+ "noBackdropFilter": null
2096
+ },
2097
+ "conditions": {},
2098
+ "shadowed": [],
2099
+ "diagnostics": [],
2100
+ "missing": [],
2101
+ "tokens": [
2102
+ "--cr-control-edge",
2103
+ "--cr-font",
2104
+ "--cr-haze-feather",
2105
+ "--cr-haze-fill",
2106
+ "--cr-rim",
2107
+ "--cr-shadow-contact",
2108
+ "--cr-surface",
2109
+ "--cr-text"
2110
+ ]
2111
+ },
2112
+ {
2113
+ "id": "status",
2114
+ "name": "Status badge",
2115
+ "materials": [
2116
+ "Resin",
2117
+ "Haze"
2118
+ ],
2119
+ "kind": "class",
2120
+ "selector": ".cr-status",
2121
+ "fill": "var(--cr-resin-fill)",
2122
+ "blur": "var(--cr-resin-blur)",
2123
+ "saturation": "var(--cr-resin-saturation)",
2124
+ "rim": "1px solid var(--cr-rim)",
2125
+ "shadow": "var(--cr-shadow-float)",
2126
+ "radius": "9px",
2127
+ "padding": "10px 14px",
2128
+ "haze": {
2129
+ "layer": "::before",
2130
+ "inset": "var(--cr-haze-inset)",
2131
+ "fill": "var(--cr-haze-fill)",
2132
+ "feather": "var(--cr-haze-feather)",
2133
+ "radius": "inherit"
2134
+ },
2135
+ "feather": "var(--cr-haze-feather)",
2136
+ "extras": {
2137
+ "--cr-outline": "var(--status-ink)",
2138
+ "align-items": "center",
2139
+ "color": "var(--cr-text)",
2140
+ "display": "inline-flex",
2141
+ "filter": "none",
2142
+ "font-size": "13px",
2143
+ "font-weight": "750",
2144
+ "gap": "7px",
2145
+ "isolation": "isolate",
2146
+ "line-height": "1.4",
2147
+ "min-height": "36px",
2148
+ "position": "relative"
2149
+ },
2150
+ "layers": {
2151
+ "::after": {
2152
+ "background": "linear-gradient(115deg,transparent 20%,#ffffff30 43%,#ffffff0a 55%,transparent 72%),radial-gradient(ellipse at 12% 0%,var(--cr-control-light),transparent 75%),linear-gradient(135deg,var(--cr-control-color),transparent 60%,var(--cr-control-light))",
2153
+ "background-position": "100% 0",
2154
+ "background-size": "220% 100%,100% 100%,100% 100%",
2155
+ "border-radius": "inherit",
2156
+ "box-shadow": "inset 0 2px 1px var(--cr-rim),inset 0 -1px 1px var(--cr-rim)",
2157
+ "content": "''",
2158
+ "inset": "0",
2159
+ "pointer-events": "none",
2160
+ "position": "absolute",
2161
+ "z-index": "-2"
2162
+ },
2163
+ "::before": {
2164
+ "background": "var(--cr-haze-fill)",
2165
+ "border-radius": "inherit",
2166
+ "box-shadow": "none",
2167
+ "content": "''",
2168
+ "filter": "blur(var(--cr-haze-feather))",
2169
+ "inset": "var(--cr-haze-inset)",
2170
+ "pointer-events": "none",
2171
+ "position": "absolute",
2172
+ "z-index": "-1"
2173
+ }
2174
+ },
2175
+ "fallbacks": {
2176
+ "opaque": {
2177
+ "declarations": {
2178
+ "-webkit-backdrop-filter": "none",
2179
+ "backdrop-filter": "none",
2180
+ "background": "var(--cr-surface)"
2181
+ },
2182
+ "layers": {
2183
+ "::after": {
2184
+ "display": "none"
2185
+ }
2186
+ }
2187
+ },
2188
+ "reducedTransparency": {
2189
+ "declarations": {
2190
+ "-webkit-backdrop-filter": "none",
2191
+ "backdrop-filter": "none",
2192
+ "background": "var(--cr-surface)"
2193
+ },
2194
+ "layers": {
2195
+ "::after": {
2196
+ "display": "none"
2197
+ }
2198
+ }
2199
+ },
2200
+ "forcedColors": {
2201
+ "declarations": {
2202
+ "-webkit-backdrop-filter": "none",
2203
+ "backdrop-filter": "none",
2204
+ "forced-color-adjust": "auto"
2205
+ },
2206
+ "layers": {
2207
+ "::after": {
2208
+ "display": "none"
2209
+ },
2210
+ "::before": {
2211
+ "display": "none"
2212
+ }
2213
+ }
2214
+ },
2215
+ "noBackdropFilter": null
2216
+ },
2217
+ "conditions": {},
2218
+ "shadowed": [
2219
+ {
2220
+ "branch": "forcedColors",
2221
+ "layer": null,
2222
+ "property": "border",
2223
+ "value": "1px solid ButtonText",
2224
+ "by": "1px solid var(--cr-rim)"
2225
+ }
2226
+ ],
2227
+ "diagnostics": [],
2228
+ "missing": [],
2229
+ "tokens": [
2230
+ "--cr-control-color",
2231
+ "--cr-control-light",
2232
+ "--cr-haze-feather",
2233
+ "--cr-haze-fill",
2234
+ "--cr-haze-inset",
2235
+ "--cr-resin-blur",
2236
+ "--cr-resin-fill",
2237
+ "--cr-resin-saturation",
2238
+ "--cr-rim",
2239
+ "--cr-shadow-float",
2240
+ "--cr-surface",
2241
+ "--cr-text"
2242
+ ]
2243
+ },
2244
+ {
2245
+ "id": "bubble",
2246
+ "name": "Authored bubble",
2247
+ "materials": [
2248
+ "Haze"
2249
+ ],
2250
+ "kind": "class",
2251
+ "selector": ".cr-bubble",
2252
+ "fill": "transparent",
2253
+ "blur": null,
2254
+ "saturation": null,
2255
+ "rim": "1px solid transparent",
2256
+ "shadow": "none",
2257
+ "radius": "6px var(--cr-radius) var(--cr-radius) var(--cr-radius)",
2258
+ "padding": "14px 18px",
2259
+ "haze": {
2260
+ "layer": "::before",
2261
+ "inset": "0",
2262
+ "fill": "var(--cr-haze-fill)",
2263
+ "feather": "var(--cr-haze-feather)",
2264
+ "radius": "inherit"
2265
+ },
2266
+ "feather": "var(--cr-haze-feather)",
2267
+ "extras": {
2268
+ "color": "var(--cr-text)",
2269
+ "font-size": "16px",
2270
+ "isolation": "isolate",
2271
+ "line-height": "1.5",
2272
+ "position": "relative"
2273
+ },
2274
+ "layers": {
2275
+ "::before": {
2276
+ "background": "var(--cr-haze-fill)",
2277
+ "border-radius": "inherit",
2278
+ "box-shadow": "var(--cr-shadow-content)",
2279
+ "content": "''",
2280
+ "filter": "blur(var(--cr-haze-feather))",
2281
+ "inset": "0",
2282
+ "pointer-events": "none",
2283
+ "position": "absolute",
2284
+ "z-index": "-1"
2285
+ }
2286
+ },
2287
+ "fallbacks": {
2288
+ "opaque": {
2289
+ "layers": {
2290
+ "::before": {
2291
+ "background": "var(--cr-surface)",
2292
+ "filter": "none"
2293
+ }
2294
+ }
2295
+ },
2296
+ "reducedTransparency": {
2297
+ "layers": {
2298
+ "::before": {
2299
+ "background": "var(--cr-surface)",
2300
+ "filter": "none"
2301
+ }
2302
+ }
2303
+ },
2304
+ "forcedColors": {
2305
+ "declarations": {
2306
+ "-webkit-backdrop-filter": "none",
2307
+ "backdrop-filter": "none",
2308
+ "background": "Canvas",
2309
+ "border": "1px solid CanvasText",
2310
+ "box-shadow": "none",
2311
+ "color": "CanvasText"
2312
+ },
2313
+ "layers": {
2314
+ "::before": {
2315
+ "display": "none"
2316
+ }
2317
+ }
2318
+ },
2319
+ "noBackdropFilter": null
2320
+ },
2321
+ "conditions": {},
2322
+ "shadowed": [],
2323
+ "diagnostics": [
2324
+ "rim composed from the border shorthand (1px solid var(--cr-edge)) and border-color (transparent), which cascades after it"
2325
+ ],
2326
+ "missing": [],
2327
+ "tokens": [
2328
+ "--cr-edge",
2329
+ "--cr-haze-feather",
2330
+ "--cr-haze-fill",
2331
+ "--cr-radius",
2332
+ "--cr-shadow-content",
2333
+ "--cr-surface",
2334
+ "--cr-text"
2335
+ ]
2336
+ },
2337
+ {
2338
+ "id": "table",
2339
+ "name": "Table",
2340
+ "materials": [
2341
+ "Resin",
2342
+ "Haze"
2343
+ ],
2344
+ "kind": "class",
2345
+ "selector": ".cr-table-scroll",
2346
+ "fill": "var(--cr-resin-fill)",
2347
+ "blur": "var(--cr-resin-blur)",
2348
+ "saturation": "var(--cr-resin-saturation)",
2349
+ "rim": "1px solid var(--cr-rim)",
2350
+ "shadow": "var(--cr-shadow-content)",
2351
+ "radius": "var(--cr-radius)",
2352
+ "padding": null,
2353
+ "haze": {
2354
+ "layer": "::before",
2355
+ "inset": "6px",
2356
+ "fill": "var(--cr-haze-fill)",
2357
+ "feather": "var(--cr-haze-feather)",
2358
+ "radius": "inherit"
2359
+ },
2360
+ "feather": "var(--cr-haze-feather)",
2361
+ "extras": {
2362
+ "isolation": "isolate",
2363
+ "max-width": "100%",
2364
+ "overflow": "auto",
2365
+ "overscroll-behavior": "contain",
2366
+ "position": "relative",
2367
+ "scrollbar-color": "var(--cr-scrollbar-resin-thumb) var(--cr-scrollbar-track)",
2368
+ "scrollbar-width": "thin",
2369
+ "touch-action": "pan-x pan-y"
2370
+ },
2371
+ "layers": {
2372
+ "::before": {
2373
+ "background": "var(--cr-haze-fill)",
2374
+ "border-radius": "inherit",
2375
+ "content": "''",
2376
+ "filter": "blur(var(--cr-haze-feather))",
2377
+ "inset": "6px",
2378
+ "pointer-events": "none",
2379
+ "position": "absolute",
2380
+ "z-index": "-1"
2381
+ }
2382
+ },
2383
+ "fallbacks": {
2384
+ "opaque": {
2385
+ "declarations": {
2386
+ "-webkit-backdrop-filter": "none",
2387
+ "backdrop-filter": "none",
2388
+ "background": "var(--cr-surface)"
2389
+ },
2390
+ "layers": {
2391
+ "::before": {
2392
+ "display": "none"
2393
+ }
2394
+ }
2395
+ },
2396
+ "reducedTransparency": {
2397
+ "declarations": {
2398
+ "-webkit-backdrop-filter": "none",
2399
+ "backdrop-filter": "none",
2400
+ "background": "var(--cr-surface)"
2401
+ },
2402
+ "layers": {
2403
+ "::before": {
2404
+ "display": "none"
2405
+ }
2406
+ }
2407
+ },
2408
+ "forcedColors": {
2409
+ "declarations": {
2410
+ "-webkit-backdrop-filter": "none",
2411
+ "backdrop-filter": "none",
2412
+ "background": "Canvas",
2413
+ "border": "1px solid CanvasText",
2414
+ "box-shadow": "none",
2415
+ "scrollbar-color": "CanvasText Canvas"
2416
+ },
2417
+ "layers": {
2418
+ "::before": {
2419
+ "display": "none"
2420
+ }
2421
+ }
2422
+ },
2423
+ "noBackdropFilter": null
2424
+ },
2425
+ "conditions": {
2426
+ "@supports not (scrollbar-color:auto)": {
2427
+ "layers": {
2428
+ "::-webkit-scrollbar": {
2429
+ "height": "var(--cr-scrollbar-width)",
2430
+ "width": "var(--cr-scrollbar-width)"
2431
+ },
2432
+ "::-webkit-scrollbar-thumb": {
2433
+ "background-clip": "padding-box",
2434
+ "background-color": "var(--cr-scrollbar-resin-thumb)",
2435
+ "border": "var(--cr-scrollbar-inset) solid transparent",
2436
+ "border-radius": "var(--cr-scrollbar-width)",
2437
+ "min-height": "var(--cr-scrollbar-thumb-min)",
2438
+ "min-width": "var(--cr-scrollbar-thumb-min)"
2439
+ },
2440
+ "::-webkit-scrollbar-track": {
2441
+ "background": "var(--cr-scrollbar-track)",
2442
+ "border-radius": "var(--cr-scrollbar-width)"
2443
+ }
2444
+ }
2445
+ },
2446
+ "@supports not (scrollbar-color:auto) and @media (forced-colors:active)": {
2447
+ "layers": {
2448
+ "::-webkit-scrollbar-thumb": {
2449
+ "background-color": "CanvasText",
2450
+ "border-color": "Canvas"
2451
+ }
2452
+ }
2453
+ }
2454
+ },
2455
+ "shadowed": [],
2456
+ "diagnostics": [],
2457
+ "missing": [],
2458
+ "also": {
2459
+ ".cr-table": {
2460
+ "selector": ".cr-table",
2461
+ "fill": "transparent",
2462
+ "blur": null,
2463
+ "saturation": null,
2464
+ "rim": "0",
2465
+ "shadow": "none",
2466
+ "radius": null,
2467
+ "padding": null,
2468
+ "haze": null,
2469
+ "feather": null,
2470
+ "extras": {
2471
+ "border-collapse": "separate",
2472
+ "border-spacing": "0",
2473
+ "width": "100%"
2474
+ },
2475
+ "layers": {},
2476
+ "fallbacks": {
2477
+ "opaque": null,
2478
+ "reducedTransparency": null,
2479
+ "forcedColors": null,
2480
+ "noBackdropFilter": null
2481
+ },
2482
+ "conditions": {},
2483
+ "shadowed": [],
2484
+ "diagnostics": [],
2485
+ "missing": [
2486
+ "fill",
2487
+ "blur",
2488
+ "haze",
2489
+ "radius"
2490
+ ],
2491
+ "why": "A part: the table inside `.cr-table-scroll`, which carries the Resin shell and the Haze fill; the table is transparent on it."
2492
+ }
2493
+ },
2494
+ "tokens": [
2495
+ "--cr-haze-feather",
2496
+ "--cr-haze-fill",
2497
+ "--cr-radius",
2498
+ "--cr-resin-blur",
2499
+ "--cr-resin-fill",
2500
+ "--cr-resin-saturation",
2501
+ "--cr-rim",
2502
+ "--cr-scrollbar-inset",
2503
+ "--cr-scrollbar-resin-thumb",
2504
+ "--cr-scrollbar-thumb-min",
2505
+ "--cr-scrollbar-track",
2506
+ "--cr-scrollbar-width",
2507
+ "--cr-shadow-content",
2508
+ "--cr-surface"
2509
+ ]
2510
+ },
2511
+ {
2512
+ "id": "dock",
2513
+ "name": "Dock",
2514
+ "materials": [
2515
+ "Resin",
2516
+ "Haze",
2517
+ "Stone"
2518
+ ],
2519
+ "kind": "class",
2520
+ "selector": ".cr-dock",
2521
+ "fill": "var(--cr-resin-fill)",
2522
+ "blur": "var(--cr-resin-blur)",
2523
+ "saturation": "var(--cr-resin-saturation)",
2524
+ "rim": "1px solid var(--cr-rim)",
2525
+ "shadow": "var(--cr-shadow-float)",
2526
+ "radius": "999px",
2527
+ "padding": "9px",
2528
+ "haze": {
2529
+ "layer": "::before",
2530
+ "inset": "var(--cr-haze-inset)",
2531
+ "fill": "var(--cr-haze-fill)",
2532
+ "feather": "var(--cr-haze-feather)",
2533
+ "radius": "inherit"
2534
+ },
2535
+ "feather": "var(--cr-haze-feather)",
2536
+ "extras": {
2537
+ "align-items": "center",
2538
+ "display": "flex",
2539
+ "gap": "4px",
2540
+ "isolation": "isolate",
2541
+ "max-width": "100%",
2542
+ "position": "relative"
2543
+ },
2544
+ "layers": {
2545
+ "::before": {
2546
+ "background": "var(--cr-haze-fill)",
2547
+ "border-radius": "inherit",
2548
+ "content": "''",
2549
+ "filter": "blur(var(--cr-haze-feather))",
2550
+ "inset": "var(--cr-haze-inset)",
2551
+ "pointer-events": "none",
2552
+ "position": "absolute",
2553
+ "z-index": "-1"
2554
+ }
2555
+ },
2556
+ "fallbacks": {
2557
+ "opaque": {
2558
+ "declarations": {
2559
+ "-webkit-backdrop-filter": "none",
2560
+ "backdrop-filter": "none",
2561
+ "background": "var(--cr-surface)"
2562
+ }
2563
+ },
2564
+ "reducedTransparency": {
2565
+ "declarations": {
2566
+ "-webkit-backdrop-filter": "none",
2567
+ "backdrop-filter": "none",
2568
+ "background": "var(--cr-surface)"
2569
+ }
2570
+ },
2571
+ "forcedColors": {
2572
+ "declarations": {
2573
+ "-webkit-backdrop-filter": "none",
2574
+ "backdrop-filter": "none",
2575
+ "background": "Canvas",
2576
+ "border": "1px solid ButtonText",
2577
+ "box-shadow": "none"
2578
+ },
2579
+ "layers": {
2580
+ "::before": {
2581
+ "display": "none"
2582
+ }
2583
+ }
2584
+ },
2585
+ "noBackdropFilter": null
2586
+ },
2587
+ "conditions": {
2588
+ "@media (max-width:600px)": {
2589
+ "declarations": {
2590
+ "padding": "7px"
2591
+ }
2592
+ }
2593
+ },
2594
+ "shadowed": [],
2595
+ "diagnostics": [],
2596
+ "missing": [],
2597
+ "also": {
2598
+ ".cr-dock-inner": {
2599
+ "selector": ".cr-dock-inner",
2600
+ "fill": "transparent",
2601
+ "blur": null,
2602
+ "saturation": null,
2603
+ "rim": null,
2604
+ "shadow": null,
2605
+ "radius": "999px",
2606
+ "padding": "3px",
2607
+ "haze": {
2608
+ "layer": "::before",
2609
+ "inset": "0",
2610
+ "fill": "var(--cr-stone-fill)",
2611
+ "feather": "var(--cr-stone-feather)",
2612
+ "radius": "inherit"
2613
+ },
2614
+ "feather": "var(--cr-stone-feather)",
2615
+ "extras": {
2616
+ "align-items": "center",
2617
+ "color": "var(--cr-text)",
2618
+ "display": "flex",
2619
+ "gap": "3px",
2620
+ "isolation": "isolate",
2621
+ "position": "relative",
2622
+ "width": "100%"
2623
+ },
2624
+ "layers": {
2625
+ "::before": {
2626
+ "background": "var(--cr-stone-fill)",
2627
+ "border-radius": "inherit",
2628
+ "content": "''",
2629
+ "filter": "blur(var(--cr-stone-feather))",
2630
+ "inset": "0",
2631
+ "pointer-events": "none",
2632
+ "position": "absolute",
2633
+ "z-index": "-1"
2634
+ }
2635
+ },
2636
+ "fallbacks": {
2637
+ "opaque": {
2638
+ "layers": {
2639
+ "::before": {
2640
+ "background": "var(--cr-surface)",
2641
+ "filter": "none"
2642
+ }
2643
+ }
2644
+ },
2645
+ "reducedTransparency": {
2646
+ "layers": {
2647
+ "::before": {
2648
+ "background": "var(--cr-surface)",
2649
+ "filter": "none"
2650
+ }
2651
+ }
2652
+ },
2653
+ "forcedColors": {
2654
+ "declarations": {
2655
+ "-webkit-backdrop-filter": "none",
2656
+ "backdrop-filter": "none",
2657
+ "background": "Canvas",
2658
+ "border": "1px solid CanvasText",
2659
+ "box-shadow": "none",
2660
+ "color": "CanvasText"
2661
+ },
2662
+ "layers": {
2663
+ "::before": {
2664
+ "display": "none"
2665
+ }
2666
+ }
2667
+ },
2668
+ "noBackdropFilter": null
2669
+ },
2670
+ "conditions": {},
2671
+ "shadowed": [],
2672
+ "diagnostics": [],
2673
+ "missing": [
2674
+ "blur"
2675
+ ],
2676
+ "why": "The Stone label backing inside the dock. The dock carries the Resin blur, and Resin never contains Resin, so the inner fill has none."
2677
+ }
2678
+ },
2679
+ "tokens": [
2680
+ "--cr-haze-feather",
2681
+ "--cr-haze-fill",
2682
+ "--cr-haze-inset",
2683
+ "--cr-resin-blur",
2684
+ "--cr-resin-fill",
2685
+ "--cr-resin-saturation",
2686
+ "--cr-rim",
2687
+ "--cr-shadow-float",
2688
+ "--cr-stone-feather",
2689
+ "--cr-stone-fill",
2690
+ "--cr-surface",
2691
+ "--cr-text"
2692
+ ]
2693
+ },
2694
+ {
2695
+ "id": "group",
2696
+ "name": "Group",
2697
+ "materials": [
2698
+ "Resin",
2699
+ "Haze"
2700
+ ],
2701
+ "kind": "class",
2702
+ "selector": ".cr-group",
2703
+ "fill": "var(--cr-resin-fill)",
2704
+ "blur": "var(--cr-resin-blur)",
2705
+ "saturation": "var(--cr-resin-saturation)",
2706
+ "rim": "1px solid var(--cr-rim)",
2707
+ "shadow": "var(--cr-shadow-float)",
2708
+ "radius": "999px",
2709
+ "padding": null,
2710
+ "haze": {
2711
+ "layer": "::before",
2712
+ "inset": "var(--cr-haze-inset)",
2713
+ "fill": "var(--cr-haze-fill)",
2714
+ "feather": "var(--cr-haze-feather)",
2715
+ "radius": "inherit"
2716
+ },
2717
+ "feather": "var(--cr-haze-feather)",
2718
+ "extras": {
2719
+ "align-items": "stretch",
2720
+ "display": "inline-flex",
2721
+ "isolation": "isolate",
2722
+ "position": "relative"
2723
+ },
2724
+ "layers": {
2725
+ "::before": {
2726
+ "background": "var(--cr-haze-fill)",
2727
+ "border-radius": "inherit",
2728
+ "content": "''",
2729
+ "filter": "blur(var(--cr-haze-feather))",
2730
+ "inset": "var(--cr-haze-inset)",
2731
+ "pointer-events": "none",
2732
+ "position": "absolute",
2733
+ "z-index": "-1"
2734
+ }
2735
+ },
2736
+ "fallbacks": {
2737
+ "opaque": {
2738
+ "declarations": {
2739
+ "-webkit-backdrop-filter": "none",
2740
+ "backdrop-filter": "none",
2741
+ "background": "var(--cr-surface)"
2742
+ }
2743
+ },
2744
+ "reducedTransparency": {
2745
+ "declarations": {
2746
+ "-webkit-backdrop-filter": "none",
2747
+ "backdrop-filter": "none",
2748
+ "background": "var(--cr-surface)"
2749
+ },
2750
+ "layers": {
2751
+ "::before": {
2752
+ "filter": "none"
2753
+ }
2754
+ }
2755
+ },
2756
+ "forcedColors": {
2757
+ "declarations": {
2758
+ "-webkit-backdrop-filter": "none",
2759
+ "backdrop-filter": "none",
2760
+ "background": "ButtonFace",
2761
+ "border": "1px solid ButtonText",
2762
+ "box-shadow": "none"
2763
+ },
2764
+ "layers": {
2765
+ "::before": {
2766
+ "display": "none"
2767
+ }
2768
+ }
2769
+ },
2770
+ "noBackdropFilter": null
2771
+ },
2772
+ "conditions": {},
2773
+ "shadowed": [],
2774
+ "diagnostics": [],
2775
+ "missing": [],
2776
+ "also": {
2777
+ ".cr-group.vertical": {
2778
+ "selector": ".cr-group.vertical",
2779
+ "fill": "var(--cr-resin-fill)",
2780
+ "blur": "var(--cr-resin-blur)",
2781
+ "saturation": "var(--cr-resin-saturation)",
2782
+ "rim": "1px solid var(--cr-rim)",
2783
+ "shadow": "var(--cr-shadow-float)",
2784
+ "radius": "999px",
2785
+ "padding": null,
2786
+ "haze": {
2787
+ "layer": "::before",
2788
+ "inset": "var(--cr-haze-inset)",
2789
+ "fill": "var(--cr-haze-fill)",
2790
+ "feather": "var(--cr-haze-feather)",
2791
+ "radius": "inherit"
2792
+ },
2793
+ "feather": "var(--cr-haze-feather)",
2794
+ "extras": {
2795
+ "align-items": "stretch",
2796
+ "display": "inline-flex",
2797
+ "flex-direction": "column",
2798
+ "isolation": "isolate",
2799
+ "position": "relative"
2800
+ },
2801
+ "layers": {
2802
+ "::before": {
2803
+ "background": "var(--cr-haze-fill)",
2804
+ "border-radius": "inherit",
2805
+ "content": "''",
2806
+ "filter": "blur(var(--cr-haze-feather))",
2807
+ "inset": "var(--cr-haze-inset)",
2808
+ "pointer-events": "none",
2809
+ "position": "absolute",
2810
+ "z-index": "-1"
2811
+ }
2812
+ },
2813
+ "fallbacks": {
2814
+ "opaque": {
2815
+ "declarations": {
2816
+ "-webkit-backdrop-filter": "none",
2817
+ "backdrop-filter": "none",
2818
+ "background": "var(--cr-surface)"
2819
+ }
2820
+ },
2821
+ "reducedTransparency": {
2822
+ "declarations": {
2823
+ "-webkit-backdrop-filter": "none",
2824
+ "backdrop-filter": "none",
2825
+ "background": "var(--cr-surface)"
2826
+ },
2827
+ "layers": {
2828
+ "::before": {
2829
+ "filter": "none"
2830
+ }
2831
+ }
2832
+ },
2833
+ "forcedColors": {
2834
+ "declarations": {
2835
+ "-webkit-backdrop-filter": "none",
2836
+ "backdrop-filter": "none",
2837
+ "background": "ButtonFace",
2838
+ "border": "1px solid ButtonText",
2839
+ "box-shadow": "none"
2840
+ },
2841
+ "layers": {
2842
+ "::before": {
2843
+ "display": "none"
2844
+ }
2845
+ }
2846
+ },
2847
+ "noBackdropFilter": null
2848
+ },
2849
+ "conditions": {},
2850
+ "shadowed": [],
2851
+ "diagnostics": [],
2852
+ "missing": []
2853
+ }
2854
+ },
2855
+ "tokens": [
2856
+ "--cr-haze-feather",
2857
+ "--cr-haze-fill",
2858
+ "--cr-haze-inset",
2859
+ "--cr-resin-blur",
2860
+ "--cr-resin-fill",
2861
+ "--cr-resin-saturation",
2862
+ "--cr-rim",
2863
+ "--cr-shadow-float",
2864
+ "--cr-surface"
2865
+ ]
2866
+ },
2867
+ {
2868
+ "id": "nav-item",
2869
+ "name": "Navigation entry",
2870
+ "materials": [],
2871
+ "kind": "class",
2872
+ "selector": ".cr-nav-item",
2873
+ "fill": "transparent",
2874
+ "blur": null,
2875
+ "saturation": null,
2876
+ "rim": "1px solid transparent",
2877
+ "shadow": null,
2878
+ "radius": "999px",
2879
+ "padding": "10px 14px",
2880
+ "haze": null,
2881
+ "feather": null,
2882
+ "extras": {
2883
+ "align-items": "center",
2884
+ "backdrop-filter": "none",
2885
+ "color": "var(--cr-muted)",
2886
+ "display": "inline-flex",
2887
+ "filter": "none",
2888
+ "font-size": "14px",
2889
+ "font-weight": "650",
2890
+ "gap": "10px",
2891
+ "justify-content": "flex-start",
2892
+ "line-height": "1.35",
2893
+ "min-height": "44px",
2894
+ "position": "relative",
2895
+ "text-align": "start",
2896
+ "text-decoration": "none"
2897
+ },
2898
+ "layers": {
2899
+ "::after": {
2900
+ "content": "none",
2901
+ "display": "none"
2902
+ },
2903
+ "::before": {
2904
+ "content": "none",
2905
+ "display": "none"
2906
+ }
2907
+ },
2908
+ "fallbacks": {
2909
+ "opaque": null,
2910
+ "reducedTransparency": null,
2911
+ "forcedColors": {
2912
+ "declarations": {
2913
+ "border-color": "transparent",
2914
+ "box-shadow": "none"
2915
+ }
2916
+ },
2917
+ "noBackdropFilter": null
2918
+ },
2919
+ "conditions": {},
2920
+ "shadowed": [],
2921
+ "diagnostics": [],
2922
+ "missing": [],
2923
+ "tokens": [
2924
+ "--cr-muted"
2925
+ ]
2926
+ },
2927
+ {
2928
+ "id": "bare",
2929
+ "name": "Bare control",
2930
+ "materials": [],
2931
+ "kind": "class",
2932
+ "selector": ".cr-bare",
2933
+ "fill": "transparent",
2934
+ "blur": null,
2935
+ "saturation": null,
2936
+ "rim": "1px solid transparent",
2937
+ "shadow": null,
2938
+ "radius": "999px",
2939
+ "padding": "0 10px",
2940
+ "haze": null,
2941
+ "feather": null,
2942
+ "extras": {
2943
+ "align-items": "center",
2944
+ "backdrop-filter": "none",
2945
+ "color": "inherit",
2946
+ "display": "inline-flex",
2947
+ "filter": "none",
2948
+ "font-weight": "inherit",
2949
+ "gap": "8px",
2950
+ "justify-content": "center",
2951
+ "min-block-size": "44px",
2952
+ "min-inline-size": "44px"
2953
+ },
2954
+ "layers": {
2955
+ "::after": {
2956
+ "content": "none",
2957
+ "display": "none"
2958
+ },
2959
+ "::before": {
2960
+ "content": "none",
2961
+ "display": "none"
2962
+ }
2963
+ },
2964
+ "fallbacks": {
2965
+ "opaque": null,
2966
+ "reducedTransparency": null,
2967
+ "forcedColors": {
2968
+ "declarations": {
2969
+ "border-color": "transparent",
2970
+ "box-shadow": "none"
2971
+ }
2972
+ },
2973
+ "noBackdropFilter": null
2974
+ },
2975
+ "conditions": {},
2976
+ "shadowed": [],
2977
+ "diagnostics": [],
2978
+ "missing": [],
2979
+ "tokens": []
2980
+ },
2981
+ {
2982
+ "id": "drag-handle",
2983
+ "name": "Drag handle",
2984
+ "materials": [],
2985
+ "kind": "class",
2986
+ "selector": ".cr-drag-handle",
2987
+ "fill": "transparent",
2988
+ "blur": null,
2989
+ "saturation": null,
2990
+ "rim": null,
2991
+ "shadow": null,
2992
+ "radius": null,
2993
+ "padding": "12px 16px",
2994
+ "haze": null,
2995
+ "feather": null,
2996
+ "extras": {
2997
+ "background-clip": "content-box",
2998
+ "background-image": "radial-gradient(circle at center, currentColor 1.25px, transparent 1.75px)",
2999
+ "background-position": "center",
3000
+ "background-repeat": "repeat",
3001
+ "background-size": "6px 6px",
3002
+ "color": "var(--cr-muted)",
3003
+ "cursor": "grab",
3004
+ "touch-action": "none"
3005
+ },
3006
+ "layers": {},
3007
+ "fallbacks": {
3008
+ "opaque": null,
3009
+ "reducedTransparency": null,
3010
+ "forcedColors": null,
3011
+ "noBackdropFilter": null
3012
+ },
3013
+ "conditions": {},
3014
+ "shadowed": [],
3015
+ "diagnostics": [],
3016
+ "missing": [],
3017
+ "tokens": [
3018
+ "--cr-muted"
3019
+ ]
3020
+ },
3021
+ {
3022
+ "id": "choice",
3023
+ "name": "Selection control",
3024
+ "materials": [
3025
+ "Resin"
3026
+ ],
3027
+ "kind": "element",
3028
+ "note": "Crystal paints this surface on native elements by element selector rather than a class. The recipe is what the stylesheet gives that element.",
3029
+ "selector": "input:is([type=checkbox],[type=radio])",
3030
+ "alternatives": {
3031
+ "input[type=checkbox]": {
3032
+ "fill": "linear-gradient(135deg,var(--cr-control-light),var(--cr-control-color)),var(--cr-resin-fill)",
3033
+ "blur": "var(--cr-resin-blur)",
3034
+ "saturation": null,
3035
+ "rim": "1px solid var(--cr-rim)",
3036
+ "shadow": "inset 0 2px 2px var(--cr-rim),0 2px 3px var(--cr-control-edge),0 5px 10px var(--cr-shadow-contact)",
3037
+ "radius": "var(--cr-choice-box-radius, 9px)",
3038
+ "padding": null,
3039
+ "haze": null,
3040
+ "feather": null,
3041
+ "extras": {
3042
+ "appearance": "none",
3043
+ "color": "inherit",
3044
+ "display": "inline-grid",
3045
+ "flex": "none",
3046
+ "font": "inherit",
3047
+ "height": "var(--cr-choice-box-size, 26px)",
3048
+ "place-items": "center",
3049
+ "touch-action": "manipulation",
3050
+ "vertical-align": "middle",
3051
+ "width": "var(--cr-choice-box-size, 26px)"
3052
+ },
3053
+ "layers": {
3054
+ "::after": {
3055
+ "background": "var(--cr-surface)",
3056
+ "border": "2px solid var(--cr-primary)",
3057
+ "border-radius": "4px",
3058
+ "box-sizing": "border-box",
3059
+ "content": "''",
3060
+ "height": "14px",
3061
+ "width": "14px"
3062
+ }
3063
+ },
3064
+ "fallbacks": {
3065
+ "opaque": null,
3066
+ "reducedTransparency": null,
3067
+ "forcedColors": {
3068
+ "declarations": {
3069
+ "-webkit-backdrop-filter": "none",
3070
+ "appearance": "auto",
3071
+ "backdrop-filter": "none",
3072
+ "background": "Canvas",
3073
+ "color": "CanvasText"
3074
+ },
3075
+ "layers": {
3076
+ "::after": {
3077
+ "display": "none"
3078
+ }
3079
+ }
3080
+ },
3081
+ "noBackdropFilter": null
3082
+ },
3083
+ "conditions": {},
3084
+ "shadowed": [
3085
+ {
3086
+ "branch": "forcedColors",
3087
+ "layer": null,
3088
+ "property": "border",
3089
+ "value": "1px solid ButtonText",
3090
+ "by": "1px solid var(--cr-rim)"
3091
+ },
3092
+ {
3093
+ "branch": "forcedColors",
3094
+ "layer": null,
3095
+ "property": "box-shadow",
3096
+ "value": "none",
3097
+ "by": "inset 0 2px 2px var(--cr-rim),0 2px 3px var(--cr-control-edge),0 5px 10px var(--cr-shadow-contact)"
3098
+ }
3099
+ ],
3100
+ "diagnostics": [],
3101
+ "missing": []
3102
+ },
3103
+ "input[type=radio]": {
3104
+ "fill": "linear-gradient(135deg,var(--cr-control-light),var(--cr-control-color)),var(--cr-resin-fill)",
3105
+ "blur": "var(--cr-resin-blur)",
3106
+ "saturation": null,
3107
+ "rim": "1px solid var(--cr-rim)",
3108
+ "shadow": "inset 0 2px 2px var(--cr-rim),0 2px 3px var(--cr-control-edge),0 5px 10px var(--cr-shadow-contact)",
3109
+ "radius": "50%",
3110
+ "padding": null,
3111
+ "haze": null,
3112
+ "feather": null,
3113
+ "extras": {
3114
+ "appearance": "none",
3115
+ "color": "inherit",
3116
+ "display": "inline-grid",
3117
+ "flex": "none",
3118
+ "font": "inherit",
3119
+ "height": "var(--cr-choice-box-size, 26px)",
3120
+ "place-items": "center",
3121
+ "touch-action": "manipulation",
3122
+ "vertical-align": "middle",
3123
+ "width": "var(--cr-choice-box-size, 26px)"
3124
+ },
3125
+ "layers": {
3126
+ "::after": {
3127
+ "background": "var(--cr-surface)",
3128
+ "border": "2px solid var(--cr-primary)",
3129
+ "border-radius": "50%",
3130
+ "box-sizing": "border-box",
3131
+ "content": "''",
3132
+ "height": "14px",
3133
+ "width": "14px"
3134
+ }
3135
+ },
3136
+ "fallbacks": {
3137
+ "opaque": null,
3138
+ "reducedTransparency": null,
3139
+ "forcedColors": {
3140
+ "declarations": {
3141
+ "-webkit-backdrop-filter": "none",
3142
+ "appearance": "auto",
3143
+ "backdrop-filter": "none",
3144
+ "background": "Canvas",
3145
+ "color": "CanvasText"
3146
+ },
3147
+ "layers": {
3148
+ "::after": {
3149
+ "display": "none"
3150
+ }
3151
+ }
3152
+ },
3153
+ "noBackdropFilter": null
3154
+ },
3155
+ "conditions": {},
3156
+ "shadowed": [
3157
+ {
3158
+ "branch": "forcedColors",
3159
+ "layer": null,
3160
+ "property": "border",
3161
+ "value": "1px solid ButtonText",
3162
+ "by": "1px solid var(--cr-rim)"
3163
+ },
3164
+ {
3165
+ "branch": "forcedColors",
3166
+ "layer": null,
3167
+ "property": "box-shadow",
3168
+ "value": "none",
3169
+ "by": "inset 0 2px 2px var(--cr-rim),0 2px 3px var(--cr-control-edge),0 5px 10px var(--cr-shadow-contact)"
3170
+ }
3171
+ ],
3172
+ "diagnostics": [],
3173
+ "missing": []
3174
+ }
3175
+ },
3176
+ "also": {
3177
+ "input[type=checkbox][role=switch]": {
3178
+ "selector": "input[type=checkbox][role=switch]",
3179
+ "fill": "linear-gradient(135deg,var(--cr-control-light),var(--cr-control-color)),var(--cr-resin-fill)",
3180
+ "blur": "var(--cr-resin-blur)",
3181
+ "saturation": null,
3182
+ "rim": "1px solid var(--cr-rim)",
3183
+ "shadow": "inset 0 2px 2px var(--cr-rim),0 2px 3px var(--cr-control-edge),0 5px 10px var(--cr-shadow-contact)",
3184
+ "radius": "999px",
3185
+ "padding": null,
3186
+ "haze": null,
3187
+ "feather": null,
3188
+ "extras": {
3189
+ "appearance": "none",
3190
+ "color": "inherit",
3191
+ "display": "inline-block",
3192
+ "flex": "none",
3193
+ "font": "inherit",
3194
+ "height": "var(--cr-switch-track-height, 28px)",
3195
+ "place-items": "center",
3196
+ "position": "relative",
3197
+ "touch-action": "manipulation",
3198
+ "vertical-align": "middle",
3199
+ "width": "var(--cr-switch-track-width, 44px)"
3200
+ },
3201
+ "layers": {
3202
+ "::after": {
3203
+ "background": "var(--cr-surface)",
3204
+ "border": "0",
3205
+ "border-radius": "50%",
3206
+ "box-shadow": "0 2px 4px var(--cr-control-edge), 0 4px 8px var(--cr-shadow-contact)",
3207
+ "box-sizing": "border-box",
3208
+ "content": "''",
3209
+ "height": "calc(var(--cr-switch-track-height, 28px) - 6px)",
3210
+ "inset-block-start": "2px",
3211
+ "inset-inline-start": "2px",
3212
+ "position": "absolute",
3213
+ "transition": "translate var(--cr-state) var(--cr-ease-settle)",
3214
+ "width": "calc(var(--cr-switch-track-height, 28px) - 6px)"
3215
+ }
3216
+ },
3217
+ "fallbacks": {
3218
+ "opaque": null,
3219
+ "reducedTransparency": null,
3220
+ "forcedColors": {
3221
+ "declarations": {
3222
+ "-webkit-backdrop-filter": "none",
3223
+ "appearance": "auto",
3224
+ "backdrop-filter": "none",
3225
+ "background": "Canvas",
3226
+ "color": "CanvasText",
3227
+ "height": "auto",
3228
+ "width": "auto"
3229
+ },
3230
+ "layers": {
3231
+ "::after": {
3232
+ "display": "none"
3233
+ }
3234
+ }
3235
+ },
3236
+ "noBackdropFilter": null
3237
+ },
3238
+ "conditions": {},
3239
+ "shadowed": [
3240
+ {
3241
+ "branch": "forcedColors",
3242
+ "layer": null,
3243
+ "property": "border",
3244
+ "value": "1px solid ButtonText",
3245
+ "by": "1px solid var(--cr-rim)"
3246
+ },
3247
+ {
3248
+ "branch": "forcedColors",
3249
+ "layer": null,
3250
+ "property": "box-shadow",
3251
+ "value": "none",
3252
+ "by": "inset 0 2px 2px var(--cr-rim),0 2px 3px var(--cr-control-edge),0 5px 10px var(--cr-shadow-contact)"
3253
+ }
3254
+ ],
3255
+ "diagnostics": [],
3256
+ "missing": []
3257
+ },
3258
+ "input[type=range]": {
3259
+ "selector": "input[type=range]",
3260
+ "fill": "transparent",
3261
+ "blur": null,
3262
+ "saturation": null,
3263
+ "rim": null,
3264
+ "shadow": null,
3265
+ "radius": null,
3266
+ "padding": null,
3267
+ "haze": null,
3268
+ "feather": null,
3269
+ "extras": {
3270
+ "--cr-range-progress": "50%",
3271
+ "appearance": "none",
3272
+ "color": "inherit",
3273
+ "font": "inherit",
3274
+ "min-height": "32px",
3275
+ "touch-action": "manipulation"
3276
+ },
3277
+ "layers": {
3278
+ "::-moz-range-progress": {
3279
+ "background": "var(--cr-primary)",
3280
+ "border-radius": "99px",
3281
+ "height": "8px"
3282
+ },
3283
+ "::-moz-range-thumb": {
3284
+ "background": "radial-gradient(circle,var(--cr-primary) 0 3px,var(--cr-surface) 3.5px 7px,transparent 8px),linear-gradient(135deg,var(--cr-control-light),var(--cr-control-color)),var(--cr-resin-fill)",
3285
+ "border": "2px solid var(--cr-rim)",
3286
+ "border-radius": "50%",
3287
+ "box-shadow": "inset 0 2px 1px var(--cr-rim),0 2px 4px var(--cr-control-edge),0 5px 10px var(--cr-shadow-cast)",
3288
+ "height": "26px",
3289
+ "width": "26px"
3290
+ },
3291
+ "::-moz-range-track": {
3292
+ "background": "var(--cr-primary-soft)",
3293
+ "border": "0",
3294
+ "border-radius": "99px",
3295
+ "box-shadow": "0 -1px 0 var(--cr-rim),0 2px 4px var(--cr-control-edge)",
3296
+ "height": "8px"
3297
+ },
3298
+ "::-webkit-slider-runnable-track": {
3299
+ "background": "linear-gradient(to right,var(--cr-primary) 0 var(--cr-range-progress),var(--cr-primary-soft) var(--cr-range-progress) 100%)",
3300
+ "border": "0",
3301
+ "border-radius": "99px",
3302
+ "box-shadow": "0 -1px 0 var(--cr-rim),0 2px 4px var(--cr-control-edge)",
3303
+ "height": "8px"
3304
+ },
3305
+ "::-webkit-slider-thumb": {
3306
+ "appearance": "none",
3307
+ "background": "radial-gradient(circle,var(--cr-primary) 0 3px,var(--cr-surface) 3.5px 7px,transparent 8px),linear-gradient(135deg,var(--cr-control-light),var(--cr-control-color)),var(--cr-resin-fill)",
3308
+ "border": "2px solid var(--cr-rim)",
3309
+ "border-radius": "50%",
3310
+ "box-shadow": "inset 0 2px 1px var(--cr-rim),0 2px 4px var(--cr-control-edge),0 5px 10px var(--cr-shadow-cast)",
3311
+ "height": "26px",
3312
+ "margin-top": "-9px",
3313
+ "width": "26px"
3314
+ }
3315
+ },
3316
+ "fallbacks": {
3317
+ "opaque": null,
3318
+ "reducedTransparency": null,
3319
+ "forcedColors": {
3320
+ "declarations": {
3321
+ "-webkit-backdrop-filter": "none",
3322
+ "appearance": "auto",
3323
+ "backdrop-filter": "none",
3324
+ "background": "Canvas",
3325
+ "border": "1px solid ButtonText",
3326
+ "box-shadow": "none",
3327
+ "color": "CanvasText"
3328
+ },
3329
+ "layers": {
3330
+ "::-webkit-slider-runnable-track": {
3331
+ "background": "CanvasText"
3332
+ },
3333
+ "::-webkit-slider-thumb": {
3334
+ "background": "ButtonText",
3335
+ "border-color": "Canvas"
3336
+ }
3337
+ }
3338
+ },
3339
+ "noBackdropFilter": null
3340
+ },
3341
+ "conditions": {},
3342
+ "shadowed": [],
3343
+ "diagnostics": [],
3344
+ "missing": [
3345
+ "blur",
3346
+ "radius"
3347
+ ],
3348
+ "why": "A track and a thumb, painted on the slider's pseudo-elements (`::-webkit-slider-runnable-track`, `::-webkit-slider-thumb` and their `::-moz-range-` forms), which this record does not read."
3349
+ }
3350
+ },
3351
+ "tokens": [
3352
+ "--cr-choice-box-radius",
3353
+ "--cr-choice-box-size",
3354
+ "--cr-control-color",
3355
+ "--cr-control-edge",
3356
+ "--cr-control-light",
3357
+ "--cr-ease-settle",
3358
+ "--cr-primary",
3359
+ "--cr-primary-soft",
3360
+ "--cr-range-progress",
3361
+ "--cr-resin-blur",
3362
+ "--cr-resin-fill",
3363
+ "--cr-rim",
3364
+ "--cr-shadow-cast",
3365
+ "--cr-shadow-contact",
3366
+ "--cr-state",
3367
+ "--cr-surface",
3368
+ "--cr-switch-track-height",
3369
+ "--cr-switch-track-width"
3370
+ ]
3371
+ },
3372
+ {
3373
+ "id": "native",
3374
+ "name": "Native control furniture",
3375
+ "materials": [],
3376
+ "kind": "element",
3377
+ "note": "Crystal paints this surface on native elements by element selector rather than a class. The recipe is what the stylesheet gives that element.",
3378
+ "selector": "select option",
3379
+ "fill": "var(--cr-surface)",
3380
+ "blur": null,
3381
+ "saturation": null,
3382
+ "rim": null,
3383
+ "shadow": null,
3384
+ "radius": null,
3385
+ "padding": null,
3386
+ "haze": null,
3387
+ "feather": null,
3388
+ "extras": {
3389
+ "color": "var(--cr-text)"
3390
+ },
3391
+ "layers": {},
3392
+ "fallbacks": {
3393
+ "opaque": null,
3394
+ "reducedTransparency": null,
3395
+ "forcedColors": null,
3396
+ "noBackdropFilter": null
3397
+ },
3398
+ "conditions": {},
3399
+ "shadowed": [],
3400
+ "diagnostics": [],
3401
+ "missing": [],
3402
+ "also": {
3403
+ "input[type=file]::file-selector-button": {
3404
+ "selector": "input[type=file]::file-selector-button",
3405
+ "fill": "linear-gradient(var(--cr-haze-fill),var(--cr-haze-fill)) padding-box,var(--cr-resin-fill)",
3406
+ "blur": null,
3407
+ "saturation": null,
3408
+ "rim": "1px solid var(--cr-rim)",
3409
+ "shadow": "inset 1px 1px 2px var(--cr-rim),0 4px 8px var(--cr-shadow-contact)",
3410
+ "radius": "99px",
3411
+ "padding": "10px 16px",
3412
+ "haze": null,
3413
+ "feather": null,
3414
+ "extras": {
3415
+ "color": "var(--cr-text)",
3416
+ "cursor": "pointer",
3417
+ "margin-inline-end": "8px",
3418
+ "min-height": "44px"
3419
+ },
3420
+ "layers": {},
3421
+ "fallbacks": {
3422
+ "opaque": null,
3423
+ "reducedTransparency": null,
3424
+ "forcedColors": null,
3425
+ "noBackdropFilter": null
3426
+ },
3427
+ "conditions": {},
3428
+ "shadowed": [],
3429
+ "diagnostics": [],
3430
+ "missing": []
3431
+ }
3432
+ },
3433
+ "tokens": [
3434
+ "--cr-haze-fill",
3435
+ "--cr-resin-fill",
3436
+ "--cr-rim",
3437
+ "--cr-shadow-contact",
3438
+ "--cr-surface",
3439
+ "--cr-text"
3440
+ ]
3441
+ },
3442
+ {
3443
+ "id": "none",
3444
+ "name": "No surface of its own",
3445
+ "materials": [],
3446
+ "kind": "none",
3447
+ "selector": null,
3448
+ "note": "This surface has no material of its own. A component made of it inherits whatever it sits on, so there is no recipe to publish.",
3449
+ "tokens": []
3450
+ }
3451
+ ]
3452
+ }