@threadlabs/looma 0.44.2 → 0.44.3

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 (82) hide show
  1. package/components/shared/icons.js +1 -0
  2. package/components/ui-badge/ui-badge.html +7 -6
  3. package/components/ui-button/ui-button.html +47 -2
  4. package/components/ui-card/ui-card.html +6 -6
  5. package/components/ui-color-picker/ui-color-picker.html +12 -5
  6. package/components/ui-color-picker/ui-color-picker.js +20 -6
  7. package/components/ui-dialog/ui-dialog.html +5 -6
  8. package/components/ui-icon/ui-icon.html +1 -0
  9. package/components/ui-icon-button/ui-icon-button.html +59 -4
  10. package/components/ui-menu/ui-menu.html +5 -6
  11. package/components/ui-number-input/ui-number-input.html +7 -0
  12. package/components/ui-popover/ui-popover.html +5 -6
  13. package/components/ui-slider/ui-slider.html +6 -0
  14. package/components/ui-tooltip/ui-tooltip.html +8 -5
  15. package/components/ui-tree-item/ui-tree-item.html +7 -1
  16. package/dist/index.js +1 -1
  17. package/docs/README.md +8 -4
  18. package/docs/catalog.json +469 -3704
  19. package/docs/customizer-render.mjs +55 -36
  20. package/docs/customizer.js +48 -33
  21. package/docs/fonts.mjs +28 -0
  22. package/docs/theme.mjs +39 -14
  23. package/editor/icons.d.ts +1 -0
  24. package/editor/index.js +2 -1
  25. package/package.json +1 -1
  26. package/styles/ui-badge.css +11 -10
  27. package/styles/ui-button.css +47 -2
  28. package/styles/ui-card.css +4 -4
  29. package/styles/ui-color-picker.css +105 -2
  30. package/styles/ui-dialog.css +10 -12
  31. package/styles/ui-icon-button.css +59 -4
  32. package/styles/ui-menu.css +5 -6
  33. package/styles/ui-number-input.css +6 -0
  34. package/styles/ui-popover.css +5 -6
  35. package/styles/ui-slider.css +3 -0
  36. package/styles/ui-tooltip.css +8 -5
  37. package/styles/ui-tree-item.css +12 -2
  38. package/theme-system.css +28 -16
  39. package/tokens.css +7 -0
  40. package/vanilla/UiColorPicker.d.ts +1 -0
  41. package/vanilla/UiColorPicker.js +32 -28
  42. package/vanilla/UiIcon.js +1 -1
  43. package/vanilla/UiNumberInput.d.ts +1 -0
  44. package/vanilla/UiNumberInput.js +53 -43
  45. package/vanilla/UiSlider.d.ts +1 -0
  46. package/vanilla/UiSlider.js +65 -57
  47. package/vanilla/UiTreeItem.js +1 -1
  48. package/vue/UiBadge.vue +7 -9
  49. package/vue/UiButton.vue +56 -2
  50. package/vue/UiCard.vue +13 -5
  51. package/vue/UiColorPicker.d.ts +6 -0
  52. package/vue/UiColorPicker.vue +156 -6
  53. package/vue/UiDialog.vue +22 -12
  54. package/vue/UiIcon.vue +1 -0
  55. package/vue/UiIconButton.vue +62 -4
  56. package/vue/UiMenu.vue +11 -6
  57. package/vue/UiNumberInput.d.ts +6 -0
  58. package/vue/UiNumberInput.vue +47 -1
  59. package/vue/UiPopover.vue +11 -6
  60. package/vue/UiSlider.d.ts +6 -0
  61. package/vue/UiSlider.vue +37 -1
  62. package/vue/UiTooltip.vue +11 -5
  63. package/vue/UiTreeItem.vue +19 -3
  64. package/vue/chunks/UiBadge.js +1 -1
  65. package/vue/chunks/UiButton.js +1 -1
  66. package/vue/chunks/UiCard.js +2 -2
  67. package/vue/chunks/UiColorPicker.js +60 -11
  68. package/vue/chunks/UiDialog.js +1 -1
  69. package/vue/chunks/UiIcon.js +5 -1
  70. package/vue/chunks/UiIconButton.js +1 -1
  71. package/vue/chunks/UiMenu.js +1 -1
  72. package/vue/chunks/UiNumberInput.js +31 -2
  73. package/vue/chunks/UiPopover.js +1 -1
  74. package/vue/chunks/UiSlider.js +33 -2
  75. package/vue/chunks/UiTooltip.js +1 -1
  76. package/vue/chunks/UiTreeItem.js +3 -3
  77. package/vue/components.css +457 -84
  78. package/vue/editor/index.js +4 -0
  79. package/docs/examples/ui-editor-footnote-editor/examples/01-note.behavior.js +0 -9
  80. package/docs/examples/ui-editor-mention-menu/examples/00-preview.behavior.js +0 -1
  81. package/docs/examples/ui-editor-slash-menu/examples/00-preview.behavior.js +0 -81
  82. package/docs/examples/ui-editor-table-overlay/examples/00-preview.behavior.js +0 -24
@@ -272,11 +272,11 @@ svg {
272
272
  /* A solid colour fills with the ink. Its text is the page surface, mixed at 0% only so that it too is
273
273
  invalid while the hook is unset. */
274
274
 
275
- /* A translucent inverse surface picks up its filled control's tone. Deepen the tone ink
276
- toward the theme text to retain contrast against that composed surface. */
275
+ /* The inverse ink opposes the tone's on-fill ink, independently of the document scheme.
276
+ A bright pigment can use dark on-fill ink even in a light document. */
277
277
 
278
- /* A circular count has a tone-tinted surface, a separate lighter rim and readable tone ink.
279
- Dark controls retain a shaded surface and theme ink with a quieter rim. */
278
+ /* A circular count retains its translucent surface and quiet rim. Bound the pigment
279
+ in its foreground so either on-fill polarity remains readable through that surface. */
280
280
 
281
281
  /* A count can keep its containing control's contrasting ink instead of reversing it.
282
282
  The faint fill preserves text contrast; a quiet boundary separates the count from its control. */
@@ -489,6 +489,7 @@ svg {
489
489
  --_badge-color-text: color-mix(in oklab, var(--_ui-badge-color) 0%, var(--ui-surface-default));
490
490
  }
491
491
  :scope[data-ui-badge-state~="variant=inverse"]:where([data-hn-ui-badge]) {
492
+ --_badge-inverse-ink: oklch(from var(--_badge-text) clamp(0, calc((0.5 - l) * 1000), 1) 0 h);
492
493
  --_badge-color-surface: color-mix(
493
494
  in srgb,
494
495
  color-mix(in oklab, var(--_ui-badge-color) 0%, var(--ui-surface-default)) 88%,
@@ -508,7 +509,7 @@ svg {
508
509
  --ui-badge-text,
509
510
  var(
510
511
  --_badge-color-text,
511
- color-mix(in srgb, var(--_badge-surface) 85%, var(--ui-text-primary))
512
+ color-mix(in srgb, var(--_badge-surface) 85%, var(--_badge-inverse-ink))
512
513
  )
513
514
  );
514
515
  /* Paint each translucent layer once, including the border, without a bright double-painted ring. */
@@ -571,10 +572,7 @@ svg {
571
572
  --ui-badge-text,
572
573
  var(
573
574
  --_badge-color-text,
574
- light-dark(
575
- color-mix(in srgb, var(--_badge-surface) 65%, var(--ui-text-primary)),
576
- var(--ui-text-primary)
577
- )
575
+ color-mix(in srgb, var(--_badge-surface) 35%, var(--_badge-inverse-ink))
578
576
  )
579
577
  );
580
578
  box-shadow: 0 1px 1px light-dark(rgb(0 0 0 / 0.08), rgb(0 0 0 / 0.12));
@@ -1019,6 +1017,8 @@ svg,.arc {
1019
1017
  --_tone-hover-border: var(--ui-accent-hover-border, var(--ui-accent-hover));
1020
1018
  --_tone-active-border: var(--ui-accent-active-border, var(--ui-accent-active));
1021
1019
  --_tone-highlight: var(--ui-accent-highlight, none);
1020
+ --_tone-hover-highlight: var(--ui-accent-hover-highlight, none);
1021
+ --_tone-outline-border: var(--ui-accent-outline-border, var(--ui-accent-subtle-text));
1022
1022
  --_tone-glow: var(--ui-accent-glow, 0 0 transparent);
1023
1023
  --_hue: var(--ui-accent);
1024
1024
  --_hue-hover: var(--ui-accent-hover);
@@ -1183,11 +1183,28 @@ svg,.arc {
1183
1183
  align-items: center !important;
1184
1184
  align-self: center;
1185
1185
  }
1186
+ :scope[data-appearance="outline"]:not([data-tone="neutral"]):where([data-hn-ui-button]) {
1187
+ --_outline-wash: oklch(from var(--_tone-text) l c h / calc(4% * var(--ui-tonal-opacity, 1)));
1188
+ border-color: var(--ui-button-border, var(--_tone-outline-border, var(--_tone-text)));
1189
+ background-color: var(--ui-button-surface, transparent);
1190
+ box-shadow: var(--ui-button-shadow, var(--ui-neutral-shadow));
1191
+ background-image:
1192
+ linear-gradient(var(--_outline-wash), var(--_outline-wash)),
1193
+ var(--ui-surface-highlight, linear-gradient(transparent, transparent));
1194
+ }
1195
+ :scope[data-appearance="outline"]:not([data-tone="neutral"]):hover:not(:disabled, [aria-disabled="true"]):where([data-hn-ui-button]) {
1196
+ --_outline-wash: oklch(from var(--_tone-text) l c h / calc(9% * var(--ui-tonal-opacity, 1)));
1197
+ background-color: var(--ui-button-hover-surface, transparent);
1198
+ border-color: var(
1199
+ --ui-button-hover-border,
1200
+ color-mix(in srgb, var(--_tone-text) 35%, var(--_tone-outline-border))
1201
+ );
1202
+ }
1186
1203
  :scope:hover:not(:disabled, [aria-disabled="true"]):where([data-hn-ui-button]) {
1187
1204
  border-color: var(--ui-button-hover-border, var(--_tone-text));
1188
1205
  background-color: var(
1189
1206
  --ui-button-hover-surface,
1190
- oklch(from var(--_tone) l c h / calc(12% * var(--ui-tonal-opacity, 1)))
1207
+ oklch(from var(--_tone-text) l c h / calc(12% * var(--ui-tonal-opacity, 1)))
1191
1208
  );
1192
1209
  }
1193
1210
  :scope[data-appearance="card"][data-tone="neutral"]:where([data-hn-ui-button]) {
@@ -1201,7 +1218,7 @@ svg,.arc {
1201
1218
  border-color: var(--ui-selection-border);
1202
1219
  color: var(--ui-selection-text);
1203
1220
  }
1204
- :scope:active:not(:disabled, [aria-disabled="true"]):where([data-hn-ui-button]) {
1221
+ :scope:active:not(:disabled, [aria-disabled="true"]):where([data-hn-ui-button]),:scope[data-appearance="outline"]:active:not(:disabled, [aria-disabled="true"]):where([data-hn-ui-button]) {
1205
1222
  scale: var(--ui-press-scale, 1);
1206
1223
  background-color: var(
1207
1224
  --ui-button-active-surface,
@@ -1221,6 +1238,7 @@ svg,.arc {
1221
1238
  }
1222
1239
  :scope[data-appearance="solid"]:hover:not(:disabled, [aria-disabled="true"]):where([data-hn-ui-button]),:scope[data-appearance="danger"]:hover:not(:disabled, [aria-disabled="true"]):where([data-hn-ui-button]) {
1223
1240
  background-color: var(--_tone-hover);
1241
+ background-image: var(--_tone-hover-highlight);
1224
1242
  border-color: var(--ui-button-hover-border, var(--_tone-hover-border));
1225
1243
  }
1226
1244
  :is(:scope[data-appearance="solid"], :scope[data-appearance="danger"]):active:not(:disabled, [aria-disabled="true"]):where([data-hn-ui-button]) {
@@ -1237,6 +1255,11 @@ svg,.arc {
1237
1255
  var(--ui-accent-secondary-active)
1238
1256
  );
1239
1257
  --_tone-highlight: var(--ui-accent-secondary-highlight, none);
1258
+ --_tone-hover-highlight: var(--ui-accent-secondary-hover-highlight, none);
1259
+ --_tone-outline-border: var(
1260
+ --ui-accent-secondary-outline-border,
1261
+ var(--ui-accent-secondary-subtle-text)
1262
+ );
1240
1263
  --_tone-glow: var(--ui-accent-secondary-glow, 0 0 transparent);
1241
1264
  --_hue: var(--ui-accent-secondary);
1242
1265
  --_hue-hover: var(--ui-accent-secondary-hover);
@@ -1252,6 +1275,11 @@ svg,.arc {
1252
1275
  var(--ui-accent-tertiary-active)
1253
1276
  );
1254
1277
  --_tone-highlight: var(--ui-accent-tertiary-highlight, none);
1278
+ --_tone-hover-highlight: var(--ui-accent-tertiary-hover-highlight, none);
1279
+ --_tone-outline-border: var(
1280
+ --ui-accent-tertiary-outline-border,
1281
+ var(--ui-accent-tertiary-subtle-text)
1282
+ );
1255
1283
  --_tone-glow: var(--ui-accent-tertiary-glow, 0 0 transparent);
1256
1284
  --_hue: var(--ui-accent-tertiary);
1257
1285
  --_hue-hover: var(--ui-accent-tertiary-hover);
@@ -1264,6 +1292,8 @@ svg,.arc {
1264
1292
  --_tone-hover-border: var(--ui-control-border-hover, var(--ui-neutral-hover));
1265
1293
  --_tone-active-border: var(--ui-control-border-hover, var(--ui-neutral-active));
1266
1294
  --_tone-highlight: var(--ui-neutral-highlight, none);
1295
+ --_tone-hover-highlight: var(--ui-neutral-highlight, var(--_tone-highlight));
1296
+ --_tone-outline-border: var(--ui-control-border);
1267
1297
  --_tone-glow: var(--ui-neutral-glow, 0 0 transparent);
1268
1298
  --_hue: var(--ui-text);
1269
1299
  --_hue-hover: var(--ui-text);
@@ -1285,8 +1315,13 @@ svg,.arc {
1285
1315
  :scope[data-tone="neutral"][data-appearance="outline"]:hover:not(:disabled, [aria-disabled="true"]):where([data-hn-ui-button]) {
1286
1316
  border-color: var(--ui-button-hover-border, var(--ui-control-border-hover));
1287
1317
  background-color: var(--ui-button-hover-surface, var(--ui-neutral-hover));
1318
+ --_outline-wash: oklch(from var(--ui-text) l c h / 5%);
1319
+ background-image:
1320
+ linear-gradient(var(--_outline-wash), var(--_outline-wash)),
1321
+ var(--ui-surface-highlight, linear-gradient(transparent, transparent));
1288
1322
  }
1289
1323
  :scope[data-tone="neutral"][data-appearance="outline"]:active:not(:disabled, [aria-disabled="true"]):where([data-hn-ui-button]) {
1324
+ background-image: none;
1290
1325
  border-color: var(--ui-button-hover-border, var(--ui-control-border-hover));
1291
1326
  background-color: var(--ui-button-active-surface, var(--ui-neutral-active));
1292
1327
  }
@@ -1303,6 +1338,8 @@ svg,.arc {
1303
1338
  --_tone-hover-border: var(--ui-danger-hover-border, var(--ui-danger-hover));
1304
1339
  --_tone-active-border: var(--ui-danger-active-border, var(--ui-danger-active));
1305
1340
  --_tone-highlight: var(--ui-danger-highlight, none);
1341
+ --_tone-hover-highlight: var(--ui-danger-hover-highlight, none);
1342
+ --_tone-outline-border: var(--ui-danger-outline-border, var(--ui-danger-subtle-text));
1306
1343
  --_tone-glow: var(--ui-danger-glow, 0 0 transparent);
1307
1344
  --_hue: var(--ui-danger);
1308
1345
  --_hue-hover: var(--ui-danger-hover);
@@ -1315,6 +1352,8 @@ svg,.arc {
1315
1352
  --_tone-hover-border: var(--ui-success-hover-border, var(--ui-success-hover));
1316
1353
  --_tone-active-border: var(--ui-success-active-border, var(--ui-success-active));
1317
1354
  --_tone-highlight: var(--ui-success-highlight, none);
1355
+ --_tone-hover-highlight: var(--ui-success-hover-highlight, none);
1356
+ --_tone-outline-border: var(--ui-success-outline-border, var(--ui-success-subtle-text));
1318
1357
  --_tone-glow: var(--ui-success-glow, 0 0 transparent);
1319
1358
  --_hue: var(--ui-success);
1320
1359
  --_hue-hover: var(--ui-success-hover);
@@ -1327,6 +1366,8 @@ svg,.arc {
1327
1366
  --_tone-hover-border: var(--ui-warning-hover-border, var(--ui-warning-hover));
1328
1367
  --_tone-active-border: var(--ui-warning-active-border, var(--ui-warning-active));
1329
1368
  --_tone-highlight: var(--ui-warning-highlight, none);
1369
+ --_tone-hover-highlight: var(--ui-warning-hover-highlight, none);
1370
+ --_tone-outline-border: var(--ui-warning-outline-border, var(--ui-warning-subtle-text));
1330
1371
  --_tone-glow: var(--ui-warning-glow, 0 0 transparent);
1331
1372
  --_hue: var(--ui-warning);
1332
1373
  --_hue-hover: var(--ui-warning-hover);
@@ -1339,6 +1380,8 @@ svg,.arc {
1339
1380
  --_tone-hover-border: var(--ui-info-hover-border, var(--ui-info-hover));
1340
1381
  --_tone-active-border: var(--ui-info-active-border, var(--ui-info-active));
1341
1382
  --_tone-highlight: var(--ui-info-highlight, none);
1383
+ --_tone-hover-highlight: var(--ui-info-hover-highlight, none);
1384
+ --_tone-outline-border: var(--ui-info-outline-border, var(--ui-info-subtle-text));
1342
1385
  --_tone-glow: var(--ui-info-glow, 0 0 transparent);
1343
1386
  --_hue: var(--ui-info);
1344
1387
  --_hue-hover: var(--ui-info-hover);
@@ -1403,6 +1446,11 @@ svg,.arc {
1403
1446
  var(--ui-button-shadow, var(--ui-action-shadow, var(--_ui-action-shadow))),
1404
1447
  var(--ui-focus-halo);
1405
1448
  }
1449
+ :scope[data-appearance="outline"]:focus-visible:where([data-hn-ui-button]) {
1450
+ box-shadow:
1451
+ var(--ui-button-shadow, var(--ui-neutral-shadow)),
1452
+ var(--ui-focus-halo);
1453
+ }
1406
1454
  :scope[data-appearance="solid"]:focus-visible:where([data-hn-ui-button]) {
1407
1455
  box-shadow:
1408
1456
  var(--ui-button-solid-shadow, var(--ui-action-shadow, var(--_ui-action-shadow))),
@@ -1674,19 +1722,27 @@ html[data-ui-input-modality="touch"]
1674
1722
  box-shadow: var(--ui-shadow-lg);
1675
1723
  }
1676
1724
  :scope[data-ui-card-state~="treatment=expressive"]:where([data-hn-ui-card]) {
1725
+ --_ui-card-material-content: color-mix(
1726
+ in srgb,
1727
+ var(--_ui-card-surface) calc(var(--_ui-material-content-alpha, 1) * 100%),
1728
+ transparent
1729
+ );
1677
1730
  --_ui-panel-glass: clamp(0, var(--ui-glassiness, 0), 1);
1678
1731
  --_ui-panel-separation: clamp(0, var(--ui-surface-separation, 0), 1);
1679
1732
  --_ui-panel-rim: calc(var(--_ui-panel-separation) * 8px);
1680
1733
  border-width: calc(var(--ui-border-width) + var(--_ui-panel-rim));
1681
1734
  border-color: transparent;
1682
1735
  background:
1683
- var(--ui-surface-highlight, linear-gradient(transparent, transparent)) padding-box,
1684
- linear-gradient(var(--_ui-card-surface), var(--_ui-card-surface)) padding-box,
1736
+ var(
1737
+ --ui-material-highlight,
1738
+ var(--ui-surface-highlight, linear-gradient(transparent, transparent))
1739
+ ) padding-box,
1740
+ linear-gradient(var(--_ui-card-material-content), var(--_ui-card-material-content))
1741
+ padding-box,
1685
1742
  linear-gradient(
1686
1743
  var(--ui-material-glass, var(--ui-surface-raised)),
1687
1744
  var(--ui-material-glass, var(--ui-surface-raised))
1688
- ) border-box,
1689
- var(--_ui-card-surface) padding-box;
1745
+ ) border-box;
1690
1746
  box-shadow:
1691
1747
  var(--_ui-card-elevation),
1692
1748
  var(--ui-material-glow, 0 0 transparent),
@@ -2263,7 +2319,7 @@ button {
2263
2319
  --_inset: min(calc(var(--ui-space-1) * 1.5), calc(var(--_size) / 5));
2264
2320
  box-sizing: border-box !important;
2265
2321
  display: inline-grid !important;
2266
- place-items: center;
2322
+ place-items: center !important;
2267
2323
  margin: 0 !important;
2268
2324
  padding: var(--_inset) !important;
2269
2325
  inline-size: max(
@@ -2300,7 +2356,9 @@ button:disabled {
2300
2356
  cursor: not-allowed;
2301
2357
  }
2302
2358
  .colour {
2303
- display: block !important;
2359
+ display: grid !important;
2360
+ place-items: center !important;
2361
+ color: var(--ui-text-secondary);
2304
2362
  inline-size: 100%;
2305
2363
  block-size: 100%;
2306
2364
  border-radius: max(0px, calc(var(--_radius) - var(--_inset) - var(--ui-border-width)));
@@ -2345,6 +2403,117 @@ input[type="range"] {
2345
2403
  accent-color: var(--ui-accent-solid);
2346
2404
  }
2347
2405
  }
2406
+ @scope ([data-slotted~="ui-color-picker"]:not([data-hn])) to ([data-hn], [data-slotted]) {
2407
+ :where(.ui-color-picker):where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-color-picker"]))) {
2408
+ display: inline-flex !important;
2409
+ flex: 0 0 auto;
2410
+ margin: 0 !important;
2411
+ padding: 0 !important;
2412
+ --_size: var(--ui-control-size-md);
2413
+ --_font: 1em;
2414
+ --_padding: var(--ui-control-inset-block-md, var(--ui-space-2));
2415
+ }
2416
+ :where(.ui-color-picker)[data-ui-color-picker-state~="size=sm"]:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-color-picker"]))) {
2417
+ --_size: var(--ui-control-size-sm);
2418
+ --_font: var(--ui-font-size-sm);
2419
+ --_padding: var(--ui-control-inset-block-sm, var(--ui-space-1));
2420
+ }
2421
+ :where(.ui-color-picker)[data-ui-color-picker-state~="size=lg"]:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-color-picker"]))) {
2422
+ --_size: var(--ui-control-size-lg);
2423
+ --_font: var(--ui-font-size-md);
2424
+ --_padding: var(--ui-control-inset-block-lg, var(--ui-space-3));
2425
+ }
2426
+ button:where(:scope, :scope *) {
2427
+ --_radius: min(var(--ui-field-radius, var(--ui-radius-md)), calc(var(--_size) / 4));
2428
+ --_inset: min(calc(var(--ui-space-1) * 1.5), calc(var(--_size) / 5));
2429
+ box-sizing: border-box !important;
2430
+ display: inline-grid !important;
2431
+ place-items: center !important;
2432
+ margin: 0 !important;
2433
+ padding: var(--_inset) !important;
2434
+ inline-size: max(
2435
+ var(--_size),
2436
+ calc(
2437
+ var(--_font) * var(--ui-line-height-tight) + var(--_padding) * 2 +
2438
+ var(--ui-border-width) * 2
2439
+ )
2440
+ );
2441
+ aspect-ratio: 1;
2442
+ flex: 0 0 auto;
2443
+ border: var(--ui-border-width) solid var(--ui-control-border, var(--ui-border-strong));
2444
+ border-radius: var(--_radius);
2445
+ background: var(--ui-control-surface, var(--ui-surface-elevated));
2446
+ box-shadow: var(--ui-control-inset);
2447
+ font: inherit;
2448
+ cursor: pointer;
2449
+ transition:
2450
+ background-color var(--ui-motion-fast) var(--ui-motion-ease),
2451
+ scale var(--ui-motion-press, var(--ui-motion-fast)) var(--ui-motion-ease);
2452
+ }
2453
+ button:hover:not(:disabled):where(:scope, :scope *) {
2454
+ background: var(--ui-surface-subtle);
2455
+ }
2456
+ button:active:not(:disabled):where(:scope, :scope *) {
2457
+ scale: var(--ui-press-scale, 0.96);
2458
+ }
2459
+ button:focus-visible:where(:scope, :scope *) {
2460
+ outline: var(--ui-focus-width) solid var(--ui-focus-ring, var(--ui-accent-solid));
2461
+ outline-offset: var(--ui-focus-width);
2462
+ }
2463
+ button:disabled:where(:scope, :scope *) {
2464
+ opacity: 0.5;
2465
+ cursor: not-allowed;
2466
+ }
2467
+ .colour:where(:scope, :scope *) {
2468
+ display: grid !important;
2469
+ place-items: center !important;
2470
+ color: var(--ui-text-secondary);
2471
+ inline-size: 100%;
2472
+ block-size: 100%;
2473
+ border-radius: max(0px, calc(var(--_radius) - var(--_inset) - var(--ui-border-width)));
2474
+ box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.12);
2475
+ }
2476
+ :where(.ui-color-picker)[data-ui-color-picker-state~="round"]
2477
+ button:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-color-picker"]))) {
2478
+ border-radius: 50%;
2479
+ }
2480
+ :where(.ui-color-picker)[data-ui-color-picker-state~="round"]
2481
+ .colour:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-color-picker"]))) {
2482
+ border-radius: 50%;
2483
+ }
2484
+ .editor:where(:scope, :scope *) {
2485
+ box-sizing: border-box !important;
2486
+ display: grid !important;
2487
+ gap: var(--ui-space-3) !important;
2488
+ padding: var(--ui-space-4) !important;
2489
+ margin: 0 !important;
2490
+ inline-size: min(18rem, calc(100vw - 1rem));
2491
+ border: var(--ui-border-width) solid var(--ui-border-strong);
2492
+ border-radius: var(--ui-radius-md);
2493
+ background: var(--ui-surface-elevated);
2494
+ color: var(--ui-text-primary);
2495
+ box-shadow: var(--ui-shadow-lg);
2496
+ font: inherit;
2497
+ }
2498
+ .editor[hidden]:where(:scope, :scope *) {
2499
+ display: none !important;
2500
+ }
2501
+ .channel:where(:scope, :scope *) {
2502
+ display: grid !important;
2503
+ grid-template-columns: 3.5em 1fr;
2504
+ align-items: center !important;
2505
+ gap: var(--ui-space-2) !important;
2506
+ padding: 0 !important;
2507
+ margin: 0 !important;
2508
+ }
2509
+ input[type="range"]:where(:scope, :scope *) {
2510
+ inline-size: 100%;
2511
+ min-inline-size: 0;
2512
+ margin: 0 !important;
2513
+ padding: 0 !important;
2514
+ accent-color: var(--ui-accent-solid);
2515
+ }
2516
+ }
2348
2517
 
2349
2518
  /* The label and the shortcut sit side by side, a gap apart, with the label wrapping on its own. */
2350
2519
 
@@ -2422,7 +2591,10 @@ input[type="range"] {
2422
2591
  );
2423
2592
  --_ui-material-content-color: var(
2424
2593
  --_ui-tooltip-surface,
2425
- var(--ui-material-content, var(--ui-overlay-surface, var(--ui-surface-elevated)))
2594
+ var(
2595
+ --_ui-material-underpaint,
2596
+ var(--ui-material-content, var(--ui-overlay-surface, var(--ui-surface-elevated)))
2597
+ )
2426
2598
  );
2427
2599
  --_ui-material-rim-color: color-mix(
2428
2600
  in srgb,
@@ -2430,10 +2602,13 @@ input[type="range"] {
2430
2602
  transparent
2431
2603
  );
2432
2604
  background:
2605
+ var(
2606
+ --ui-material-highlight,
2607
+ var(--ui-surface-highlight, linear-gradient(transparent, transparent))
2608
+ ) padding-box,
2433
2609
  linear-gradient(var(--_ui-material-content-color), var(--_ui-material-content-color))
2434
2610
  padding-box,
2435
- linear-gradient(var(--_ui-material-rim-color), var(--_ui-material-rim-color)) border-box,
2436
- var(--_ui-material-content-color) padding-box;
2611
+ linear-gradient(var(--_ui-material-rim-color), var(--_ui-material-rim-color)) border-box;
2437
2612
  border-width: calc(var(--ui-border-width) + var(--_ui-material-rim));
2438
2613
  border-color: var(
2439
2614
  --_ui-tooltip-border,
@@ -2468,12 +2643,12 @@ input[type="range"] {
2468
2643
  }
2469
2644
  @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
2470
2645
  .surface:where([data-hn-ui-tooltip]) {
2471
- background: var(--_ui-material-content-color);
2646
+ background: oklch(from var(--_ui-material-content-color) l c h / 1);
2472
2647
  }
2473
2648
  }
2474
2649
  @media (prefers-reduced-transparency: reduce) {
2475
2650
  .surface:where([data-hn-ui-tooltip]) {
2476
- background: var(--_ui-material-content-color);
2651
+ background: oklch(from var(--_ui-material-content-color) l c h / 1);
2477
2652
  -webkit-backdrop-filter: none;
2478
2653
  backdrop-filter: none;
2479
2654
  }
@@ -3485,6 +3660,8 @@ input:disabled:where(:scope, :scope *):where([data-hn-ui-combobox]),button:disab
3485
3660
  --_solid-active-border: var(--ui-accent-active-border, var(--ui-accent-active));
3486
3661
  --_solid-active-surface: var(--ui-accent-active, var(--ui-accent-hover));
3487
3662
  --_tone-highlight: var(--ui-accent-highlight, none);
3663
+ --_tone-hover-highlight: var(--ui-accent-hover-highlight, none);
3664
+ --_tone-outline-border: var(--ui-accent-outline-border, var(--ui-accent-subtle-text));
3488
3665
  --_tone-glow: var(--ui-accent-glow, 0 0 transparent);
3489
3666
  --_ui-action-start: 1px;
3490
3667
  --_ui-action-edge: var(
@@ -3523,6 +3700,11 @@ input:disabled:where(:scope, :scope *):where([data-hn-ui-combobox]),button:disab
3523
3700
  );
3524
3701
  --_solid-active-surface: var(--ui-accent-secondary-active, var(--ui-accent-secondary-hover));
3525
3702
  --_tone-highlight: var(--ui-accent-secondary-highlight, none);
3703
+ --_tone-hover-highlight: var(--ui-accent-secondary-hover-highlight, none);
3704
+ --_tone-outline-border: var(
3705
+ --ui-accent-secondary-outline-border,
3706
+ var(--ui-accent-secondary-subtle-text)
3707
+ );
3526
3708
  --_tone-glow: var(--ui-accent-secondary-glow, 0 0 transparent);
3527
3709
  --_icon-button-border: var(--ui-accent-secondary-subtle-text);
3528
3710
  --_icon-button-hover-border: var(--ui-accent-secondary-subtle-text);
@@ -3546,6 +3728,11 @@ input:disabled:where(:scope, :scope *):where([data-hn-ui-combobox]),button:disab
3546
3728
  );
3547
3729
  --_solid-active-surface: var(--ui-accent-tertiary-active, var(--ui-accent-tertiary-hover));
3548
3730
  --_tone-highlight: var(--ui-accent-tertiary-highlight, none);
3731
+ --_tone-hover-highlight: var(--ui-accent-tertiary-hover-highlight, none);
3732
+ --_tone-outline-border: var(
3733
+ --ui-accent-tertiary-outline-border,
3734
+ var(--ui-accent-tertiary-subtle-text)
3735
+ );
3549
3736
  --_tone-glow: var(--ui-accent-tertiary-glow, 0 0 transparent);
3550
3737
  --_icon-button-border: var(--ui-accent-tertiary-subtle-text);
3551
3738
  --_icon-button-hover-border: var(--ui-accent-tertiary-subtle-text);
@@ -3566,6 +3753,8 @@ input:disabled:where(:scope, :scope *):where([data-hn-ui-combobox]),button:disab
3566
3753
  --_solid-active-border: var(--ui-accent-active-border, var(--ui-accent-active));
3567
3754
  --_solid-active-surface: var(--ui-accent-active, var(--ui-accent-hover));
3568
3755
  --_tone-highlight: var(--ui-accent-highlight, none);
3756
+ --_tone-hover-highlight: var(--ui-accent-hover-highlight, none);
3757
+ --_tone-outline-border: var(--ui-accent-outline-border, var(--ui-accent-subtle-text));
3569
3758
  --_tone-glow: var(--ui-accent-glow, 0 0 transparent);
3570
3759
  --_icon-button-border: var(--ui-accent-subtle-text);
3571
3760
  --_icon-button-hover-border: var(--ui-accent-subtle-text);
@@ -3583,6 +3772,8 @@ input:disabled:where(:scope, :scope *):where([data-hn-ui-combobox]),button:disab
3583
3772
  --_solid-active-border: var(--ui-danger-active-border, var(--ui-danger-active));
3584
3773
  --_solid-active-surface: var(--ui-danger-active, var(--ui-danger-hover));
3585
3774
  --_tone-highlight: var(--ui-danger-highlight, none);
3775
+ --_tone-hover-highlight: var(--ui-danger-hover-highlight, none);
3776
+ --_tone-outline-border: var(--ui-danger-outline-border, var(--ui-danger-subtle-text));
3586
3777
  --_tone-glow: var(--ui-danger-glow, 0 0 transparent);
3587
3778
  --_icon-button-border: var(--ui-danger-subtle-text);
3588
3779
  --_icon-button-hover-border: var(--ui-danger-subtle-text);
@@ -3603,6 +3794,8 @@ input:disabled:where(:scope, :scope *):where([data-hn-ui-combobox]),button:disab
3603
3794
  --_solid-active-border: var(--ui-success-active-border, var(--ui-success-active));
3604
3795
  --_solid-active-surface: var(--ui-success-active, var(--ui-success-hover));
3605
3796
  --_tone-highlight: var(--ui-success-highlight, none);
3797
+ --_tone-hover-highlight: var(--ui-success-hover-highlight, none);
3798
+ --_tone-outline-border: var(--ui-success-outline-border, var(--ui-success-subtle-text));
3606
3799
  --_tone-glow: var(--ui-success-glow, 0 0 transparent);
3607
3800
  --_icon-button-border: var(--ui-success-subtle-text);
3608
3801
  --_icon-button-hover-border: var(--ui-success-subtle-text);
@@ -3623,6 +3816,8 @@ input:disabled:where(:scope, :scope *):where([data-hn-ui-combobox]),button:disab
3623
3816
  --_solid-active-border: var(--ui-warning-active-border, var(--ui-warning-active));
3624
3817
  --_solid-active-surface: var(--ui-warning-active, var(--ui-warning-hover));
3625
3818
  --_tone-highlight: var(--ui-warning-highlight, none);
3819
+ --_tone-hover-highlight: var(--ui-warning-hover-highlight, none);
3820
+ --_tone-outline-border: var(--ui-warning-outline-border, var(--ui-warning-subtle-text));
3626
3821
  --_tone-glow: var(--ui-warning-glow, 0 0 transparent);
3627
3822
  --_icon-button-border: var(--ui-warning-subtle-text);
3628
3823
  --_icon-button-hover-border: var(--ui-warning-subtle-text);
@@ -3643,6 +3838,8 @@ input:disabled:where(:scope, :scope *):where([data-hn-ui-combobox]),button:disab
3643
3838
  --_solid-active-border: var(--ui-info-active-border, var(--ui-info-active));
3644
3839
  --_solid-active-surface: var(--ui-info-active, var(--ui-info-hover));
3645
3840
  --_tone-highlight: var(--ui-info-highlight, none);
3841
+ --_tone-hover-highlight: var(--ui-info-hover-highlight, none);
3842
+ --_tone-outline-border: var(--ui-info-outline-border, var(--ui-info-subtle-text));
3646
3843
  --_tone-glow: var(--ui-info-glow, 0 0 transparent);
3647
3844
  --_icon-button-border: var(--ui-info-subtle-text);
3648
3845
  --_icon-button-hover-border: var(--ui-info-subtle-text);
@@ -3663,6 +3860,8 @@ input:disabled:where(:scope, :scope *):where([data-hn-ui-combobox]),button:disab
3663
3860
  --_solid-active-border: var(--ui-control-border-hover, var(--ui-neutral-active));
3664
3861
  --_solid-active-surface: var(--ui-neutral-active, var(--ui-neutral-hover));
3665
3862
  --_tone-highlight: var(--ui-neutral-highlight, none);
3863
+ --_tone-hover-highlight: var(--ui-neutral-highlight, var(--_tone-highlight));
3864
+ --_tone-outline-border: var(--ui-control-border);
3666
3865
  --_tone-glow: var(--ui-neutral-glow, 0 0 transparent);
3667
3866
  --_icon-button-outline-surface: transparent;
3668
3867
  --_icon-button-border: var(--ui-control-border);
@@ -3815,9 +4014,7 @@ html[data-ui-input-modality="touch"] :scope:where([data-hn-ui-icon-button])::aft
3815
4014
  );
3816
4015
  background-image: var(--ui-surface-highlight, none);
3817
4016
  color: var(--ui-icon-button-outline-text, var(--_icon-button-text, var(--ui-text-primary)));
3818
- box-shadow:
3819
- var(--ui-action-shadow, var(--_ui-action-shadow)),
3820
- var(--_tone-glow);
4017
+ box-shadow: var(--ui-neutral-shadow);
3821
4018
  }
3822
4019
  :scope[data-appearance="solid"]:where([data-hn-ui-icon-button]) {
3823
4020
  border-color: var(--ui-icon-button-border, var(--_solid-border));
@@ -3849,6 +4046,35 @@ html[data-ui-input-modality="touch"] :scope:where([data-hn-ui-icon-button])::aft
3849
4046
  );
3850
4047
  color: var(--ui-icon-button-hover-text, var(--_icon-button-text, var(--ui-text-primary)));
3851
4048
  }
4049
+ :scope[data-appearance="outline"]:not([data-tone="neutral"]):where([data-hn-ui-icon-button]) {
4050
+ --_outline-wash: oklch(
4051
+ from var(--ui-icon-button-text, var(--_icon-button-text, var(--ui-accent-subtle-text)))
4052
+ l c h / calc(4% * var(--ui-tonal-opacity, 1))
4053
+ );
4054
+ border-color: var(--ui-icon-button-border, var(--_tone-outline-border));
4055
+ background-color: var(
4056
+ --ui-icon-button-outline-surface,
4057
+ var(--_icon-button-outline-surface, transparent)
4058
+ );
4059
+ background-image:
4060
+ linear-gradient(var(--_outline-wash), var(--_outline-wash)),
4061
+ var(--ui-surface-highlight, linear-gradient(transparent, transparent));
4062
+ }
4063
+ :scope[data-appearance="outline"]:not([data-tone="neutral"]):hover:enabled:not([aria-disabled="true"]):where([data-hn-ui-icon-button]) {
4064
+ --_outline-wash: oklch(
4065
+ from var(--ui-icon-button-text, var(--_icon-button-text, var(--ui-accent-subtle-text)))
4066
+ l c h / calc(9% * var(--ui-tonal-opacity, 1))
4067
+ );
4068
+ background-color: var(--ui-icon-button-hover-surface, transparent);
4069
+ border-color: var(
4070
+ --ui-icon-button-hover-border,
4071
+ color-mix(
4072
+ in srgb,
4073
+ var(--_icon-button-text, var(--ui-accent-subtle-text)) 35%,
4074
+ var(--_tone-outline-border)
4075
+ )
4076
+ );
4077
+ }
3852
4078
  :scope[data-appearance="outline"]:hover:enabled:not([aria-disabled="true"]):where([data-hn-ui-icon-button]) {
3853
4079
  border-color: var(
3854
4080
  --ui-icon-button-hover-border,
@@ -3857,6 +4083,10 @@ html[data-ui-input-modality="touch"] :scope:where([data-hn-ui-icon-button])::aft
3857
4083
  }
3858
4084
  :scope[data-tone="neutral"][data-appearance="outline"]:hover:enabled:not([aria-disabled="true"]):where([data-hn-ui-icon-button]) {
3859
4085
  background-color: var(--ui-icon-button-hover-surface, var(--ui-neutral-hover));
4086
+ --_outline-wash: oklch(from var(--ui-text) l c h / 5%);
4087
+ background-image:
4088
+ linear-gradient(var(--_outline-wash), var(--_outline-wash)),
4089
+ var(--ui-surface-highlight, linear-gradient(transparent, transparent));
3860
4090
  }
3861
4091
  :scope[data-tone="neutral"][data-appearance="outline"]:active:enabled:not([aria-disabled="true"]):where([data-hn-ui-icon-button]) {
3862
4092
  background-color: var(--ui-icon-button-active-surface, var(--ui-neutral-active));
@@ -3867,6 +4097,7 @@ html[data-ui-input-modality="touch"] :scope:where([data-hn-ui-icon-button])::aft
3867
4097
  --ui-icon-button-solid-hover-surface,
3868
4098
  var(--_icon-button-solid-hover-surface, var(--ui-accent-hover))
3869
4099
  );
4100
+ background-image: var(--_tone-hover-highlight);
3870
4101
  }
3871
4102
  :scope[data-appearance="solid"]:hover:enabled:not([aria-disabled="true"]):where([data-hn-ui-icon-button]) {
3872
4103
  color: var(
@@ -3917,7 +4148,7 @@ html[data-ui-input-modality="touch"] :scope:where([data-hn-ui-icon-button])::aft
3917
4148
  }
3918
4149
  :scope[data-appearance="outline"]:focus-visible:where([data-hn-ui-icon-button]) {
3919
4150
  box-shadow:
3920
- var(--ui-action-shadow, var(--_ui-action-shadow)),
4151
+ var(--ui-neutral-shadow),
3921
4152
  var(--ui-focus-halo);
3922
4153
  }
3923
4154
  :scope[data-appearance="solid"]:focus-visible:where([data-hn-ui-icon-button]) {
@@ -3993,6 +4224,9 @@ html[data-ui-input-modality="touch"] :scope:where([data-hn-ui-icon-button])::aft
3993
4224
  padding: 0 !important;
3994
4225
  min-inline-size: 0;
3995
4226
  }
4227
+ :scope[data-ui-number-input-state~="compact"] {
4228
+ inline-size: 5rem;
4229
+ }
3996
4230
  :scope[hidden] {
3997
4231
  display: none !important;
3998
4232
  }
@@ -4006,6 +4240,9 @@ html[data-ui-input-modality="touch"] :scope:where([data-hn-ui-icon-button])::aft
4006
4240
  padding: 0 !important;
4007
4241
  min-inline-size: 0;
4008
4242
  }
4243
+ :where(.ui-number-input)[data-ui-number-input-state~="compact"]:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-number-input"]))) {
4244
+ inline-size: 5rem;
4245
+ }
4009
4246
  :where(.ui-number-input)[hidden]:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-number-input"]))) {
4010
4247
  display: none !important;
4011
4248
  }
@@ -4329,12 +4566,12 @@ dd:where([data-hn-ui-description-item]) {
4329
4566
  /* Alerts have no close target to add height above the title. */
4330
4567
 
4331
4568
  /* :host-qualified so page heading rules that reach in cannot outrank the dialog chrome. */
4332
- @keyframes ui-dialog-enter-43af5837 {
4569
+ @keyframes ui-dialog-enter-db8548c3 {
4333
4570
  from {
4334
4571
  opacity: 0;
4335
4572
  }
4336
4573
  }
4337
- @keyframes ui-dialog-backdrop-enter-43af5837 {
4574
+ @keyframes ui-dialog-backdrop-enter-db8548c3 {
4338
4575
  from {
4339
4576
  background-color: transparent;
4340
4577
  }
@@ -4382,7 +4619,10 @@ from {
4382
4619
  --_ui-material-rim: calc(var(--_ui-material-separation) * var(--_ui-material-scale, 1) * 8px);
4383
4620
  --_ui-material-content-color: var(
4384
4621
  --ui-dialog-surface,
4385
- var(--ui-material-content, var(--ui-overlay-surface, var(--ui-surface-elevated)))
4622
+ var(
4623
+ --_ui-material-underpaint,
4624
+ var(--ui-material-content, var(--ui-overlay-surface, var(--ui-surface-elevated)))
4625
+ )
4386
4626
  );
4387
4627
  --_ui-material-rim-color: color-mix(
4388
4628
  in srgb,
@@ -4390,11 +4630,13 @@ from {
4390
4630
  transparent
4391
4631
  );
4392
4632
  background:
4393
- var(--ui-surface-highlight, linear-gradient(transparent, transparent)) padding-box,
4633
+ var(
4634
+ --ui-material-highlight,
4635
+ var(--ui-surface-highlight, linear-gradient(transparent, transparent))
4636
+ ) padding-box,
4394
4637
  linear-gradient(var(--_ui-material-content-color), var(--_ui-material-content-color))
4395
4638
  padding-box,
4396
- linear-gradient(var(--_ui-material-rim-color), var(--_ui-material-rim-color)) border-box,
4397
- var(--_ui-material-content-color) padding-box;
4639
+ linear-gradient(var(--_ui-material-rim-color), var(--_ui-material-rim-color)) border-box;
4398
4640
  border-width: calc(var(--ui-border-width) + var(--_ui-material-rim));
4399
4641
  border-color: var(
4400
4642
  --ui-dialog-border,
@@ -4430,12 +4672,12 @@ from {
4430
4672
  }
4431
4673
  @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
4432
4674
  :scope:where([data-hn-ui-dialog]) {
4433
- background: var(--_ui-material-content-color);
4675
+ background: oklch(from var(--_ui-material-content-color) l c h / 1);
4434
4676
  }
4435
4677
  }
4436
4678
  @media (prefers-reduced-transparency: reduce) {
4437
4679
  :scope:where([data-hn-ui-dialog]) {
4438
- background: var(--_ui-material-content-color);
4680
+ background: oklch(from var(--_ui-material-content-color) l c h / 1);
4439
4681
  -webkit-backdrop-filter: none;
4440
4682
  backdrop-filter: none;
4441
4683
  }
@@ -4454,7 +4696,7 @@ from {
4454
4696
  visibility: visible;
4455
4697
  pointer-events: auto;
4456
4698
  opacity: 1;
4457
- animation: ui-dialog-enter-43af5837 var(--ui-dialog-duration, var(--ui-motion-base))
4699
+ animation: ui-dialog-enter-db8548c3 var(--ui-dialog-duration, var(--ui-motion-base))
4458
4700
  var(--ui-motion-ease);
4459
4701
  }
4460
4702
  :scope[data-ui-dialog-state~="size=sm"]:where([data-hn-ui-dialog]) {
@@ -4534,7 +4776,7 @@ footer:empty:where([data-hn-ui-dialog]) {
4534
4776
  }
4535
4777
  :scope[open]:modal:where([data-hn-ui-dialog])::backdrop {
4536
4778
  background-color: var(--ui-overlay-backdrop);
4537
- animation: ui-dialog-backdrop-enter-43af5837 var(--_ui-dialog-duration, var(--ui-motion-base))
4779
+ animation: ui-dialog-backdrop-enter-db8548c3 var(--_ui-dialog-duration, var(--ui-motion-base))
4538
4780
  var(--ui-motion-ease);
4539
4781
  }
4540
4782
  :scope[open][data-ui-backdrop-hidden]:where([data-hn-ui-dialog])::backdrop {
@@ -4586,7 +4828,10 @@ footer:empty:where([data-hn-ui-dialog]) {
4586
4828
  --_ui-material-rim: calc(var(--_ui-material-separation) * var(--_ui-material-scale, 1) * 8px);
4587
4829
  --_ui-material-content-color: var(
4588
4830
  --ui-dialog-surface,
4589
- var(--ui-material-content, var(--ui-overlay-surface, var(--ui-surface-elevated)))
4831
+ var(
4832
+ --_ui-material-underpaint,
4833
+ var(--ui-material-content, var(--ui-overlay-surface, var(--ui-surface-elevated)))
4834
+ )
4590
4835
  );
4591
4836
  --_ui-material-rim-color: color-mix(
4592
4837
  in srgb,
@@ -4594,11 +4839,13 @@ footer:empty:where([data-hn-ui-dialog]) {
4594
4839
  transparent
4595
4840
  );
4596
4841
  background:
4597
- var(--ui-surface-highlight, linear-gradient(transparent, transparent)) padding-box,
4842
+ var(
4843
+ --ui-material-highlight,
4844
+ var(--ui-surface-highlight, linear-gradient(transparent, transparent))
4845
+ ) padding-box,
4598
4846
  linear-gradient(var(--_ui-material-content-color), var(--_ui-material-content-color))
4599
4847
  padding-box,
4600
- linear-gradient(var(--_ui-material-rim-color), var(--_ui-material-rim-color)) border-box,
4601
- var(--_ui-material-content-color) padding-box;
4848
+ linear-gradient(var(--_ui-material-rim-color), var(--_ui-material-rim-color)) border-box;
4602
4849
  border-width: calc(var(--ui-border-width) + var(--_ui-material-rim));
4603
4850
  border-color: var(
4604
4851
  --ui-dialog-border,
@@ -4634,12 +4881,12 @@ footer:empty:where([data-hn-ui-dialog]) {
4634
4881
  }
4635
4882
  @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
4636
4883
  :where(.ui-dialog):where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-dialog"]))):where([data-hn-ui-dialog]) {
4637
- background: var(--_ui-material-content-color);
4884
+ background: oklch(from var(--_ui-material-content-color) l c h / 1);
4638
4885
  }
4639
4886
  }
4640
4887
  @media (prefers-reduced-transparency: reduce) {
4641
4888
  :where(.ui-dialog):where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-dialog"]))):where([data-hn-ui-dialog]) {
4642
- background: var(--_ui-material-content-color);
4889
+ background: oklch(from var(--_ui-material-content-color) l c h / 1);
4643
4890
  -webkit-backdrop-filter: none;
4644
4891
  backdrop-filter: none;
4645
4892
  }
@@ -4658,7 +4905,7 @@ footer:empty:where([data-hn-ui-dialog]) {
4658
4905
  visibility: visible;
4659
4906
  pointer-events: auto;
4660
4907
  opacity: 1;
4661
- animation: ui-dialog-enter-43af5837 var(--ui-dialog-duration, var(--ui-motion-base))
4908
+ animation: ui-dialog-enter-db8548c3 var(--ui-dialog-duration, var(--ui-motion-base))
4662
4909
  var(--ui-motion-ease);
4663
4910
  }
4664
4911
  :where(.ui-dialog)[data-ui-dialog-state~="size=sm"]:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-dialog"]))):where([data-hn-ui-dialog]) {
@@ -4741,7 +4988,7 @@ footer:empty:where(:scope, :scope *):where([data-hn-ui-dialog]) {
4741
4988
  }
4742
4989
  :where(.ui-dialog)[open]:modal:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-dialog"]))):where([data-hn-ui-dialog])::backdrop {
4743
4990
  background-color: var(--ui-overlay-backdrop);
4744
- animation: ui-dialog-backdrop-enter-43af5837 var(--_ui-dialog-duration, var(--ui-motion-base))
4991
+ animation: ui-dialog-backdrop-enter-db8548c3 var(--_ui-dialog-duration, var(--ui-motion-base))
4745
4992
  var(--ui-motion-ease);
4746
4993
  }
4747
4994
  :where(.ui-dialog)[open][data-ui-backdrop-hidden]:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-dialog"]))):where([data-hn-ui-dialog])::backdrop {
@@ -5134,7 +5381,10 @@ footer:empty:where(:scope, :scope *):where([data-hn-ui-dialog]) {
5134
5381
  );
5135
5382
  --_ui-material-content-color: var(
5136
5383
  --_ui-menu-surface,
5137
- var(--ui-material-content, var(--ui-overlay-surface, var(--ui-surface-elevated)))
5384
+ var(
5385
+ --_ui-material-underpaint,
5386
+ var(--ui-material-content, var(--ui-overlay-surface, var(--ui-surface-elevated)))
5387
+ )
5138
5388
  );
5139
5389
  --_ui-material-rim-color: color-mix(
5140
5390
  in srgb,
@@ -5142,11 +5392,13 @@ footer:empty:where(:scope, :scope *):where([data-hn-ui-dialog]) {
5142
5392
  transparent
5143
5393
  );
5144
5394
  background:
5145
- var(--ui-surface-highlight, linear-gradient(transparent, transparent)) padding-box,
5395
+ var(
5396
+ --ui-material-highlight,
5397
+ var(--ui-surface-highlight, linear-gradient(transparent, transparent))
5398
+ ) padding-box,
5146
5399
  linear-gradient(var(--_ui-material-content-color), var(--_ui-material-content-color))
5147
5400
  padding-box,
5148
- linear-gradient(var(--_ui-material-rim-color), var(--_ui-material-rim-color)) border-box,
5149
- var(--_ui-material-content-color) padding-box;
5401
+ linear-gradient(var(--_ui-material-rim-color), var(--_ui-material-rim-color)) border-box;
5150
5402
  border-width: calc(var(--ui-border-width) + var(--_ui-material-rim));
5151
5403
  border-color: var(
5152
5404
  --_ui-menu-border,
@@ -5182,12 +5434,12 @@ footer:empty:where(:scope, :scope *):where([data-hn-ui-dialog]) {
5182
5434
  }
5183
5435
  @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
5184
5436
  :scope:not([inline]) .surface:where([data-hn-ui-menu]) {
5185
- background: var(--_ui-material-content-color);
5437
+ background: oklch(from var(--_ui-material-content-color) l c h / 1);
5186
5438
  }
5187
5439
  }
5188
5440
  @media (prefers-reduced-transparency: reduce) {
5189
5441
  :scope:not([inline]) .surface:where([data-hn-ui-menu]) {
5190
- background: var(--_ui-material-content-color);
5442
+ background: oklch(from var(--_ui-material-content-color) l c h / 1);
5191
5443
  -webkit-backdrop-filter: none;
5192
5444
  backdrop-filter: none;
5193
5445
  }
@@ -5988,7 +6240,10 @@ legend.sr-only:where([data-hn-ui-radio-group]) {
5988
6240
  );
5989
6241
  --_ui-material-content-color: var(
5990
6242
  --_ui-popover-surface,
5991
- var(--ui-material-content, var(--ui-overlay-surface, var(--ui-surface-elevated)))
6243
+ var(
6244
+ --_ui-material-underpaint,
6245
+ var(--ui-material-content, var(--ui-overlay-surface, var(--ui-surface-elevated)))
6246
+ )
5992
6247
  );
5993
6248
  --_ui-material-rim-color: color-mix(
5994
6249
  in srgb,
@@ -5996,11 +6251,13 @@ legend.sr-only:where([data-hn-ui-radio-group]) {
5996
6251
  transparent
5997
6252
  );
5998
6253
  background:
5999
- var(--ui-surface-highlight, linear-gradient(transparent, transparent)) padding-box,
6254
+ var(
6255
+ --ui-material-highlight,
6256
+ var(--ui-surface-highlight, linear-gradient(transparent, transparent))
6257
+ ) padding-box,
6000
6258
  linear-gradient(var(--_ui-material-content-color), var(--_ui-material-content-color))
6001
6259
  padding-box,
6002
- linear-gradient(var(--_ui-material-rim-color), var(--_ui-material-rim-color)) border-box,
6003
- var(--_ui-material-content-color) padding-box;
6260
+ linear-gradient(var(--_ui-material-rim-color), var(--_ui-material-rim-color)) border-box;
6004
6261
  border-width: calc(var(--ui-border-width) + var(--_ui-material-rim));
6005
6262
  border-color: var(
6006
6263
  --_ui-popover-border,
@@ -6036,12 +6293,12 @@ legend.sr-only:where([data-hn-ui-radio-group]) {
6036
6293
  }
6037
6294
  @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
6038
6295
  .surface:where([data-hn-ui-popover]) {
6039
- background: var(--_ui-material-content-color);
6296
+ background: oklch(from var(--_ui-material-content-color) l c h / 1);
6040
6297
  }
6041
6298
  }
6042
6299
  @media (prefers-reduced-transparency: reduce) {
6043
6300
  .surface:where([data-hn-ui-popover]) {
6044
- background: var(--_ui-material-content-color);
6301
+ background: oklch(from var(--_ui-material-content-color) l c h / 1);
6045
6302
  -webkit-backdrop-filter: none;
6046
6303
  backdrop-filter: none;
6047
6304
  }
@@ -10018,6 +10275,9 @@ to {
10018
10275
  padding: 0 !important;
10019
10276
  min-inline-size: 0;
10020
10277
  }
10278
+ :scope[data-ui-slider-state~="compact"] {
10279
+ grid-template-columns: minmax(3rem, 1fr) 5rem !important;
10280
+ }
10021
10281
  input {
10022
10282
  inline-size: 100%;
10023
10283
  min-inline-size: 0;
@@ -11114,7 +11374,7 @@ to {
11114
11374
  slides, the label reaches back under the icon (the controller measures how far) with its text
11115
11375
  where it was, and fades out across the gap before the icon, fully gone where the icon begins
11116
11376
  to cover it: the name slips under the icon rather than stopping at a hard edge beside it. */
11117
- @keyframes ui-tree-item-marquee-a1b4c079 {
11377
+ @keyframes ui-tree-item-marquee-1f9d7c05 {
11118
11378
  from {
11119
11379
  transform: translateX(0);
11120
11380
  }
@@ -11170,6 +11430,7 @@ to {
11170
11430
  font-size: var(--_ui-tree-item-font-size, var(--ui-font-size-sm));
11171
11431
  border-radius: var(--ui-selection-radius);
11172
11432
  color: var(--ui-text-secondary);
11433
+ cursor: default;
11173
11434
  transition:
11174
11435
  background-color var(--ui-motion-fast) var(--ui-motion-ease),
11175
11436
  color var(--ui-motion-fast) var(--ui-motion-ease),
@@ -11177,6 +11438,12 @@ to {
11177
11438
  box-shadow var(--ui-motion-fast) var(--ui-motion-ease),
11178
11439
  min-block-size var(--ui-motion-base) var(--ui-motion-ease);
11179
11440
  }
11441
+ :scope[data-ui-tree-item-state~="isContainer"]:not([disabled])
11442
+ > .row:where([data-hn-ui-tree-item]),:scope[data-selection-mode="single"]:not([disabled])
11443
+ > .row:where([data-hn-ui-tree-item]),:scope[data-selection-mode="multiple"]:not([disabled])
11444
+ > .row:where([data-hn-ui-tree-item]) {
11445
+ cursor: pointer;
11446
+ }
11180
11447
  .row:hover:where([data-hn-ui-tree-item]),.row:focus-within:where([data-hn-ui-tree-item]) {
11181
11448
  color: var(--ui-text-primary);
11182
11449
  background: var(--_ui-selection-context-surface, var(--ui-surface-muted));
@@ -11267,7 +11534,6 @@ to {
11267
11534
  }
11268
11535
  .disclosure:hover:where([data-hn-ui-tree-item]) {
11269
11536
  color: var(--ui-text-primary);
11270
- background: var(--ui-surface-elevated);
11271
11537
  }
11272
11538
  .disclosure-icon:where([data-hn-ui-tree-item]) {
11273
11539
  display: grid !important;
@@ -11371,7 +11637,7 @@ to {
11371
11637
  .row[data-ui-marquee] > .label > .label-text:where([data-hn-ui-tree-item]) {
11372
11638
  /* Once per pass: the controller restarts it after a rest at the end, so the name holds still
11373
11639
  long enough to read rather than sliding back and forth. */
11374
- animation: ui-tree-item-marquee-a1b4c079 var(--_marquee-duration) linear 0.5s 1 normal forwards;
11640
+ animation: ui-tree-item-marquee-1f9d7c05 var(--_marquee-duration) linear 0.5s 1 normal forwards;
11375
11641
  will-change: transform;
11376
11642
  }
11377
11643
  .row[data-ui-marquee] > .label:where([data-hn-ui-tree-item]) {
@@ -11689,6 +11955,7 @@ html[data-ui-input-modality="touch"]
11689
11955
  font-size: var(--_ui-tree-item-font-size, var(--ui-font-size-sm));
11690
11956
  border-radius: var(--ui-selection-radius);
11691
11957
  color: var(--ui-text-secondary);
11958
+ cursor: default;
11692
11959
  transition:
11693
11960
  background-color var(--ui-motion-fast) var(--ui-motion-ease),
11694
11961
  color var(--ui-motion-fast) var(--ui-motion-ease),
@@ -11696,6 +11963,12 @@ html[data-ui-input-modality="touch"]
11696
11963
  box-shadow var(--ui-motion-fast) var(--ui-motion-ease),
11697
11964
  min-block-size var(--ui-motion-base) var(--ui-motion-ease);
11698
11965
  }
11966
+ :where(.ui-tree-item)[data-ui-tree-item-state~="isContainer"]:not([disabled])
11967
+ > .row:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where([data-hn-ui-tree-item]),:where(.ui-tree-item)[data-selection-mode="single"]:not([disabled])
11968
+ > .row:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where([data-hn-ui-tree-item]),:where(.ui-tree-item)[data-selection-mode="multiple"]:not([disabled])
11969
+ > .row:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where([data-hn-ui-tree-item]) {
11970
+ cursor: pointer;
11971
+ }
11699
11972
  .row:hover:where(:scope, :scope *):where([data-hn-ui-tree-item]),.row:focus-within:where(:scope, :scope *):where([data-hn-ui-tree-item]) {
11700
11973
  color: var(--ui-text-primary);
11701
11974
  background: var(--_ui-selection-context-surface, var(--ui-surface-muted));
@@ -11800,7 +12073,6 @@ html[data-ui-input-modality="touch"]
11800
12073
  }
11801
12074
  .disclosure:hover:where(:scope, :scope *):where([data-hn-ui-tree-item]) {
11802
12075
  color: var(--ui-text-primary);
11803
- background: var(--ui-surface-elevated);
11804
12076
  }
11805
12077
  .disclosure-icon:where(:scope, :scope *):where([data-hn-ui-tree-item]) {
11806
12078
  display: grid !important;
@@ -11902,7 +12174,7 @@ html[data-ui-input-modality="touch"]
11902
12174
  > .label-text:where([data-hn-ui-tree-item]) {
11903
12175
  /* Once per pass: the controller restarts it after a rest at the end, so the name holds still
11904
12176
  long enough to read rather than sliding back and forth. */
11905
- animation: ui-tree-item-marquee-a1b4c079 var(--_marquee-duration) linear 0.5s 1 normal forwards;
12177
+ animation: ui-tree-item-marquee-1f9d7c05 var(--_marquee-duration) linear 0.5s 1 normal forwards;
11906
12178
  will-change: transform;
11907
12179
  }
11908
12180
  .row[data-ui-marquee]:where(:scope, :scope *) > .label:where([data-hn-ui-tree-item]) {
@@ -12918,6 +13190,8 @@ html[data-ui-input-modality="touch"]
12918
13190
  --_tone-hover-border: var(--ui-accent-hover-border, var(--ui-accent-hover));
12919
13191
  --_tone-active-border: var(--ui-accent-active-border, var(--ui-accent-active));
12920
13192
  --_tone-highlight: var(--ui-accent-highlight, none);
13193
+ --_tone-hover-highlight: var(--ui-accent-hover-highlight, none);
13194
+ --_tone-outline-border: var(--ui-accent-outline-border, var(--ui-accent-subtle-text));
12921
13195
  --_tone-glow: var(--ui-accent-glow, 0 0 transparent);
12922
13196
  --_hue: var(--ui-accent);
12923
13197
  --_hue-hover: var(--ui-accent-hover);
@@ -13102,11 +13376,27 @@ html[data-ui-input-modality="touch"]
13102
13376
  align-self: center;
13103
13377
  }
13104
13378
 
13379
+ :scope:where([data-component~="ui-button"])[data-appearance="outline"]:not([data-tone="neutral"]) {
13380
+ --_outline-wash: oklch(from var(--_tone-text) l c h / calc(4% * var(--ui-tonal-opacity, 1)));
13381
+ border-color: var(--ui-button-border, var(--_tone-outline-border, var(--_tone-text)));
13382
+ background-color: var(--ui-button-surface, transparent);
13383
+ box-shadow: var(--ui-button-shadow, var(--ui-neutral-shadow));
13384
+ background-image:
13385
+ linear-gradient(var(--_outline-wash), var(--_outline-wash)),
13386
+ var(--ui-surface-highlight, linear-gradient(transparent, transparent));
13387
+ }
13388
+
13389
+ :scope:where([data-component~="ui-button"])[data-appearance="outline"]:not([data-tone="neutral"]):hover:not(:disabled, [aria-disabled="true"]) {
13390
+ --_outline-wash: oklch(from var(--_tone-text) l c h / calc(9% * var(--ui-tonal-opacity, 1)));
13391
+ background-color: var(--ui-button-hover-surface, transparent);
13392
+ border-color: var(--ui-button-hover-border, color-mix(in srgb, var(--_tone-text) 35%, var(--_tone-outline-border)));
13393
+ }
13394
+
13105
13395
  /* A link is never :enabled, so interactive states test "not unavailable" instead: for a button that
13106
13396
  is exactly :enabled, at the same specificity, and it also matches a link that can be followed. */
13107
13397
  :scope:where([data-component~="ui-button"]):hover:not(:disabled, [aria-disabled="true"]) {
13108
13398
  border-color: var(--ui-button-hover-border, var(--_tone-text));
13109
- background-color: var(--ui-button-hover-surface, oklch(from var(--_tone) l c h / calc(12% * var(--ui-tonal-opacity, 1))));
13399
+ background-color: var(--ui-button-hover-surface, oklch(from var(--_tone-text) l c h / calc(12% * var(--ui-tonal-opacity, 1))));
13110
13400
  }
13111
13401
 
13112
13402
  :scope:where([data-component~="ui-button"])[data-appearance="card"][data-tone="neutral"] {
@@ -13124,7 +13414,8 @@ html[data-ui-input-modality="touch"]
13124
13414
  }
13125
13415
 
13126
13416
  /* Pressed reads as pressed in: the highlight goes, and the shadow moves inside. */
13127
- :scope:where([data-component~="ui-button"]):active:not(:disabled, [aria-disabled="true"]) {
13417
+ :scope:where([data-component~="ui-button"]):active:not(:disabled, [aria-disabled="true"]),
13418
+ :scope:where([data-component~="ui-button"])[data-appearance="outline"]:active:not(:disabled, [aria-disabled="true"]) {
13128
13419
  scale: var(--ui-press-scale, 1);
13129
13420
  background-color: var(--ui-button-active-surface, oklch(from var(--_tone) l c h / calc(18% * var(--ui-tonal-opacity, 1))));
13130
13421
  background-image: none;
@@ -13144,6 +13435,7 @@ html[data-ui-input-modality="touch"]
13144
13435
  :scope:where([data-component~="ui-button"])[data-appearance="solid"]:hover:not(:disabled, [aria-disabled="true"]),
13145
13436
  :scope:where([data-component~="ui-button"])[data-appearance="danger"]:hover:not(:disabled, [aria-disabled="true"]) {
13146
13437
  background-color: var(--_tone-hover);
13438
+ background-image: var(--_tone-hover-highlight);
13147
13439
  border-color: var(--ui-button-hover-border, var(--_tone-hover-border));
13148
13440
  }
13149
13441
 
@@ -13161,6 +13453,8 @@ html[data-ui-input-modality="touch"]
13161
13453
  --_tone-hover-border: var(--ui-accent-secondary-hover-border, var(--ui-accent-secondary-hover));
13162
13454
  --_tone-active-border: var(--ui-accent-secondary-active-border, var(--ui-accent-secondary-active));
13163
13455
  --_tone-highlight: var(--ui-accent-secondary-highlight, none);
13456
+ --_tone-hover-highlight: var(--ui-accent-secondary-hover-highlight, none);
13457
+ --_tone-outline-border: var(--ui-accent-secondary-outline-border, var(--ui-accent-secondary-subtle-text));
13164
13458
  --_tone-glow: var(--ui-accent-secondary-glow, 0 0 transparent);
13165
13459
  --_hue: var(--ui-accent-secondary);
13166
13460
  --_hue-hover: var(--ui-accent-secondary-hover);
@@ -13174,6 +13468,8 @@ html[data-ui-input-modality="touch"]
13174
13468
  --_tone-hover-border: var(--ui-accent-tertiary-hover-border, var(--ui-accent-tertiary-hover));
13175
13469
  --_tone-active-border: var(--ui-accent-tertiary-active-border, var(--ui-accent-tertiary-active));
13176
13470
  --_tone-highlight: var(--ui-accent-tertiary-highlight, none);
13471
+ --_tone-hover-highlight: var(--ui-accent-tertiary-hover-highlight, none);
13472
+ --_tone-outline-border: var(--ui-accent-tertiary-outline-border, var(--ui-accent-tertiary-subtle-text));
13177
13473
  --_tone-glow: var(--ui-accent-tertiary-glow, 0 0 transparent);
13178
13474
  --_hue: var(--ui-accent-tertiary);
13179
13475
  --_hue-hover: var(--ui-accent-tertiary-hover);
@@ -13187,6 +13483,8 @@ html[data-ui-input-modality="touch"]
13187
13483
  --_tone-hover-border: var(--ui-control-border-hover, var(--ui-neutral-hover));
13188
13484
  --_tone-active-border: var(--ui-control-border-hover, var(--ui-neutral-active));
13189
13485
  --_tone-highlight: var(--ui-neutral-highlight, none);
13486
+ --_tone-hover-highlight: var(--ui-neutral-highlight, var(--_tone-highlight));
13487
+ --_tone-outline-border: var(--ui-control-border);
13190
13488
  --_tone-glow: var(--ui-neutral-glow, 0 0 transparent);
13191
13489
  --_hue: var(--ui-text);
13192
13490
  --_hue-hover: var(--ui-text);
@@ -13209,8 +13507,13 @@ html[data-ui-input-modality="touch"]
13209
13507
  :scope:where([data-component~="ui-button"])[data-tone="neutral"][data-appearance="outline"]:hover:not(:disabled, [aria-disabled="true"]) {
13210
13508
  border-color: var(--ui-button-hover-border, var(--ui-control-border-hover));
13211
13509
  background-color: var(--ui-button-hover-surface, var(--ui-neutral-hover));
13510
+ --_outline-wash: oklch(from var(--ui-text) l c h / 5%);
13511
+ background-image:
13512
+ linear-gradient(var(--_outline-wash), var(--_outline-wash)),
13513
+ var(--ui-surface-highlight, linear-gradient(transparent, transparent));
13212
13514
  }
13213
13515
  :scope:where([data-component~="ui-button"])[data-tone="neutral"][data-appearance="outline"]:active:not(:disabled, [aria-disabled="true"]) {
13516
+ background-image: none;
13214
13517
  border-color: var(--ui-button-hover-border, var(--ui-control-border-hover));
13215
13518
  background-color: var(--ui-button-active-surface, var(--ui-neutral-active));
13216
13519
  }
@@ -13228,6 +13531,8 @@ html[data-ui-input-modality="touch"]
13228
13531
  --_tone-hover-border: var(--ui-danger-hover-border, var(--ui-danger-hover));
13229
13532
  --_tone-active-border: var(--ui-danger-active-border, var(--ui-danger-active));
13230
13533
  --_tone-highlight: var(--ui-danger-highlight, none);
13534
+ --_tone-hover-highlight: var(--ui-danger-hover-highlight, none);
13535
+ --_tone-outline-border: var(--ui-danger-outline-border, var(--ui-danger-subtle-text));
13231
13536
  --_tone-glow: var(--ui-danger-glow, 0 0 transparent);
13232
13537
  --_hue: var(--ui-danger);
13233
13538
  --_hue-hover: var(--ui-danger-hover);
@@ -13241,6 +13546,8 @@ html[data-ui-input-modality="touch"]
13241
13546
  --_tone-hover-border: var(--ui-success-hover-border, var(--ui-success-hover));
13242
13547
  --_tone-active-border: var(--ui-success-active-border, var(--ui-success-active));
13243
13548
  --_tone-highlight: var(--ui-success-highlight, none);
13549
+ --_tone-hover-highlight: var(--ui-success-hover-highlight, none);
13550
+ --_tone-outline-border: var(--ui-success-outline-border, var(--ui-success-subtle-text));
13244
13551
  --_tone-glow: var(--ui-success-glow, 0 0 transparent);
13245
13552
  --_hue: var(--ui-success);
13246
13553
  --_hue-hover: var(--ui-success-hover);
@@ -13254,6 +13561,8 @@ html[data-ui-input-modality="touch"]
13254
13561
  --_tone-hover-border: var(--ui-warning-hover-border, var(--ui-warning-hover));
13255
13562
  --_tone-active-border: var(--ui-warning-active-border, var(--ui-warning-active));
13256
13563
  --_tone-highlight: var(--ui-warning-highlight, none);
13564
+ --_tone-hover-highlight: var(--ui-warning-hover-highlight, none);
13565
+ --_tone-outline-border: var(--ui-warning-outline-border, var(--ui-warning-subtle-text));
13257
13566
  --_tone-glow: var(--ui-warning-glow, 0 0 transparent);
13258
13567
  --_hue: var(--ui-warning);
13259
13568
  --_hue-hover: var(--ui-warning-hover);
@@ -13267,6 +13576,8 @@ html[data-ui-input-modality="touch"]
13267
13576
  --_tone-hover-border: var(--ui-info-hover-border, var(--ui-info-hover));
13268
13577
  --_tone-active-border: var(--ui-info-active-border, var(--ui-info-active));
13269
13578
  --_tone-highlight: var(--ui-info-highlight, none);
13579
+ --_tone-hover-highlight: var(--ui-info-hover-highlight, none);
13580
+ --_tone-outline-border: var(--ui-info-outline-border, var(--ui-info-subtle-text));
13270
13581
  --_tone-glow: var(--ui-info-glow, 0 0 transparent);
13271
13582
  --_hue: var(--ui-info);
13272
13583
  --_hue-hover: var(--ui-info-hover);
@@ -13329,6 +13640,12 @@ html[data-ui-input-modality="touch"]
13329
13640
  var(--ui-focus-halo);
13330
13641
  }
13331
13642
 
13643
+ :scope:where([data-component~="ui-button"])[data-appearance="outline"]:focus-visible {
13644
+ box-shadow:
13645
+ var(--ui-button-shadow, var(--ui-neutral-shadow)),
13646
+ var(--ui-focus-halo);
13647
+ }
13648
+
13332
13649
  :scope:where([data-component~="ui-button"])[data-appearance="solid"]:focus-visible {
13333
13650
  box-shadow:
13334
13651
  var(--ui-button-solid-shadow, var(--ui-action-shadow, var(--_ui-action-shadow))),
@@ -13768,6 +14085,8 @@ html[data-ui-input-modality="touch"]
13768
14085
  --_solid-active-border: var(--ui-accent-active-border, var(--ui-accent-active));
13769
14086
  --_solid-active-surface: var(--ui-accent-active, var(--ui-accent-hover));
13770
14087
  --_tone-highlight: var(--ui-accent-highlight, none);
14088
+ --_tone-hover-highlight: var(--ui-accent-hover-highlight, none);
14089
+ --_tone-outline-border: var(--ui-accent-outline-border, var(--ui-accent-subtle-text));
13771
14090
  --_tone-glow: var(--ui-accent-glow, 0 0 transparent);
13772
14091
  --_ui-action-start: 1px;
13773
14092
  --_ui-action-edge: var(
@@ -13794,6 +14113,8 @@ html[data-ui-input-modality="touch"]
13794
14113
  --_solid-active-border: var(--ui-accent-secondary-active-border, var(--ui-accent-secondary-active));
13795
14114
  --_solid-active-surface: var(--ui-accent-secondary-active, var(--ui-accent-secondary-hover));
13796
14115
  --_tone-highlight: var(--ui-accent-secondary-highlight, none);
14116
+ --_tone-hover-highlight: var(--ui-accent-secondary-hover-highlight, none);
14117
+ --_tone-outline-border: var(--ui-accent-secondary-outline-border, var(--ui-accent-secondary-subtle-text));
13797
14118
  --_tone-glow: var(--ui-accent-secondary-glow, 0 0 transparent);
13798
14119
  --_icon-button-border: var(--ui-accent-secondary-subtle-text);
13799
14120
  --_icon-button-hover-border: var(--ui-accent-secondary-subtle-text);
@@ -13811,6 +14132,8 @@ html[data-ui-input-modality="touch"]
13811
14132
  --_solid-active-border: var(--ui-accent-tertiary-active-border, var(--ui-accent-tertiary-active));
13812
14133
  --_solid-active-surface: var(--ui-accent-tertiary-active, var(--ui-accent-tertiary-hover));
13813
14134
  --_tone-highlight: var(--ui-accent-tertiary-highlight, none);
14135
+ --_tone-hover-highlight: var(--ui-accent-tertiary-hover-highlight, none);
14136
+ --_tone-outline-border: var(--ui-accent-tertiary-outline-border, var(--ui-accent-tertiary-subtle-text));
13814
14137
  --_tone-glow: var(--ui-accent-tertiary-glow, 0 0 transparent);
13815
14138
  --_icon-button-border: var(--ui-accent-tertiary-subtle-text);
13816
14139
  --_icon-button-hover-border: var(--ui-accent-tertiary-subtle-text);
@@ -13828,6 +14151,8 @@ html[data-ui-input-modality="touch"]
13828
14151
  --_solid-active-border: var(--ui-accent-active-border, var(--ui-accent-active));
13829
14152
  --_solid-active-surface: var(--ui-accent-active, var(--ui-accent-hover));
13830
14153
  --_tone-highlight: var(--ui-accent-highlight, none);
14154
+ --_tone-hover-highlight: var(--ui-accent-hover-highlight, none);
14155
+ --_tone-outline-border: var(--ui-accent-outline-border, var(--ui-accent-subtle-text));
13831
14156
  --_tone-glow: var(--ui-accent-glow, 0 0 transparent);
13832
14157
  --_icon-button-border: var(--ui-accent-subtle-text);
13833
14158
  --_icon-button-hover-border: var(--ui-accent-subtle-text);
@@ -13842,6 +14167,8 @@ html[data-ui-input-modality="touch"]
13842
14167
  --_solid-active-border: var(--ui-danger-active-border, var(--ui-danger-active));
13843
14168
  --_solid-active-surface: var(--ui-danger-active, var(--ui-danger-hover));
13844
14169
  --_tone-highlight: var(--ui-danger-highlight, none);
14170
+ --_tone-hover-highlight: var(--ui-danger-hover-highlight, none);
14171
+ --_tone-outline-border: var(--ui-danger-outline-border, var(--ui-danger-subtle-text));
13845
14172
  --_tone-glow: var(--ui-danger-glow, 0 0 transparent);
13846
14173
  --_icon-button-border: var(--ui-danger-subtle-text);
13847
14174
  --_icon-button-hover-border: var(--ui-danger-subtle-text);
@@ -13859,6 +14186,8 @@ html[data-ui-input-modality="touch"]
13859
14186
  --_solid-active-border: var(--ui-success-active-border, var(--ui-success-active));
13860
14187
  --_solid-active-surface: var(--ui-success-active, var(--ui-success-hover));
13861
14188
  --_tone-highlight: var(--ui-success-highlight, none);
14189
+ --_tone-hover-highlight: var(--ui-success-hover-highlight, none);
14190
+ --_tone-outline-border: var(--ui-success-outline-border, var(--ui-success-subtle-text));
13862
14191
  --_tone-glow: var(--ui-success-glow, 0 0 transparent);
13863
14192
  --_icon-button-border: var(--ui-success-subtle-text);
13864
14193
  --_icon-button-hover-border: var(--ui-success-subtle-text);
@@ -13876,6 +14205,8 @@ html[data-ui-input-modality="touch"]
13876
14205
  --_solid-active-border: var(--ui-warning-active-border, var(--ui-warning-active));
13877
14206
  --_solid-active-surface: var(--ui-warning-active, var(--ui-warning-hover));
13878
14207
  --_tone-highlight: var(--ui-warning-highlight, none);
14208
+ --_tone-hover-highlight: var(--ui-warning-hover-highlight, none);
14209
+ --_tone-outline-border: var(--ui-warning-outline-border, var(--ui-warning-subtle-text));
13879
14210
  --_tone-glow: var(--ui-warning-glow, 0 0 transparent);
13880
14211
  --_icon-button-border: var(--ui-warning-subtle-text);
13881
14212
  --_icon-button-hover-border: var(--ui-warning-subtle-text);
@@ -13893,6 +14224,8 @@ html[data-ui-input-modality="touch"]
13893
14224
  --_solid-active-border: var(--ui-info-active-border, var(--ui-info-active));
13894
14225
  --_solid-active-surface: var(--ui-info-active, var(--ui-info-hover));
13895
14226
  --_tone-highlight: var(--ui-info-highlight, none);
14227
+ --_tone-hover-highlight: var(--ui-info-hover-highlight, none);
14228
+ --_tone-outline-border: var(--ui-info-outline-border, var(--ui-info-subtle-text));
13896
14229
  --_tone-glow: var(--ui-info-glow, 0 0 transparent);
13897
14230
  --_icon-button-border: var(--ui-info-subtle-text);
13898
14231
  --_icon-button-hover-border: var(--ui-info-subtle-text);
@@ -13911,6 +14244,8 @@ html[data-ui-input-modality="touch"]
13911
14244
  --_solid-active-border: var(--ui-control-border-hover, var(--ui-neutral-active));
13912
14245
  --_solid-active-surface: var(--ui-neutral-active, var(--ui-neutral-hover));
13913
14246
  --_tone-highlight: var(--ui-neutral-highlight, none);
14247
+ --_tone-hover-highlight: var(--ui-neutral-highlight, var(--_tone-highlight));
14248
+ --_tone-outline-border: var(--ui-control-border);
13914
14249
  --_tone-glow: var(--ui-neutral-glow, 0 0 transparent);
13915
14250
  --_icon-button-outline-surface: transparent;
13916
14251
  --_icon-button-border: var(--ui-control-border);
@@ -14080,9 +14415,7 @@ html[data-ui-input-modality="touch"]
14080
14415
  background-color: var(--ui-icon-button-outline-surface, var(--_icon-button-outline-surface, var(--ui-surface-default)));
14081
14416
  background-image: var(--ui-surface-highlight, none);
14082
14417
  color: var(--ui-icon-button-outline-text, var(--_icon-button-text, var(--ui-text-primary)));
14083
- box-shadow:
14084
- var(--ui-action-shadow, var(--_ui-action-shadow)),
14085
- var(--_tone-glow);
14418
+ box-shadow: var(--ui-neutral-shadow);
14086
14419
  }
14087
14420
 
14088
14421
  :scope:where([data-component~="ui-icon-button"])[data-appearance="solid"] {
@@ -14109,11 +14442,49 @@ html[data-ui-input-modality="touch"]
14109
14442
  color: var(--ui-icon-button-hover-text, var(--_icon-button-text, var(--ui-text-primary)));
14110
14443
  }
14111
14444
 
14445
+ :scope:where([data-component~="ui-icon-button"])[data-appearance="outline"]:not([data-tone="neutral"]) {
14446
+ --_outline-wash: oklch(
14447
+ from
14448
+ var(--ui-icon-button-text, var(--_icon-button-text, var(--ui-accent-subtle-text)))
14449
+ l
14450
+ c
14451
+ h
14452
+ /
14453
+ calc(4% * var(--ui-tonal-opacity, 1))
14454
+ );
14455
+ border-color: var(--ui-icon-button-border, var(--_tone-outline-border));
14456
+ background-color: var(--ui-icon-button-outline-surface, var(--_icon-button-outline-surface, transparent));
14457
+ background-image:
14458
+ linear-gradient(var(--_outline-wash), var(--_outline-wash)),
14459
+ var(--ui-surface-highlight, linear-gradient(transparent, transparent));
14460
+ }
14461
+
14462
+ :scope:where([data-component~="ui-icon-button"])[data-appearance="outline"]:not([data-tone="neutral"]):hover:enabled:not([aria-disabled="true"]) {
14463
+ --_outline-wash: oklch(
14464
+ from
14465
+ var(--ui-icon-button-text, var(--_icon-button-text, var(--ui-accent-subtle-text)))
14466
+ l
14467
+ c
14468
+ h
14469
+ /
14470
+ calc(9% * var(--ui-tonal-opacity, 1))
14471
+ );
14472
+ background-color: var(--ui-icon-button-hover-surface, transparent);
14473
+ border-color: var(
14474
+ --ui-icon-button-hover-border,
14475
+ color-mix(in srgb, var(--_icon-button-text, var(--ui-accent-subtle-text)) 35%, var(--_tone-outline-border))
14476
+ );
14477
+ }
14478
+
14112
14479
  :scope:where([data-component~="ui-icon-button"])[data-appearance="outline"]:hover:enabled:not([aria-disabled="true"]) {
14113
14480
  border-color: var(--ui-icon-button-hover-border, var(--_icon-button-hover-border, var(--ui-control-border-hover, var(--ui-control-border))));
14114
14481
  }
14115
14482
  :scope:where([data-component~="ui-icon-button"])[data-tone="neutral"][data-appearance="outline"]:hover:enabled:not([aria-disabled="true"]) {
14116
14483
  background-color: var(--ui-icon-button-hover-surface, var(--ui-neutral-hover));
14484
+ --_outline-wash: oklch(from var(--ui-text) l c h / 5%);
14485
+ background-image:
14486
+ linear-gradient(var(--_outline-wash), var(--_outline-wash)),
14487
+ var(--ui-surface-highlight, linear-gradient(transparent, transparent));
14117
14488
  }
14118
14489
  :scope:where([data-component~="ui-icon-button"])[data-tone="neutral"][data-appearance="outline"]:active:enabled:not([aria-disabled="true"]) {
14119
14490
  background-color: var(--ui-icon-button-active-surface, var(--ui-neutral-active));
@@ -14122,6 +14493,7 @@ html[data-ui-input-modality="touch"]
14122
14493
  :scope:where([data-component~="ui-icon-button"])[data-appearance="solid"]:hover:enabled:not([aria-disabled="true"]) {
14123
14494
  border-color: var(--ui-icon-button-hover-border, var(--_solid-hover-border));
14124
14495
  background-color: var(--ui-icon-button-solid-hover-surface, var(--_icon-button-solid-hover-surface, var(--ui-accent-hover)));
14496
+ background-image: var(--_tone-hover-highlight);
14125
14497
  }
14126
14498
 
14127
14499
  :scope:where([data-component~="ui-icon-button"])[data-appearance="solid"]:hover:enabled:not([aria-disabled="true"]) {
@@ -14172,7 +14544,7 @@ html[data-ui-input-modality="touch"]
14172
14544
 
14173
14545
  :scope:where([data-component~="ui-icon-button"])[data-appearance="outline"]:focus-visible {
14174
14546
  box-shadow:
14175
- var(--ui-action-shadow, var(--_ui-action-shadow)),
14547
+ var(--ui-neutral-shadow),
14176
14548
  var(--ui-focus-halo);
14177
14549
  }
14178
14550
 
@@ -14456,13 +14828,12 @@ html[data-ui-input-modality="touch"]
14456
14828
  --_ui-material-separation: clamp(0, var(--ui-surface-separation, 0), 1);
14457
14829
  --_ui-material-active: clamp(0, calc(var(--_ui-material-separation) * 100000), 1);
14458
14830
  --_ui-material-rim: calc(var(--_ui-material-separation) * var(--_ui-material-scale, 0.28) * 8px);
14459
- --_ui-material-content-color: var(--_ui-menu-surface, var(--ui-material-content, var(--ui-overlay-surface, var(--ui-surface-elevated))));
14831
+ --_ui-material-content-color: var(--_ui-menu-surface, var(--_ui-material-underpaint, var(--ui-material-content, var(--ui-overlay-surface, var(--ui-surface-elevated)))));
14460
14832
  --_ui-material-rim-color: color-mix(in srgb, var(--ui-material-glass, var(--ui-surface-elevated)) calc(var(--_ui-material-active) * 100%), transparent);
14461
14833
  background:
14462
- var(--ui-surface-highlight, linear-gradient(transparent, transparent)) padding-box,
14834
+ var(--ui-material-highlight, var(--ui-surface-highlight, linear-gradient(transparent, transparent))) padding-box,
14463
14835
  linear-gradient(var(--_ui-material-content-color), var(--_ui-material-content-color)) padding-box,
14464
- linear-gradient(var(--_ui-material-rim-color), var(--_ui-material-rim-color)) border-box,
14465
- var(--_ui-material-content-color) padding-box;
14836
+ linear-gradient(var(--_ui-material-rim-color), var(--_ui-material-rim-color)) border-box;
14466
14837
  border-width: calc(var(--ui-border-width) + var(--_ui-material-rim));
14467
14838
  border-color: var(
14468
14839
  --_ui-menu-border,
@@ -14486,13 +14857,13 @@ html[data-ui-input-modality="touch"]
14486
14857
 
14487
14858
  @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
14488
14859
  :scope:where([data-component~="ui-menu"]):not([inline]) .surface {
14489
- background: var(--_ui-material-content-color);
14860
+ background: oklch(from var(--_ui-material-content-color) l c h / 1);
14490
14861
  }
14491
14862
  }
14492
14863
 
14493
14864
  @media (prefers-reduced-transparency: reduce) {
14494
14865
  :scope:where([data-component~="ui-menu"]):not([inline]) .surface {
14495
- background: var(--_ui-material-content-color);
14866
+ background: oklch(from var(--_ui-material-content-color) l c h / 1);
14496
14867
  -webkit-backdrop-filter: none;
14497
14868
  backdrop-filter: none;
14498
14869
  }
@@ -14803,13 +15174,12 @@ html[data-ui-input-modality="touch"]
14803
15174
  --_ui-material-separation: clamp(0, var(--ui-surface-separation, 0), 1);
14804
15175
  --_ui-material-active: clamp(0, calc(var(--_ui-material-separation) * 100000), 1);
14805
15176
  --_ui-material-rim: calc(var(--_ui-material-separation) * var(--_ui-material-scale, 0.55) * 8px);
14806
- --_ui-material-content-color: var(--_ui-popover-surface, var(--ui-material-content, var(--ui-overlay-surface, var(--ui-surface-elevated))));
15177
+ --_ui-material-content-color: var(--_ui-popover-surface, var(--_ui-material-underpaint, var(--ui-material-content, var(--ui-overlay-surface, var(--ui-surface-elevated)))));
14807
15178
  --_ui-material-rim-color: color-mix(in srgb, var(--ui-material-glass, var(--ui-surface-elevated)) calc(var(--_ui-material-active) * 100%), transparent);
14808
15179
  background:
14809
- var(--ui-surface-highlight, linear-gradient(transparent, transparent)) padding-box,
15180
+ var(--ui-material-highlight, var(--ui-surface-highlight, linear-gradient(transparent, transparent))) padding-box,
14810
15181
  linear-gradient(var(--_ui-material-content-color), var(--_ui-material-content-color)) padding-box,
14811
- linear-gradient(var(--_ui-material-rim-color), var(--_ui-material-rim-color)) border-box,
14812
- var(--_ui-material-content-color) padding-box;
15182
+ linear-gradient(var(--_ui-material-rim-color), var(--_ui-material-rim-color)) border-box;
14813
15183
  border-width: calc(var(--ui-border-width) + var(--_ui-material-rim));
14814
15184
  border-color: var(
14815
15185
  --_ui-popover-border,
@@ -14833,13 +15203,13 @@ html[data-ui-input-modality="touch"]
14833
15203
 
14834
15204
  @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
14835
15205
  .surface {
14836
- background: var(--_ui-material-content-color);
15206
+ background: oklch(from var(--_ui-material-content-color) l c h / 1);
14837
15207
  }
14838
15208
  }
14839
15209
 
14840
15210
  @media (prefers-reduced-transparency: reduce) {
14841
15211
  .surface {
14842
- background: var(--_ui-material-content-color);
15212
+ background: oklch(from var(--_ui-material-content-color) l c h / 1);
14843
15213
  -webkit-backdrop-filter: none;
14844
15214
  backdrop-filter: none;
14845
15215
  }
@@ -15273,12 +15643,15 @@ html[data-ui-input-modality="touch"]
15273
15643
  --_ui-material-separation: clamp(0, var(--ui-surface-separation, 0), 1);
15274
15644
  --_ui-material-active: clamp(0, calc(var(--_ui-material-separation) * 100000), 1);
15275
15645
  --_ui-material-rim: calc(var(--_ui-material-separation) * var(--_ui-material-scale, 0.08) * 8px);
15276
- --_ui-material-content-color: var(--_ui-tooltip-surface, var(--ui-material-content, var(--ui-overlay-surface, var(--ui-surface-elevated))));
15646
+ --_ui-material-content-color: var(
15647
+ --_ui-tooltip-surface,
15648
+ var(--_ui-material-underpaint, var(--ui-material-content, var(--ui-overlay-surface, var(--ui-surface-elevated))))
15649
+ );
15277
15650
  --_ui-material-rim-color: color-mix(in srgb, var(--ui-material-glass, var(--ui-surface-elevated)) calc(var(--_ui-material-active) * 100%), transparent);
15278
15651
  background:
15652
+ var(--ui-material-highlight, var(--ui-surface-highlight, linear-gradient(transparent, transparent))) padding-box,
15279
15653
  linear-gradient(var(--_ui-material-content-color), var(--_ui-material-content-color)) padding-box,
15280
- linear-gradient(var(--_ui-material-rim-color), var(--_ui-material-rim-color)) border-box,
15281
- var(--_ui-material-content-color) padding-box;
15654
+ linear-gradient(var(--_ui-material-rim-color), var(--_ui-material-rim-color)) border-box;
15282
15655
  border-width: calc(var(--ui-border-width) + var(--_ui-material-rim));
15283
15656
  border-color: var(
15284
15657
  --_ui-tooltip-border,
@@ -15301,13 +15674,13 @@ html[data-ui-input-modality="touch"]
15301
15674
 
15302
15675
  @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
15303
15676
  .surface {
15304
- background: var(--_ui-material-content-color);
15677
+ background: oklch(from var(--_ui-material-content-color) l c h / 1);
15305
15678
  }
15306
15679
  }
15307
15680
 
15308
15681
  @media (prefers-reduced-transparency: reduce) {
15309
15682
  .surface {
15310
- background: var(--_ui-material-content-color);
15683
+ background: oklch(from var(--_ui-material-content-color) l c h / 1);
15311
15684
  -webkit-backdrop-filter: none;
15312
15685
  backdrop-filter: none;
15313
15686
  }