@crystal-ui/core 2.2.0 → 2.3.1

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.
@@ -24,7 +24,7 @@
24
24
  :is(.cr-resin,.cr-glass){background:var(--cr-resin-fill);border-radius:999px;box-shadow:var(--cr-shadow-float);backdrop-filter:blur(var(--cr-resin-blur)) saturate(var(--cr-resin-saturation));-webkit-backdrop-filter:blur(var(--cr-resin-blur)) saturate(var(--cr-resin-saturation))}
25
25
  .cr-well{background:var(--cr-surface);border-radius:calc(var(--cr-radius) - 7px);color:var(--cr-text);border:1px solid var(--cr-edge)}
26
26
  .cr-button{min-height:48px;padding:15px 24px;border-radius:999px;border:1px solid transparent;font-weight:750;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:9px;line-height:1.3}
27
- .cr-button:hover{box-shadow:var(--cr-shadow-content);filter:brightness(1.04)}/* The button vocabulary is four names and none of them is a colour Crystal
27
+ /* The button vocabulary is four names and none of them is a colour Crystal
28
28
  does not have.
29
29
 
30
30
  `.cr-button` is the action control: a Resin shell with the neutral Haze
@@ -90,7 +90,10 @@
90
90
  .cr-bubble.own{background:transparent;color:var(--cr-content-own-text)}
91
91
  .cr-bubble.own::before{background:var(--cr-haze-own-fill)}
92
92
  .cr-well::before,.cr-content-fill::before{box-shadow:none}
93
- .cr-dialog{position:fixed}
93
+ /* Fixed centres a native <dialog>, which the browser gives inset:0 and auto
94
+ margins when it is modal. On any other element the class is the material and
95
+ the host positions it (D-29). */
96
+ dialog.cr-dialog{position:fixed}
94
97
  .cr-dialog::before{box-shadow:var(--cr-shadow-float)}
95
98
  :is(:is(.cr-haze,.cr-surface),.cr-well,.cr-bubble,.cr-content-fill,.cr-dialog) a:not(.cr-button){color:inherit;text-decoration:underline}
96
99
  /* Place content >=12px from the feathered edge; functional boundaries remain explicit. */
@@ -157,6 +160,11 @@
157
160
  gutter on one side alone would sit it off-centre. */
158
161
  .cr-scroll,.cr-scroll-frost,.cr-scroll-resin{scrollbar-gutter:stable}
159
162
  .cr-dialog{scrollbar-gutter:stable both-edges}
163
+ /* A dialog's code block scrolls down past 300px, and it had the contract's other
164
+ parts and not this one: on a desktop its text moved 10px when the scrollbar
165
+ arrived. Found by the scroll gate on a Pixel 6 Pro, which opened a dialog with
166
+ code in it for the first time (D-4); a phone's overlay scrollbar hid it. */
167
+ .cr-dialog pre{scrollbar-gutter:stable}
160
168
  /* A horizontal-only scroller says so, because the stylesheet cannot tell. Setting
161
169
  `overflow-x: auto` alone makes `overflow-y` compute to `auto` as well, so the
162
170
  browser reserves the inline gutter for a vertical scrollbar that can never
@@ -540,26 +548,26 @@ span.cr-field-shell :is(input,select,textarea):focus-visible {
540
548
  span.cr-field-shell {
541
549
  padding-inline-end: 40px;
542
550
  }
543
- span.cr-field-shell>.cr-indicator {
551
+ .cr-field-shell>.cr-indicator {
544
552
  inset-block-start: 50%;
545
553
  inset-inline-end: 10px;
546
554
  transform: translateY(-50%);
547
555
  width: 24px;
548
556
  height: 24px;
549
557
  }
550
- span.cr-field-shell>.cr-indicator::after {
558
+ .cr-field-shell>.cr-indicator::after {
551
559
  content: '○';
552
560
  font-size: 15px;
553
561
  }
554
- span.cr-field-shell:focus-within>.cr-indicator::after {
562
+ .cr-field-shell:focus-within>.cr-indicator::after {
555
563
  content: '●';
556
564
  font-size: 9px;
557
565
  }
558
- span.cr-field-shell:has(:is([required],[aria-required=true]))>.cr-indicator::after {
566
+ .cr-field-shell:has(:is([required],[aria-required=true]))>.cr-indicator::after {
559
567
  content: '*';
560
568
  font-size: 19px;
561
569
  }
562
- span.cr-field-shell:has([aria-invalid=true])>.cr-indicator::after {
570
+ .cr-field-shell:has([aria-invalid=true])>.cr-indicator::after {
563
571
  content: '!';
564
572
  font-size: 15px;
565
573
  }
@@ -1292,7 +1300,18 @@ span.cr-status>span {
1292
1300
  * geometry stays, because "go here" is an action.
1293
1301
  *
1294
1302
  * Selection is label weight, 650 at rest and 800 when current. Nothing is drawn
1295
- * beside the label. `.stacked` puts the icon above the label for a rail.
1303
+ * beside the label for selection. `.stacked` puts the icon above the label for a
1304
+ * rail.
1305
+ *
1306
+ * Current *location* is a different indicator, and the catalogue says so: "current
1307
+ * location is a dot; selection within a set is label weight" (D-22, ruled on
1308
+ * 28 September 2026). The dot is drawn on `aria-current` only — never for
1309
+ * `aria-selected` or `aria-pressed`, which are selection — and it sits inside the
1310
+ * entry's own inline-start padding, absolutely positioned, so the label does not
1311
+ * move by a pixel when the page changes. It is a flat mark in the primary colour:
1312
+ * no material, no elevation, no blur. An entry is furniture on the panel beneath
1313
+ * it, and a dot that floated or diffused would be one more plane in a column the
1314
+ * hierarchy keeps quiet.
1296
1315
  */
1297
1316
  :is(button, a, [role=link], .cr-nav-item).cr-nav-item {
1298
1317
  position: relative;
@@ -1333,6 +1352,21 @@ span.cr-status>span {
1333
1352
  color: var(--cr-text);
1334
1353
  font-weight: 800;
1335
1354
  }
1355
+ /* The location dot. 6px is twice `component.indicator.lineWidth`, so a dot and a
1356
+ marking line read as one weight of mark. */
1357
+ .cr-nav-item:is([aria-current]:not([aria-current=false]))::before {
1358
+ content: '';
1359
+ display: block;
1360
+ position: absolute;
1361
+ inset-block-start: 50%;
1362
+ inset-inline-start: 4px;
1363
+ width: 6px;
1364
+ height: 6px;
1365
+ border-radius: 50%;
1366
+ background: var(--cr-primary);
1367
+ translate: 0 -50%;
1368
+ pointer-events: none;
1369
+ }
1336
1370
  .cr-nav-item.stacked {
1337
1371
  flex-direction: column;
1338
1372
  justify-content: center;
@@ -1346,6 +1380,14 @@ span.cr-status>span {
1346
1380
  width: 24px;
1347
1381
  height: 24px;
1348
1382
  }
1383
+ /* Stacked, the inline start is beside the icon, so the dot sits above it instead,
1384
+ centred in the entry's own block-start padding. */
1385
+ .cr-nav-item.stacked:is([aria-current]:not([aria-current=false]))::before {
1386
+ inset-block-start: 2px;
1387
+ inset-inline: 0;
1388
+ margin-inline: auto;
1389
+ translate: none;
1390
+ }
1349
1391
 
1350
1392
  /* A Resin panel: the Resin plane with the content radius instead of the pill,
1351
1393
  for a floating control plane that is a rectangle — a floating window, a wide
@@ -1444,6 +1486,9 @@ button:disabled,
1444
1486
  outline: 2px solid Highlight;
1445
1487
  outline-offset: -3px;
1446
1488
  }
1489
+ .cr-nav-item:is([aria-current]:not([aria-current=false]))::before {
1490
+ background: Highlight;
1491
+ }
1447
1492
  .cr-nav-item,
1448
1493
  .cr-bare {
1449
1494
  border-color: transparent;
@@ -1462,3 +1507,308 @@ input[type=checkbox][role=switch] {
1462
1507
  }
1463
1508
  }
1464
1509
  }
1510
+
1511
+
1512
+ /* ---------------------------------------------------------------------------
1513
+ Rulings of 29 September 2026 — proposals/2026-09-29-rulings.md.
1514
+
1515
+ Each recipe below closes an open issue that a consumer found by reaching for
1516
+ Crystal and finding it did not reach: a dock whose controls were not buttons,
1517
+ a group whose segments touch, a dialog whose body scrolls, an overlay inside a
1518
+ pane, a count badge. As in the block above, each is authored in
1519
+ `@layer crystal.component` and nowhere else, and each carries its own
1520
+ reduced-transparency and forced-colours branches.
1521
+ --------------------------------------------------------------------------- */
1522
+ @layer crystal.component {
1523
+
1524
+ /* The dock's controls, whatever the element (D-26).
1525
+ *
1526
+ * `.cr-dock button` reaches only a <button>. A tab is often `[role=tab]` on
1527
+ * another element, a segmented control is often radio inputs inside labels, and
1528
+ * a dock or bottom-bar destination is a link carrying `aria-current`. Each gets
1529
+ * the dock button's values here, selected by its own state — `aria-selected`, a
1530
+ * checked radio, `aria-current`.
1531
+ *
1532
+ * Every selector is inside `:where()`, so it adds no specificity to `.cr-dock`,
1533
+ * and the existing `.cr-dock button` rules (0,1,1) keep winning on a <button>
1534
+ * that is also `[role=tab]`. Nothing a consumer already sits against moves. */
1535
+ .cr-dock :where([role=tab], a, label:has(input[type=radio])) {
1536
+ display: inline-flex;
1537
+ align-items: center;
1538
+ justify-content: center;
1539
+ position: relative;
1540
+ min-height: 52px;
1541
+ padding: 13px 18px;
1542
+ border: 0;
1543
+ border-radius: 999px;
1544
+ background: transparent;
1545
+ color: var(--cr-text);
1546
+ font-weight: 700;
1547
+ white-space: nowrap;
1548
+ text-decoration: none;
1549
+ cursor: pointer;
1550
+ }
1551
+ .cr-dock :where([role=tab][aria-selected=true], a[aria-current]:not([aria-current=false]), label:has(input[type=radio]:checked)) {
1552
+ background: var(--cr-primary);
1553
+ color: var(--cr-on-primary);
1554
+ box-shadow: 0 3px 7px var(--cr-shadow-contact);
1555
+ /* Selection is weight first, as a selected dock button's is: typographic, so
1556
+ it never rests on the fill's colour alone. */
1557
+ font-weight: 800;
1558
+ }
1559
+ .cr-dock :where([role=tab]:not([aria-selected=true]), a:not([aria-current]:not([aria-current=false])), label:has(input[type=radio]:not(:checked))):hover {
1560
+ background: var(--cr-surface);
1561
+ }
1562
+ /* The radio is the control and the label is what is seen; the input stays in the
1563
+ accessibility tree and takes focus, and its ring is drawn on the label. The
1564
+ label is matched by a radio anywhere inside it — React Aria, for one, wraps
1565
+ its input in a visually hidden span — and only a radio that is the label's own
1566
+ child is hidden here, because a wrapped one is already hidden by its wrapper. */
1567
+ .cr-dock :where(label:has(> input[type=radio])) > input[type=radio] {
1568
+ position: absolute;
1569
+ inset: 0;
1570
+ width: 100%;
1571
+ height: 100%;
1572
+ margin: 0;
1573
+ opacity: 0;
1574
+ cursor: pointer;
1575
+ }
1576
+ .cr-dock :where(label:has(input[type=radio]:focus-visible)) {
1577
+ outline: 2px solid var(--cr-focus-core);
1578
+ outline-offset: 3px;
1579
+ box-shadow: inset 0 2px 1px var(--cr-rim), var(--cr-focus-ring);
1580
+ }
1581
+ @media (max-width:600px) {
1582
+ .cr-dock :where([role=tab], a, label:has(input[type=radio])) {
1583
+ padding: 10px 9px;
1584
+ font-size: 11px;
1585
+ min-height: 44px;
1586
+ }
1587
+ }
1588
+ @media (forced-colors:active) {
1589
+ .cr-dock :where([role=tab][aria-selected=true], a[aria-current]:not([aria-current=false]), label:has(input[type=radio]:checked)) {
1590
+ background: Canvas;
1591
+ color: CanvasText;
1592
+ outline: 2px solid Highlight;
1593
+ outline-offset: -3px;
1594
+ box-shadow: none;
1595
+ }
1596
+ .cr-dock :where(label:has(input[type=radio]:focus-visible)) {
1597
+ outline-color: Highlight;
1598
+ box-shadow: none;
1599
+ }
1600
+ }
1601
+
1602
+ /* A group — the `group` surface (D-26).
1603
+ *
1604
+ * A button group and a split button are one Resin plane whose segments touch:
1605
+ * the silhouette is a single pill, the interior corners square off against
1606
+ * their neighbours, and a hairline in `--cr-edge` separates them. The plane is
1607
+ * the group's, so the children give up their own elevation and diffusion — a
1608
+ * Resin button on a Resin plane is the composition Crystal forbids — and keep
1609
+ * their fill, so a primary action's ink still has its fill beneath it.
1610
+ *
1611
+ * The child selector is `:is(button, a.cr-button, .cr-button, .cr-control)`
1612
+ * under the group, (0,2,1), because the Resin coat it subtracts from is keyed on
1613
+ * the element at (0,1,1) in this same layer. */
1614
+ .cr-group {
1615
+ display: inline-flex;
1616
+ align-items: stretch;
1617
+ position: relative;
1618
+ isolation: isolate;
1619
+ border: 1px solid var(--cr-rim);
1620
+ border-radius: 999px;
1621
+ background: var(--cr-resin-fill);
1622
+ box-shadow: var(--cr-shadow-float);
1623
+ backdrop-filter: blur(var(--cr-resin-blur)) saturate(var(--cr-resin-saturation));
1624
+ -webkit-backdrop-filter: blur(var(--cr-resin-blur)) saturate(var(--cr-resin-saturation));
1625
+ }
1626
+ .cr-group::before {
1627
+ content: '';
1628
+ position: absolute;
1629
+ inset: var(--cr-haze-inset);
1630
+ z-index: -1;
1631
+ pointer-events: none;
1632
+ border-radius: inherit;
1633
+ background: var(--cr-haze-fill);
1634
+ filter: blur(var(--cr-haze-feather));
1635
+ }
1636
+ .cr-group > :is(button, a.cr-button, .cr-button, .cr-control) {
1637
+ border-radius: 0;
1638
+ box-shadow: none;
1639
+ backdrop-filter: none;
1640
+ -webkit-backdrop-filter: none;
1641
+ isolation: isolate;
1642
+ }
1643
+ .cr-group > :is(button, a.cr-button, .cr-button, .cr-control):first-child {
1644
+ border-start-start-radius: 999px;
1645
+ border-end-start-radius: 999px;
1646
+ }
1647
+ .cr-group > :is(button, a.cr-button, .cr-button, .cr-control):last-child {
1648
+ border-start-end-radius: 999px;
1649
+ border-end-end-radius: 999px;
1650
+ }
1651
+ .cr-group > :is(button, a.cr-button, .cr-button, .cr-control) + :is(button, a.cr-button, .cr-button, .cr-control) {
1652
+ border-inline-start: 1px solid var(--cr-edge);
1653
+ }
1654
+ /* Stacked, the pill radius clamps to a stadium whose ends meet the first and
1655
+ last children's own. */
1656
+ .cr-group.vertical {
1657
+ flex-direction: column;
1658
+ }
1659
+ .cr-group.vertical > :is(button, a.cr-button, .cr-button, .cr-control) + :is(button, a.cr-button, .cr-button, .cr-control) {
1660
+ border-inline-start: 0;
1661
+ border-block-start: 1px solid var(--cr-edge);
1662
+ }
1663
+ .cr-group.vertical > :is(button, a.cr-button, .cr-button, .cr-control):first-child {
1664
+ border-radius: 0;
1665
+ border-start-start-radius: 999px;
1666
+ border-start-end-radius: 999px;
1667
+ }
1668
+ .cr-group.vertical > :is(button, a.cr-button, .cr-button, .cr-control):last-child {
1669
+ border-radius: 0;
1670
+ border-end-start-radius: 999px;
1671
+ border-end-end-radius: 999px;
1672
+ }
1673
+ [data-effects=opaque] .cr-group {
1674
+ background: var(--cr-surface);
1675
+ backdrop-filter: none;
1676
+ -webkit-backdrop-filter: none;
1677
+ }
1678
+ @media (prefers-reduced-transparency:reduce) {
1679
+ .cr-group {
1680
+ background: var(--cr-surface);
1681
+ backdrop-filter: none;
1682
+ -webkit-backdrop-filter: none;
1683
+ }
1684
+ .cr-group::before {
1685
+ filter: none;
1686
+ }
1687
+ }
1688
+ @media (forced-colors:active) {
1689
+ .cr-group {
1690
+ background: ButtonFace;
1691
+ border: 1px solid ButtonText;
1692
+ box-shadow: none;
1693
+ backdrop-filter: none;
1694
+ }
1695
+ .cr-group::before {
1696
+ display: none;
1697
+ }
1698
+ .cr-group > :is(button, a.cr-button, .cr-button, .cr-control) + :is(button, a.cr-button, .cr-button, .cr-control) {
1699
+ border-inline-start-color: ButtonText;
1700
+ border-block-start-color: ButtonText;
1701
+ }
1702
+ }
1703
+
1704
+ /* A dialog's body scrolls; the dialog does not (D-25).
1705
+ *
1706
+ * A surface that scrolls takes its title out of view in a tall dialog, and
1707
+ * cannot take the edge fade, because a mask fades an element's own fill and rim
1708
+ * along with its content. So the surface is a column that does not scroll, and
1709
+ * `.cr-dialog-body` scrolls inside it — with `.cr-scroll-frost` beside it for
1710
+ * the scroll contract, the Frost scrollbar and the edge fade, since a dialog is
1711
+ * a reading surface.
1712
+ *
1713
+ * Keyed on the body's presence, so a 2.2 dialog written without one goes on
1714
+ * scrolling as its surface, exactly as before. And only an open native dialog is
1715
+ * shown: an author `display` would otherwise beat the browser's
1716
+ * `dialog:not([open]) { display: none }`. */
1717
+ .cr-dialog:has(> .cr-dialog-body) {
1718
+ display: flex;
1719
+ flex-direction: column;
1720
+ overflow: visible;
1721
+ }
1722
+ dialog.cr-dialog:has(> .cr-dialog-body):not([open]) {
1723
+ display: none;
1724
+ }
1725
+ /* The header's gap, which body paragraphs' own margins used to supply. It
1726
+ matches the gap inside the header, as the footer's 24px matches its own. */
1727
+ .cr-dialog > header + .cr-dialog-body {
1728
+ margin-top: 20px;
1729
+ }
1730
+ .cr-dialog-body {
1731
+ flex: 1 1 auto;
1732
+ min-height: 0;
1733
+ overflow: auto;
1734
+ overflow-x: hidden;
1735
+ overscroll-behavior: contain;
1736
+ /* Both edges, as the dialog had: its content is centred, and a gutter on one
1737
+ side alone would sit it off-centre. */
1738
+ scrollbar-gutter: stable both-edges;
1739
+ }
1740
+
1741
+ /* An overlay inside a pane (D-25).
1742
+ *
1743
+ * On the page a transient overlay is Frost. Inside a pane that is already
1744
+ * lifted — a Haze dialog, a Frost panel — it recesses into Haze rather than
1745
+ * floating a second pane of glass, and plain Haze has no edge: a menu drawn that
1746
+ * way over a Haze dialog cannot be told from the dialog. The recessed overlay is
1747
+ * Haze given the one boundary it needs: a flat fill, the `--cr-edge` rim and the
1748
+ * content shadow. There is no feather — a bordered box has no perimeter to
1749
+ * dissolve into its surroundings. */
1750
+ :is(.cr-haze,.cr-surface).overlay {
1751
+ border: 1px solid var(--cr-edge);
1752
+ border-radius: var(--cr-radius);
1753
+ background: var(--cr-haze-fill);
1754
+ box-shadow: var(--cr-shadow-content);
1755
+ }
1756
+ :is(.cr-haze,.cr-surface).overlay::before {
1757
+ display: none;
1758
+ }
1759
+ [data-effects=opaque] :is(.cr-haze,.cr-surface).overlay {
1760
+ background: var(--cr-surface);
1761
+ }
1762
+ @media (prefers-reduced-transparency:reduce) {
1763
+ :is(.cr-haze,.cr-surface).overlay {
1764
+ background: var(--cr-surface);
1765
+ }
1766
+ }
1767
+ @media (forced-colors:active) {
1768
+ :is(.cr-haze,.cr-surface).overlay {
1769
+ background: Canvas;
1770
+ color: CanvasText;
1771
+ border: 1px solid CanvasText;
1772
+ box-shadow: none;
1773
+ }
1774
+ }
1775
+
1776
+ /* A count (D-27).
1777
+ *
1778
+ * `.cr-resin-haze` is sized for a tag: its Haze pad is inset by
1779
+ * `--cr-haze-inset`, 8px, and its block padding is 17px. On a 20px count badge
1780
+ * the first leaves a pad a few pixels across with the digit mostly outside it,
1781
+ * and the second makes the badge 55px tall. A count fills to its own edge — it
1782
+ * is smaller than the perimeter the inset protects — has no block padding, and
1783
+ * is a circle that becomes a pill as the digits need it: a square minimum and a
1784
+ * pill radius, so the shape follows the content. 20px is
1785
+ * `component.indicator.size`; 4px is the smallest spacing step. */
1786
+ .cr-resin-haze.count {
1787
+ display: inline-flex;
1788
+ align-items: center;
1789
+ justify-content: center;
1790
+ box-sizing: border-box;
1791
+ min-width: 20px;
1792
+ min-height: 20px;
1793
+ padding: 0 4px;
1794
+ border-radius: 999px;
1795
+ font-size: var(--cr-text-caption-size, 13px);
1796
+ /* One line in a circle: the caption's reading leading plus the rim would
1797
+ make the circle 21px and no longer round. */
1798
+ line-height: 1;
1799
+ font-weight: 700;
1800
+ font-variant-numeric: tabular-nums;
1801
+ white-space: nowrap;
1802
+ }
1803
+ .cr-resin-haze.count::before {
1804
+ inset: 0;
1805
+ }
1806
+
1807
+ /* The indicator's field glyphs now reach any field shell (D-27); a shell that is
1808
+ a block — a label, a textarea, a row of chips — makes the same room for the
1809
+ glyph that the inline shell always has. `:where()` so this adds nothing to the
1810
+ shell's own specificity; the inline shell's padding rule is unchanged. */
1811
+ :where(.cr-field-shell:not(span)):has(> .cr-indicator) {
1812
+ padding-inline-end: 40px;
1813
+ }
1814
+ }
package/assets/motion.css CHANGED
@@ -11,11 +11,11 @@
11
11
  .cr-dialog[data-flow-direction=bottom]::backdrop{--flow-x:35%;--flow-y:100%;--flow-exit-x:65%;--flow-exit-y:0%}
12
12
  .cr-dialog[open]::backdrop{animation:cr-flow-in var(--cr-flow) var(--cr-ease-enter)}
13
13
  .cr-dialog[data-closing]::backdrop{animation:cr-flow-out var(--cr-departure) var(--cr-ease-exit) forwards}
14
- .cr-button,.tiny-button,.cr-dock button{transition:transform var(--cr-press) var(--cr-ease-settle),background-color var(--cr-state) var(--cr-ease-settle)}
14
+ .cr-button,.cr-dock button{transition:transform var(--cr-press) var(--cr-ease-settle),background-color var(--cr-state) var(--cr-ease-settle)}
15
15
  @media(hover:hover) and (pointer:fine){
16
- .cr-button:hover:not(:disabled),.tiny-button:hover:not(:disabled){transform:none}
16
+ .cr-button:hover:not(:disabled){transform:none}
17
17
  }
18
- .cr-button:active:not(:disabled),.tiny-button:active:not(:disabled),.cr-dock button:active:not(:disabled){transform:none}
18
+ .cr-button:active:not(:disabled),.cr-dock button:active:not(:disabled){transform:none}
19
19
  /* Immediate semantic state and focus; motion is supplemental. */
20
20
  html[data-motion=reduce] *,html[data-motion=reduce] *::before,html[data-motion=reduce] *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
21
21
  html[data-motion=reduce] button:hover,html[data-motion=reduce] button:active{transform:none!important}
package/assets/tokens.js CHANGED
@@ -1 +1 @@
1
- window.CRYSTAL_TOKENS = {"version":"2.0.0","name":"Crystal","basis":"crystal-03-balanced; Meridian Digital design system","default":{"palette":"prism","mode":"light","atmosphere":90,"translucency":35,"elevation":125,"radius":28,"density":"comfortable","reduced":false,"font":"manrope","reduceMotion":false,"motionSpeed":1},"palettes":{"prism":{"name":"Prism","description":"Electric violet, orchid light. The shared signature.","seed":"#7338EF","companion":"#EF48C6","glow":"#52BDF3","modes":{"light":{"canvas":"#f9f6fe","surface":"#ffffff","surfaceAlt":"#f2edfe","text":"#171130","muted":"#402e76","primary":"#7338EF","onPrimary":"#ffffff","primarySoft":"#e6dbfc","onPrimarySoft":"#2b195a","outline":"#624a9f","decorative":"#7338EF","companion":"#EF48C6","glow":"#52BDF3","chartSeries1":"#9D45B2","chartSeries2":"#C43444","chartSeries3":"#956800","chartSeries4":"#298800","chartSeries5":"#008287","chartSeries6":"#286CD8","chartHeat1":"#EFEEFD","chartOnHeat1":"#171130","chartHeat2":"#D6D3F9","chartOnHeat2":"#171130","chartHeat3":"#BEB7F4","chartOnHeat3":"#171130","chartHeat4":"#A79CEE","chartOnHeat4":"#171130","chartHeat5":"#9280E7","chartOnHeat5":"#171130","chartAxis":"#624a9f","chartGrid":"rgba(23, 17, 48, 0.12)"},"dark":{"canvas":"#120d26","surface":"#1d1730","surfaceAlt":"#332756","text":"#f7f3fe","muted":"#dbcbfb","primary":"#c8b1f9","onPrimary":"#16102e","primarySoft":"#331e65","onPrimarySoft":"#ebe3fd","outline":"#bfa3f8","decorative":"#7e48f0","companion":"#EF48C6","glow":"#52BDF3","chartSeries1":"#D57BEA","chartSeries2":"#FF7077","chartSeries3":"#D59800","chartSeries4":"#60BE48","chartSeries5":"#00BBC2","chartSeries6":"#6CA4FF","chartHeat1":"#1B1929","chartOnHeat1":"#f7f3fe","chartHeat2":"#292443","chartOnHeat2":"#f7f3fe","chartHeat3":"#372E60","chartOnHeat3":"#f7f3fe","chartHeat4":"#46387D","chartOnHeat4":"#f7f3fe","chartHeat5":"#56429C","chartOnHeat5":"#f7f3fe","chartAxis":"#bfa3f8","chartGrid":"rgba(247, 243, 254, 0.16)"}}},"fuchsia":{"name":"Fuchsia","description":"Confident magenta for creative products.","seed":"#C01993","companion":"#7C4DFF","glow":"#FF96DA","modes":{"light":{"canvas":"#fcf5fa","surface":"#ffffff","surfaceAlt":"#f9eaf5","text":"#210d25","muted":"#5b2356","primary":"#C01993","onPrimary":"#ffffff","primarySoft":"#f4d6ec","onPrimarySoft":"#440f3d","outline":"#813e7a","decorative":"#C01993","companion":"#7C4DFF","glow":"#FF96DA","chartSeries1":"#C33353","chartSeries2":"#9B6400","chartSeries3":"#4B8300","chartSeries4":"#008380","chartSeries5":"#0071D0","chartSeries6":"#9549BB","chartHeat1":"#FAEBF4","chartOnHeat1":"#210d25","chartHeat2":"#F2CBE1","chartOnHeat2":"#210d25","chartHeat3":"#E8ABCF","chartOnHeat3":"#210d25","chartHeat4":"#DC8ABD","chartOnHeat4":"#210d25","chartHeat5":"#CF69AB","chartOnHeat5":"#210d25","chartAxis":"#813e7a","chartGrid":"rgba(33, 13, 37, 0.12)"},"dark":{"canvas":"#190a1e","surface":"#241427","surfaceAlt":"#422144","text":"#fbf1f9","muted":"#efc3e3","primary":"#e6a5d5","onPrimary":"#1f0d23","primarySoft":"#4e1344","onPrimarySoft":"#f6dff0","outline":"#e295cd","decorative":"#c52b9c","companion":"#7C4DFF","glow":"#FF96DA","chartSeries1":"#FF6D85","chartSeries2":"#DE9200","chartSeries3":"#76BB32","chartSeries4":"#00BCB9","chartSeries5":"#5AA8FF","chartSeries6":"#CB7EF4","chartHeat1":"#26161F","chartOnHeat1":"#fbf1f9","chartHeat2":"#3C1D31","chartOnHeat2":"#fbf1f9","chartHeat3":"#542343","chartOnHeat3":"#fbf1f9","chartHeat4":"#6D2856","chartOnHeat4":"#fbf1f9","chartHeat5":"#862D6A","chartOnHeat5":"#fbf1f9","chartAxis":"#e295cd","chartGrid":"rgba(251, 241, 249, 0.16)"}}},"cobalt":{"name":"Cobalt","description":"Clear blue with a violet undertone.","seed":"#2758E8","companion":"#6D47F2","glow":"#48C6F0","modes":{"light":{"canvas":"#f5f7fe","surface":"#ffffff","surfaceAlt":"#ecf0fd","text":"#0d1530","muted":"#263974","primary":"#2758E8","onPrimary":"#ffffff","primarySoft":"#d8e1fb","onPrimarySoft":"#132458","outline":"#44579c","decorative":"#2758E8","companion":"#6D47F2","glow":"#48C6F0","chartSeries1":"#7C54CD","chartSeries2":"#BC3577","chartSeries3":"#AD5700","chartSeries4":"#707900","chartSeries5":"#00856E","chartSeries6":"#007BAC","chartHeat1":"#EAF0FE","chartOnHeat1":"#0d1530","chartHeat2":"#C7D8FC","chartOnHeat2":"#0d1530","chartHeat3":"#A5C0F8","chartOnHeat3":"#0d1530","chartHeat4":"#84A7F3","chartOnHeat4":"#0d1530","chartHeat5":"#648EED","chartOnHeat5":"#0d1530","chartAxis":"#44579c","chartGrid":"rgba(13, 21, 48, 0.12)"},"dark":{"canvas":"#0b1025","surface":"#151a30","surfaceAlt":"#252d55","text":"#f2f5fe","muted":"#c7d4f9","primary":"#abbef6","onPrimary":"#0d142d","primarySoft":"#182962","onPrimarySoft":"#e1e8fc","outline":"#9cb2f4","decorative":"#3865ea","companion":"#6D47F2","glow":"#48C6F0","chartSeries1":"#AD8DFF","chartSeries2":"#F86DAA","chartSeries3":"#F78000","chartSeries4":"#A3AF00","chartSeries5":"#00C09F","chartSeries6":"#00B2F6","chartHeat1":"#151C2A","chartOnHeat1":"#f2f5fe","chartHeat2":"#1B2846","chartOnHeat2":"#f2f5fe","chartHeat3":"#213563","chartOnHeat3":"#f2f5fe","chartHeat4":"#274282","chartOnHeat4":"#f2f5fe","chartHeat5":"#2E4FA2","chartOnHeat5":"#f2f5fe","chartAxis":"#9cb2f4","chartGrid":"rgba(242, 245, 254, 0.16)"}}},"ion":{"name":"Ion","description":"Vivid cyan and indigo for focused tools.","seed":"#007E97","companion":"#3D45E5","glow":"#36DCD1","modes":{"light":{"canvas":"#f4f9fa","surface":"#ffffff","surfaceAlt":"#e8f3f6","text":"#081a25","muted":"#184757","primary":"#007E97","onPrimary":"#ffffff","primarySoft":"#d1e8ec","onPrimarySoft":"#06303e","outline":"#34667c","decorative":"#007E97","companion":"#3D45E5","glow":"#36DCD1","chartSeries1":"#0075C4","chartSeries2":"#8F4CC0","chartSeries3":"#C2335D","chartSeries4":"#9F6200","chartSeries5":"#588000","chartSeries6":"#00837C","chartHeat1":"#E2F4F9","chartOnHeat1":"#081a25","chartHeat2":"#B2E1EF","chartOnHeat2":"#081a25","chartHeat3":"#7ECEE5","chartOnHeat3":"#081a25","chartHeat4":"#38BADA","chartOnHeat4":"#081a25","chartHeat5":"#00A3C3","chartOnHeat5":"#081a25","chartAxis":"#34667c","chartGrid":"rgba(8, 26, 37, 0.12)"},"dark":{"canvas":"#07141e","surface":"#111e27","surfaceAlt":"#1d3445","text":"#f0f7f9","muted":"#bddde4","primary":"#9ccdd6","onPrimary":"#081924","primarySoft":"#0a3646","onPrimarySoft":"#dbedf0","outline":"#8ac4cf","decorative":"#14889f","companion":"#3D45E5","glow":"#36DCD1","chartSeries1":"#4AAAFF","chartSeries2":"#C481FA","chartSeries3":"#FE6C8F","chartSeries4":"#E48E00","chartSeries5":"#83B81E","chartSeries6":"#00BDB3","chartHeat1":"#091F25","chartOnHeat1":"#f0f7f9","chartHeat2":"#002F3B","chartOnHeat2":"#f0f7f9","chartHeat3":"#003F4D","chartOnHeat3":"#f0f7f9","chartHeat4":"#004F60","chartOnHeat4":"#f0f7f9","chartHeat5":"#006073","chartOnHeat5":"#f0f7f9","chartAxis":"#8ac4cf","chartGrid":"rgba(240, 247, 249, 0.16)"}}},"amethyst":{"name":"Amethyst","description":"Rich purple with a warm luminous edge.","seed":"#8430C6","companion":"#CE49B2","glow":"#9198FF","modes":{"light":{"canvas":"#f9f6fc","surface":"#ffffff","surfaceAlt":"#f4ecfa","text":"#19102b","muted":"#462b68","primary":"#8430C6","onPrimary":"#ffffff","primarySoft":"#e9daf5","onPrimarySoft":"#30174d","outline":"#69478f","decorative":"#8430C6","companion":"#CE49B2","glow":"#9198FF","chartSeries1":"#AD3D9A","chartSeries2":"#C43B15","chartSeries3":"#867000","chartSeries4":"#00884D","chartSeries5":"#007F95","chartSeries6":"#5761D8","chartHeat1":"#F3EDFB","chartOnHeat1":"#19102b","chartHeat2":"#E0D0F4","chartOnHeat2":"#19102b","chartHeat3":"#CDB3ED","chartOnHeat3":"#19102b","chartHeat4":"#BA95E4","chartOnHeat4":"#19102b","chartHeat5":"#A878DB","chartOnHeat5":"#19102b","chartAxis":"#69478f","chartGrid":"rgba(25, 16, 43, 0.12)"},"dark":{"canvas":"#130d22","surface":"#1e162c","surfaceAlt":"#36254e","text":"#f8f3fc","muted":"#dfc9f0","primary":"#cfaee9","onPrimary":"#180f29","primarySoft":"#391b56","onPrimarySoft":"#eee2f7","outline":"#c6a0e5","decorative":"#8e41cb","companion":"#CE49B2","glow":"#9198FF","chartSeries1":"#E773D0","chartSeries2":"#FF7452","chartSeries3":"#C2A200","chartSeries4":"#00C471","chartSeries5":"#00B8D6","chartSeries6":"#8B9BFF","chartHeat1":"#1F1827","chartOnHeat1":"#f8f3fc","chartHeat2":"#302140","chartOnHeat2":"#f8f3fc","chartHeat3":"#422A5A","chartOnHeat3":"#f8f3fc","chartHeat4":"#543375","chartOnHeat4":"#f8f3fc","chartHeat5":"#683B92","chartOnHeat5":"#f8f3fc","chartAxis":"#c6a0e5","chartGrid":"rgba(248, 243, 252, 0.16)"}}},"harbor":{"name":"Harbor","description":"The original palette, mapped to shared roles.","seed":"#4669B2","companion":"#8970B5","glow":"#72C4DF","modes":{"light":{"canvas":"#faf8fe","surface":"#ffffff","surfaceAlt":"#e7e7f1","text":"#30323a","muted":"#5c5f68","primary":"#4b5e8b","onPrimary":"#f9f8ff","primarySoft":"#b8cbff","onPrimarySoft":"#2f436e","outline":"#787a84","decorative":"#4669B2","companion":"#8970B5","glow":"#72C4DF","chartSeries1":"#7955CF","chartSeries2":"#BB367A","chartSeries3":"#AE5600","chartSeries4":"#727800","chartSeries5":"#00856C","chartSeries6":"#007BAA","chartHeat1":"#E9F0FE","chartOnHeat1":"#30323a","chartHeat2":"#B3C5E7","chartOnHeat2":"#30323a","chartHeat3":"#7F9AD0","chartOnHeat3":"#30323a","chartHeat4":"#4E70B7","chartOnHeat4":"#f9f8ff","chartHeat5":"#1F459D","chartOnHeat5":"#f9f8ff","chartAxis":"#787a84","chartGrid":"rgba(48, 50, 58, 0.12)"},"dark":{"canvas":"#0d0e12","surface":"#111318","surfaceAlt":"#1d1f26","text":"#e4e5f0","muted":"#a9aab5","primary":"#b8c6ee","onPrimary":"#314060","primarySoft":"#445274","onPrimarySoft":"#dae3ff","outline":"#73757f","decorative":"#4669B2","companion":"#8970B5","glow":"#72C4DF","contentOwnSurface":"#283c60","chartSeries1":"#AA8EFF","chartSeries2":"#F76EAD","chartSeries3":"#F87E08","chartSeries4":"#A5AE00","chartSeries5":"#00C09D","chartSeries6":"#00B2F3","chartHeat1":"#141C2A","chartOnHeat1":"#e4e5f0","chartHeat2":"#1A2845","chartOnHeat2":"#e4e5f0","chartHeat3":"#203563","chartOnHeat3":"#e4e5f0","chartHeat4":"#254282","chartOnHeat4":"#e4e5f0","chartHeat5":"#2A50A2","chartOnHeat5":"#e4e5f0","chartAxis":"#73757f","chartGrid":"rgba(228, 229, 240, 0.16)"}}}},"status":{"light":{"success":{"ink":"#175D38","surface":"#E5F4EA","symbol":"✓","label":"Ready"},"attention":{"ink":"#714B00","surface":"#FFF0CD","symbol":"△","label":"Review needed"},"danger":{"ink":"#941D36","surface":"#FFE8EC","symbol":"!","label":"Action blocked"},"info":{"ink":"#334155","surface":"#E8EDF4","symbol":"i","label":"Information"}},"dark":{"success":{"ink":"#9BE2B3","surface":"#173525","symbol":"✓","label":"Ready"},"attention":{"ink":"#FFDA8A","surface":"#3D2D0E","symbol":"△","label":"Review needed"},"danger":{"ink":"#FFB2C0","surface":"#481C29","symbol":"!","label":"Action blocked"},"info":{"ink":"#D2DCEC","surface":"#263244","symbol":"i","label":"Information"}}},"material":{"acrylicBlur":40,"acrylicSaturation":125,"glassBlur":20,"glassSaturation":165,"glassOpacity":0.2,"grainOpacity":0.045,"labelVeil":0.55,"labelVeilDark":0.6,"contentOpacity":0.8,"contentFeather":1.95,"stoneFeather":1.95,"mirageColor":"#111525","mirageOpacity":0.38,"mirageBlur":28,"mirageSaturation":165,"mirageBrightness":88,"mirageFallbackOpacity":0.64,"micaInactive":{"light":"#f1f1f3","dark":"#202126"}},"motion":{"press":120,"state":213.33,"spatial":293.33,"exit":160,"easing":{"enter":"cubic-bezier(0.22, 0.65, 0.22, 1)","settle":"cubic-bezier(0.2, 0, 0.2, 1)","exit":"cubic-bezier(0.4, 0, 0.6, 1)"},"distance":{"panel":24,"floating":30,"content":0,"exit":20,"depth":50,"feather":6},"material":1000,"liquid":1400,"flow":1200,"departure":650,"maxDuration":5000,"maxTravel":50,"travelPolicy":{"ordinaryRange":[5,30],"compactGuideline":50,"extended":"Documented large compositions and measured layout may exceed 50px.","stationaryMaterials":["haze","stone"]}},"typography":{"readingSize":16,"readingLeading":24,"family":"Manrope","scale":{"display":{"ratio":2,"leading":1.1,"tracking":"-0.055em"},"title":{"ratio":1.5,"leading":1.2,"tracking":"-0.04em"},"heading":{"ratio":1.25,"leading":1.3,"tracking":"-0.03em"},"subheading":{"ratio":1.0625,"leading":1.45,"tracking":"-0.01em"},"body":{"ratio":1,"leading":1.5,"tracking":"0"},"caption":{"ratio":0.8125,"leading":1.45,"tracking":"0"}}},"component":{"action":{"radius":999,"minTarget":48,"paddingBlock":15,"paddingInline":24,"gap":9,"disabledOpacity":0.55},"scrollbar":{"width":10,"thumbMinLength":32,"inset":2},"scrollArea":{"fadeDepth":24},"layout":{"containerMax":1536,"readingMax":920,"gutterCompact":18,"gutterBase":26,"gutterWide":44,"minCellWidth":240,"sidebarWidth":280},"icon":{"size":20,"action":24},"choice":{"boxSize":26,"boxRadius":9},"switch":{"trackWidth":44,"trackHeight":28},"slider":{"trackHeight":8,"thumbSize":26},"chip":{"height":32},"overlayArrow":{"size":14,"radius":3},"overlay":{"maxWidth":480,"tooltipMaxWidth":352},"field":{"wellInset":7},"card":{"radius":28},"focus":{"coreWidth":2,"coreOffset":3},"indicator":{"size":20,"fieldSize":24,"lineWidth":3},"anchor":{"underlineOffset":4},"tree":{"indentStep":20},"haze":{"inset":8},"chart":{"seriesCount":6,"seriesLightness":{"light":0.55,"dark":0.72},"seriesChroma":0.18,"seriesHueOffset":30,"seriesContrast":3,"stroke":2,"hairline":1,"pointMin":6,"pointMax":18,"barRadius":4,"cellGap":2,"ringThickness":0.32,"fillOpacity":0.25,"linkOpacity":0.45,"intensitySteps":5,"gaugeSweep":270},"progress":{"ringStroke":8}},"spacing":{"2xs":4,"xs":8,"sm":12,"md":16,"lg":24,"xl":32,"2xl":48},"schemaNote":"Generated from core/tokens/crystal.tokens.json (W3C DTCG). Edit the DTCG source, not this file.","materials":{"plastic":{"name":"Plastic","role":"Opaque contextual foundation","inspiration":"Microsoft Mica","primitive":".cr-plastic"},"frost":{"name":"Frost","role":"Diffused intermediate surface","inspiration":"Microsoft Acrylic","primitive":".cr-frost"},"resin":{"name":"Resin","role":"Floating optical control surface","inspiration":"Apple Liquid Glass","primitive":".cr-resin"},"haze":{"name":"Haze","role":"Soft content fill","inspiration":"Crystal solid content recipe","primitive":".cr-haze"},"stone":{"name":"Stone","role":"Protected label backing","inspiration":"Crystal protected-label veil","primitive":".cr-stone"},"mirage":{"name":"Mirage","role":"Chromatic diffusion and dark modal separation","inspiration":"Modal smoke/scrim pattern","primitive":".cr-mirage and dialog::backdrop"}}};
1
+ window.CRYSTAL_TOKENS = {"version":"2.0.0","name":"Crystal","basis":"crystal-03-balanced; Meridian Digital design system","default":{"palette":"prism","mode":"light","atmosphere":90,"translucency":35,"elevation":125,"radius":28,"density":"comfortable","reduced":false,"font":"manrope","reduceMotion":false,"motionSpeed":1},"palettes":{"prism":{"name":"Prism","description":"Electric violet, orchid light. The shared signature.","seed":"#7338EF","companion":"#EF48C6","glow":"#52BDF3","modes":{"light":{"canvas":"#f9f6fe","surface":"#ffffff","surfaceAlt":"#f2edfe","text":"#171130","muted":"#402e76","primary":"#7338EF","onPrimary":"#ffffff","primarySoft":"#e6dbfc","onPrimarySoft":"#2b195a","outline":"#624a9f","decorative":"#7338EF","companion":"#EF48C6","glow":"#52BDF3","chartSeries1":"#9D45B2","chartSeries2":"#C43444","chartSeries3":"#956800","chartSeries4":"#298800","chartSeries5":"#008287","chartSeries6":"#286CD8","chartHeat1":"#EFEEFD","chartOnHeat1":"#171130","chartHeat2":"#D6D3F9","chartOnHeat2":"#171130","chartHeat3":"#BEB7F4","chartOnHeat3":"#171130","chartHeat4":"#A79CEE","chartOnHeat4":"#171130","chartHeat5":"#9280E7","chartOnHeat5":"#171130","chartAxis":"#624a9f","chartGrid":"rgba(23, 17, 48, 0.12)"},"dark":{"canvas":"#120d26","surface":"#1d1730","surfaceAlt":"#332756","text":"#f7f3fe","muted":"#dbcbfb","primary":"#c8b1f9","onPrimary":"#16102e","primarySoft":"#331e65","onPrimarySoft":"#ebe3fd","outline":"#bfa3f8","decorative":"#7e48f0","companion":"#EF48C6","glow":"#52BDF3","chartSeries1":"#D57BEA","chartSeries2":"#FF7077","chartSeries3":"#D59800","chartSeries4":"#60BE48","chartSeries5":"#00BBC2","chartSeries6":"#6CA4FF","chartHeat1":"#1B1929","chartOnHeat1":"#f7f3fe","chartHeat2":"#292443","chartOnHeat2":"#f7f3fe","chartHeat3":"#372E60","chartOnHeat3":"#f7f3fe","chartHeat4":"#46387D","chartOnHeat4":"#f7f3fe","chartHeat5":"#56429C","chartOnHeat5":"#f7f3fe","chartAxis":"#bfa3f8","chartGrid":"rgba(247, 243, 254, 0.16)"}}},"fuchsia":{"name":"Fuchsia","description":"Confident magenta for creative products.","seed":"#C01993","companion":"#7C4DFF","glow":"#FF96DA","modes":{"light":{"canvas":"#fcf5fa","surface":"#ffffff","surfaceAlt":"#f9eaf5","text":"#210d25","muted":"#5b2356","primary":"#C01993","onPrimary":"#ffffff","primarySoft":"#f4d6ec","onPrimarySoft":"#440f3d","outline":"#813e7a","decorative":"#C01993","companion":"#7C4DFF","glow":"#FF96DA","chartSeries1":"#C33353","chartSeries2":"#9B6400","chartSeries3":"#4B8300","chartSeries4":"#008380","chartSeries5":"#0071D0","chartSeries6":"#9549BB","chartHeat1":"#FAEBF4","chartOnHeat1":"#210d25","chartHeat2":"#F2CBE1","chartOnHeat2":"#210d25","chartHeat3":"#E8ABCF","chartOnHeat3":"#210d25","chartHeat4":"#DC8ABD","chartOnHeat4":"#210d25","chartHeat5":"#CF69AB","chartOnHeat5":"#210d25","chartAxis":"#813e7a","chartGrid":"rgba(33, 13, 37, 0.12)"},"dark":{"canvas":"#190a1e","surface":"#241427","surfaceAlt":"#422144","text":"#fbf1f9","muted":"#efc3e3","primary":"#e6a5d5","onPrimary":"#1f0d23","primarySoft":"#4e1344","onPrimarySoft":"#f6dff0","outline":"#e295cd","decorative":"#c52b9c","companion":"#7C4DFF","glow":"#FF96DA","chartSeries1":"#FF6D85","chartSeries2":"#DE9200","chartSeries3":"#76BB32","chartSeries4":"#00BCB9","chartSeries5":"#5AA8FF","chartSeries6":"#CB7EF4","chartHeat1":"#26161F","chartOnHeat1":"#fbf1f9","chartHeat2":"#3C1D31","chartOnHeat2":"#fbf1f9","chartHeat3":"#542343","chartOnHeat3":"#fbf1f9","chartHeat4":"#6D2856","chartOnHeat4":"#fbf1f9","chartHeat5":"#862D6A","chartOnHeat5":"#fbf1f9","chartAxis":"#e295cd","chartGrid":"rgba(251, 241, 249, 0.16)"}}},"cobalt":{"name":"Cobalt","description":"Clear blue with a violet undertone.","seed":"#2758E8","companion":"#6D47F2","glow":"#48C6F0","modes":{"light":{"canvas":"#f5f7fe","surface":"#ffffff","surfaceAlt":"#ecf0fd","text":"#0d1530","muted":"#263974","primary":"#2758E8","onPrimary":"#ffffff","primarySoft":"#d8e1fb","onPrimarySoft":"#132458","outline":"#44579c","decorative":"#2758E8","companion":"#6D47F2","glow":"#48C6F0","chartSeries1":"#7C54CD","chartSeries2":"#BC3577","chartSeries3":"#AD5700","chartSeries4":"#707900","chartSeries5":"#00856E","chartSeries6":"#007BAC","chartHeat1":"#EAF0FE","chartOnHeat1":"#0d1530","chartHeat2":"#C7D8FC","chartOnHeat2":"#0d1530","chartHeat3":"#A5C0F8","chartOnHeat3":"#0d1530","chartHeat4":"#84A7F3","chartOnHeat4":"#0d1530","chartHeat5":"#648EED","chartOnHeat5":"#0d1530","chartAxis":"#44579c","chartGrid":"rgba(13, 21, 48, 0.12)"},"dark":{"canvas":"#0b1025","surface":"#151a30","surfaceAlt":"#252d55","text":"#f2f5fe","muted":"#c7d4f9","primary":"#abbef6","onPrimary":"#0d142d","primarySoft":"#182962","onPrimarySoft":"#e1e8fc","outline":"#9cb2f4","decorative":"#3865ea","companion":"#6D47F2","glow":"#48C6F0","chartSeries1":"#AD8DFF","chartSeries2":"#F86DAA","chartSeries3":"#F78000","chartSeries4":"#A3AF00","chartSeries5":"#00C09F","chartSeries6":"#00B2F6","chartHeat1":"#151C2A","chartOnHeat1":"#f2f5fe","chartHeat2":"#1B2846","chartOnHeat2":"#f2f5fe","chartHeat3":"#213563","chartOnHeat3":"#f2f5fe","chartHeat4":"#274282","chartOnHeat4":"#f2f5fe","chartHeat5":"#2E4FA2","chartOnHeat5":"#f2f5fe","chartAxis":"#9cb2f4","chartGrid":"rgba(242, 245, 254, 0.16)"}}},"ion":{"name":"Ion","description":"Vivid cyan and indigo for focused tools.","seed":"#007E97","companion":"#3D45E5","glow":"#36DCD1","modes":{"light":{"canvas":"#f4f9fa","surface":"#ffffff","surfaceAlt":"#e8f3f6","text":"#081a25","muted":"#184757","primary":"#007E97","onPrimary":"#ffffff","primarySoft":"#d1e8ec","onPrimarySoft":"#06303e","outline":"#34667c","decorative":"#007E97","companion":"#3D45E5","glow":"#36DCD1","chartSeries1":"#0075C4","chartSeries2":"#8F4CC0","chartSeries3":"#C2335D","chartSeries4":"#9F6200","chartSeries5":"#588000","chartSeries6":"#00837C","chartHeat1":"#E2F4F9","chartOnHeat1":"#081a25","chartHeat2":"#B2E1EF","chartOnHeat2":"#081a25","chartHeat3":"#7ECEE5","chartOnHeat3":"#081a25","chartHeat4":"#38BADA","chartOnHeat4":"#081a25","chartHeat5":"#00A3C3","chartOnHeat5":"#081a25","chartAxis":"#34667c","chartGrid":"rgba(8, 26, 37, 0.12)"},"dark":{"canvas":"#07141e","surface":"#111e27","surfaceAlt":"#1d3445","text":"#f0f7f9","muted":"#bddde4","primary":"#9ccdd6","onPrimary":"#081924","primarySoft":"#0a3646","onPrimarySoft":"#dbedf0","outline":"#8ac4cf","decorative":"#14889f","companion":"#3D45E5","glow":"#36DCD1","chartSeries1":"#4AAAFF","chartSeries2":"#C481FA","chartSeries3":"#FE6C8F","chartSeries4":"#E48E00","chartSeries5":"#83B81E","chartSeries6":"#00BDB3","chartHeat1":"#091F25","chartOnHeat1":"#f0f7f9","chartHeat2":"#002F3B","chartOnHeat2":"#f0f7f9","chartHeat3":"#003F4D","chartOnHeat3":"#f0f7f9","chartHeat4":"#004F60","chartOnHeat4":"#f0f7f9","chartHeat5":"#006073","chartOnHeat5":"#f0f7f9","chartAxis":"#8ac4cf","chartGrid":"rgba(240, 247, 249, 0.16)"}}},"amethyst":{"name":"Amethyst","description":"Rich purple with a warm luminous edge.","seed":"#8430C6","companion":"#CE49B2","glow":"#9198FF","modes":{"light":{"canvas":"#f9f6fc","surface":"#ffffff","surfaceAlt":"#f4ecfa","text":"#19102b","muted":"#462b68","primary":"#8430C6","onPrimary":"#ffffff","primarySoft":"#e9daf5","onPrimarySoft":"#30174d","outline":"#69478f","decorative":"#8430C6","companion":"#CE49B2","glow":"#9198FF","chartSeries1":"#AD3D9A","chartSeries2":"#C43B15","chartSeries3":"#867000","chartSeries4":"#00884D","chartSeries5":"#007F95","chartSeries6":"#5761D8","chartHeat1":"#F3EDFB","chartOnHeat1":"#19102b","chartHeat2":"#E0D0F4","chartOnHeat2":"#19102b","chartHeat3":"#CDB3ED","chartOnHeat3":"#19102b","chartHeat4":"#BA95E4","chartOnHeat4":"#19102b","chartHeat5":"#A878DB","chartOnHeat5":"#19102b","chartAxis":"#69478f","chartGrid":"rgba(25, 16, 43, 0.12)"},"dark":{"canvas":"#130d22","surface":"#1e162c","surfaceAlt":"#36254e","text":"#f8f3fc","muted":"#dfc9f0","primary":"#cfaee9","onPrimary":"#180f29","primarySoft":"#391b56","onPrimarySoft":"#eee2f7","outline":"#c6a0e5","decorative":"#8e41cb","companion":"#CE49B2","glow":"#9198FF","chartSeries1":"#E773D0","chartSeries2":"#FF7452","chartSeries3":"#C2A200","chartSeries4":"#00C471","chartSeries5":"#00B8D6","chartSeries6":"#8B9BFF","chartHeat1":"#1F1827","chartOnHeat1":"#f8f3fc","chartHeat2":"#302140","chartOnHeat2":"#f8f3fc","chartHeat3":"#422A5A","chartOnHeat3":"#f8f3fc","chartHeat4":"#543375","chartOnHeat4":"#f8f3fc","chartHeat5":"#683B92","chartOnHeat5":"#f8f3fc","chartAxis":"#c6a0e5","chartGrid":"rgba(248, 243, 252, 0.16)"}}},"harbor":{"name":"Harbor","description":"The original palette, mapped to shared roles.","seed":"#4669B2","companion":"#8970B5","glow":"#72C4DF","modes":{"light":{"canvas":"#faf8fe","surface":"#ffffff","surfaceAlt":"#e7e7f1","text":"#30323a","muted":"#5c5f68","primary":"#4b5e8b","onPrimary":"#f9f8ff","primarySoft":"#b8cbff","onPrimarySoft":"#2f436e","outline":"#787a84","decorative":"#4669B2","companion":"#8970B5","glow":"#72C4DF","chartSeries1":"#7955CF","chartSeries2":"#BB367A","chartSeries3":"#AE5600","chartSeries4":"#727800","chartSeries5":"#00856C","chartSeries6":"#007BAA","chartHeat1":"#E9F0FE","chartOnHeat1":"#30323a","chartHeat2":"#B3C5E7","chartOnHeat2":"#30323a","chartHeat3":"#7F9AD0","chartOnHeat3":"#30323a","chartHeat4":"#4E70B7","chartOnHeat4":"#f9f8ff","chartHeat5":"#1F459D","chartOnHeat5":"#f9f8ff","chartAxis":"#787a84","chartGrid":"rgba(48, 50, 58, 0.12)"},"dark":{"canvas":"#0d0e12","surface":"#111318","surfaceAlt":"#1d1f26","text":"#e4e5f0","muted":"#a9aab5","primary":"#b8c6ee","onPrimary":"#314060","primarySoft":"#445274","onPrimarySoft":"#dae3ff","outline":"#73757f","decorative":"#4669B2","companion":"#8970B5","glow":"#72C4DF","contentOwnSurface":"#283c60","chartSeries1":"#AA8EFF","chartSeries2":"#F76EAD","chartSeries3":"#F87E08","chartSeries4":"#A5AE00","chartSeries5":"#00C09D","chartSeries6":"#00B2F3","chartHeat1":"#141C2A","chartOnHeat1":"#e4e5f0","chartHeat2":"#1A2845","chartOnHeat2":"#e4e5f0","chartHeat3":"#203563","chartOnHeat3":"#e4e5f0","chartHeat4":"#254282","chartOnHeat4":"#e4e5f0","chartHeat5":"#2A50A2","chartOnHeat5":"#e4e5f0","chartAxis":"#73757f","chartGrid":"rgba(228, 229, 240, 0.16)"}}}},"status":{"light":{"success":{"ink":"#175D38","surface":"#E5F4EA","symbol":"✓","label":"Ready"},"attention":{"ink":"#714B00","surface":"#FFF0CD","symbol":"△","label":"Review needed"},"danger":{"ink":"#941D36","surface":"#FFE8EC","symbol":"!","label":"Action blocked"},"info":{"ink":"#334155","surface":"#E8EDF4","symbol":"i","label":"Information"}},"dark":{"success":{"ink":"#9BE2B3","surface":"#173525","symbol":"✓","label":"Ready"},"attention":{"ink":"#FFDA8A","surface":"#3D2D0E","symbol":"△","label":"Review needed"},"danger":{"ink":"#FFB2C0","surface":"#481C29","symbol":"!","label":"Action blocked"},"info":{"ink":"#D2DCEC","surface":"#263244","symbol":"i","label":"Information"}}},"material":{"acrylicBlur":40,"acrylicSaturation":125,"glassBlur":20,"glassSaturation":165,"glassOpacity":0.2,"grainOpacity":0.045,"labelVeil":0.55,"labelVeilDark":0.6,"contentOpacity":0.8,"contentFeather":1.95,"stoneFeather":1.95,"mirageColor":"#111525","mirageOpacity":0.38,"mirageBlur":28,"mirageSaturation":165,"mirageBrightness":88,"mirageFallbackOpacity":0.64,"micaInactive":{"light":"#f1f1f3","dark":"#202126"}},"motion":{"press":120,"state":213.33,"spatial":293.33,"exit":160,"easing":{"enter":"cubic-bezier(0.22, 0.65, 0.22, 1)","settle":"cubic-bezier(0.2, 0, 0.2, 1)","exit":"cubic-bezier(0.4, 0, 0.6, 1)"},"distance":{"panel":24,"floating":30,"content":0,"exit":20,"depth":50,"feather":6},"material":1000,"liquid":1400,"flow":1200,"departure":650,"maxDuration":5000,"maxTravel":50,"travelPolicy":{"ordinaryRange":[5,30],"compactGuideline":50,"extended":"Documented large compositions and measured layout may exceed 50px.","stationaryMaterials":["haze","stone"]}},"typography":{"readingSize":16,"readingLeading":24,"family":"Manrope","scale":{"display":{"ratio":2,"leading":1.1,"tracking":"-0.055em"},"title":{"ratio":1.5,"leading":1.2,"tracking":"-0.04em"},"heading":{"ratio":1.25,"leading":1.3,"tracking":"-0.03em"},"subheading":{"ratio":1.0625,"leading":1.45,"tracking":"-0.01em"},"body":{"ratio":1,"leading":1.5,"tracking":"0"},"caption":{"ratio":0.8125,"leading":1.45,"tracking":"0"}}},"component":{"action":{"radius":999,"minTarget":48,"paddingBlock":15,"paddingInline":24,"gap":9,"disabledOpacity":0.55},"scrollbar":{"width":10,"thumbMinLength":32,"inset":2},"scrollArea":{"fadeDepth":24},"layout":{"containerMax":1536,"readingMax":920,"gutterCompact":18,"gutterBase":26,"gutterWide":44,"minCellWidth":240,"sidebarWidth":280},"icon":{"size":20,"action":24},"choice":{"boxSize":26,"boxRadius":9},"switch":{"trackWidth":44,"trackHeight":28},"slider":{"trackHeight":8,"thumbSize":26},"chip":{"height":32},"overlayArrow":{"size":14,"radius":3},"overlay":{"maxWidth":480,"tooltipMaxWidth":352,"tooltipRadius":18},"field":{"wellInset":7},"card":{"radius":28},"focus":{"coreWidth":2,"coreOffset":3},"indicator":{"size":20,"fieldSize":24,"lineWidth":3},"anchor":{"underlineOffset":4},"tree":{"indentStep":20},"haze":{"inset":8},"chart":{"seriesCount":6,"seriesLightness":{"light":0.55,"dark":0.72},"seriesChroma":0.18,"seriesHueOffset":30,"seriesContrast":3,"stroke":2,"hairline":1,"pointMin":6,"pointMax":18,"barRadius":4,"cellGap":2,"ringThickness":0.32,"fillOpacity":0.25,"linkOpacity":0.45,"intensitySteps":5,"gaugeSweep":270},"progress":{"ringStroke":8}},"spacing":{"2xs":4,"xs":8,"sm":12,"md":16,"lg":24,"xl":32,"2xl":48},"schemaNote":"Generated from core/tokens/crystal.tokens.json (W3C DTCG). Edit the DTCG source, not this file.","materials":{"plastic":{"name":"Plastic","role":"Opaque contextual foundation","inspiration":"Microsoft Mica","primitive":".cr-plastic"},"frost":{"name":"Frost","role":"Diffused intermediate surface","inspiration":"Microsoft Acrylic","primitive":".cr-frost"},"resin":{"name":"Resin","role":"Floating optical control surface","inspiration":"Apple Liquid Glass","primitive":".cr-resin"},"haze":{"name":"Haze","role":"Soft content fill","inspiration":"Crystal solid content recipe","primitive":".cr-haze"},"stone":{"name":"Stone","role":"Protected label backing","inspiration":"Crystal protected-label veil","primitive":".cr-stone"},"mirage":{"name":"Mirage","role":"Chromatic diffusion and dark modal separation","inspiration":"Modal smoke/scrim pattern","primitive":".cr-mirage and dialog::backdrop"}}};
@@ -83,7 +83,7 @@ this rule came from are in
83
83
 
84
84
  ## Reduced motion
85
85
 
86
- `prefers-reduced-motion: reduce` is honoured by every one of the 61 motion recipes. Each
86
+ `prefers-reduced-motion: reduce` is honoured by every one of the 59 motion recipes. Each
87
87
  recipe declares its own `reduced` behaviour rather than being globally switched off,
88
88
  because "no animation" and "no *movement*" are different requirements.
89
89
 
@@ -148,7 +148,7 @@ Every state that is communicated with colour is also communicated another way:
148
148
  | Focused | Primary ring | A 2px outline at 3px offset |
149
149
  | Error | Status red | Icon and message text |
150
150
  | Validated | Status green | A check mark |
151
- | Current page | Primary | `aria-current="page"` and weight |
151
+ | Current page | A primary dot | The dot is a mark rather than a tint, and the label takes weight; `aria-current="page"` |
152
152
 
153
153
  Status colours are independent of the six brand palettes, so none of these signals changes
154
154
  meaning when a product re-themes. See [Color](colors.html#status).
@@ -168,13 +168,22 @@ backdrops with the fixed Resin fill.
168
168
  | Failures | 0 |
169
169
  | Lowest result of any kind | 3.07:1 |
170
170
  | Lowest normal-text result | 4.67:1 |
171
- | Checks run | 2026-09-28 |
171
+ | Checks run | 2026-09-29 |
172
172
 
173
173
  Normal text is held to 4.5:1. Essential non-text — focus rings, control boundaries,
174
174
  indicator lines — uses its separate 3:1 threshold, which is the correct standard for those
175
175
  elements rather than a relaxation for them.
176
176
  <!-- /generated:contrast -->
177
177
 
178
+ **The field shell's rim is decorative, by ruling.** `.cr-field-shell` draws its edge in the
179
+ white rim, which measures 1.06:1 against the page in light mode and 1.63:1 in dark — well
180
+ under the 3:1 above. Meridian ruled on 28 September 2026 (D-24) that the field is drawn as
181
+ written: the rim is not the thing that identifies a field. What does is the Resin shell's
182
+ fill and float shadow, the Haze well the value is read on, and the visible label every
183
+ Crystal field carries. Those are not covered by the 1,788 checks above, and a product that
184
+ needs a field boundary it can defend against WCAG 1.4.11 on its own terms should measure its
185
+ own backdrops rather than rely on this table.
186
+
178
187
  What that does and does not establish is stated plainly in the
179
188
  [verification report](../verification/report.html): it is evidence about this reference
180
189
  package, not a claim of complete WCAG conformance for a product built with it.