@threadlabs/looma 0.46.4 → 0.47.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -973,7 +973,7 @@ svg,.arc {
973
973
 
974
974
  /* A value picker is a field, with Select's quiet edge and resting lift. */
975
975
 
976
- /* Tints derive from the text colour, not a surface token, so hover and press show on any background. */
976
+ /* Shared translucent paint keeps text and icon action feedback coordinated. */
977
977
 
978
978
  /* A soft halo that transitions in with the other box-shadow changes, layered on the raised shadow. */
979
979
 
@@ -1019,6 +1019,9 @@ svg,.arc {
1019
1019
  --_tone-highlight: var(--ui-accent-highlight, none);
1020
1020
  --_tone-hover-highlight: var(--ui-accent-hover-highlight, none);
1021
1021
  --_tone-outline-border: var(--ui-accent-outline-border, var(--ui-accent-subtle-text));
1022
+ --_tone-wash: var(--ui-accent-wash);
1023
+ --_tone-wash-hover: var(--ui-accent-wash-hover);
1024
+ --_tone-ghost-hover: var(--ui-accent-ghost-hover);
1022
1025
  --_tone-glow: var(--ui-accent-glow, 0 0 transparent);
1023
1026
  --_hue: var(--ui-accent);
1024
1027
  --_hue-hover: var(--ui-accent-hover);
@@ -1185,7 +1188,7 @@ svg,.arc {
1185
1188
  }
1186
1189
  :scope[data-appearance="outline"]:not([data-tone="neutral"]):where([data-hn-ui-button]) {
1187
1190
  --_outline-highlight: var(--ui-surface-highlight, linear-gradient(transparent, transparent));
1188
- --_outline-wash: oklch(from var(--_tone) l c h / calc(8% * var(--ui-tonal-opacity, 1)));
1191
+ --_outline-wash: var(--_tone-wash);
1189
1192
  border-color: var(--ui-button-border, var(--_tone-outline-border, var(--_tone-text)));
1190
1193
  background-color: var(--ui-button-surface, transparent);
1191
1194
  box-shadow: var(--ui-button-shadow, var(--ui-neutral-shadow));
@@ -1194,11 +1197,7 @@ svg,.arc {
1194
1197
  var(--_outline-highlight);
1195
1198
  }
1196
1199
  :scope[data-appearance="outline"]:not([data-tone="neutral"]):hover:not(:disabled, [aria-disabled="true"]):where([data-hn-ui-button]) {
1197
- --_outline-highlight: var(
1198
- --ui-neutral-highlight,
1199
- var(--ui-surface-highlight, linear-gradient(transparent, transparent))
1200
- );
1201
- --_outline-wash: oklch(from var(--_tone) l c h / calc(12% * var(--ui-tonal-opacity, 1)));
1200
+ --_outline-wash: var(--_tone-wash-hover);
1202
1201
  background-color: var(--ui-button-hover-surface, transparent);
1203
1202
  border-color: var(--ui-button-hover-border, var(--_tone-outline-border));
1204
1203
  }
@@ -1262,6 +1261,9 @@ svg,.arc {
1262
1261
  --ui-accent-secondary-outline-border,
1263
1262
  var(--ui-accent-secondary-subtle-text)
1264
1263
  );
1264
+ --_tone-wash: var(--ui-accent-secondary-wash);
1265
+ --_tone-wash-hover: var(--ui-accent-secondary-wash-hover);
1266
+ --_tone-ghost-hover: var(--ui-accent-secondary-ghost-hover);
1265
1267
  --_tone-glow: var(--ui-accent-secondary-glow, 0 0 transparent);
1266
1268
  --_hue: var(--ui-accent-secondary);
1267
1269
  --_hue-hover: var(--ui-accent-secondary-hover);
@@ -1282,6 +1284,9 @@ svg,.arc {
1282
1284
  --ui-accent-tertiary-outline-border,
1283
1285
  var(--ui-accent-tertiary-subtle-text)
1284
1286
  );
1287
+ --_tone-wash: var(--ui-accent-tertiary-wash);
1288
+ --_tone-wash-hover: var(--ui-accent-tertiary-wash-hover);
1289
+ --_tone-ghost-hover: var(--ui-accent-tertiary-ghost-hover);
1285
1290
  --_tone-glow: var(--ui-accent-tertiary-glow, 0 0 transparent);
1286
1291
  --_hue: var(--ui-accent-tertiary);
1287
1292
  --_hue-hover: var(--ui-accent-tertiary-hover);
@@ -1294,8 +1299,9 @@ svg,.arc {
1294
1299
  --_tone-hover-border: var(--ui-control-border-hover, var(--ui-neutral-hover));
1295
1300
  --_tone-active-border: var(--ui-control-border-hover, var(--ui-neutral-active));
1296
1301
  --_tone-highlight: var(--ui-neutral-highlight, none);
1297
- --_tone-hover-highlight: var(--ui-neutral-highlight, var(--_tone-highlight));
1302
+ --_tone-hover-highlight: var(--ui-neutral-hover-highlight, var(--_tone-highlight));
1298
1303
  --_tone-outline-border: var(--ui-control-border);
1304
+ --_tone-ghost-hover: var(--ui-neutral-ghost-hover);
1299
1305
  --_tone-glow: var(--ui-neutral-glow, 0 0 transparent);
1300
1306
  --_hue: var(--ui-text);
1301
1307
  --_hue-hover: var(--ui-text);
@@ -1316,8 +1322,8 @@ svg,.arc {
1316
1322
  }
1317
1323
  :scope[data-tone="neutral"][data-appearance="outline"]:hover:not(:disabled, [aria-disabled="true"]):where([data-hn-ui-button]) {
1318
1324
  border-color: var(--ui-button-hover-border, var(--ui-control-border-hover));
1319
- background-color: var(--ui-button-hover-surface, var(--ui-neutral-hover));
1320
- --_outline-wash: oklch(from var(--ui-text) l c h / 5%);
1325
+ background-color: var(--ui-button-hover-surface, transparent);
1326
+ --_outline-wash: var(--ui-neutral-wash-hover);
1321
1327
  background-image:
1322
1328
  linear-gradient(var(--_outline-wash), var(--_outline-wash)),
1323
1329
  var(--ui-surface-highlight, linear-gradient(transparent, transparent));
@@ -1342,6 +1348,9 @@ svg,.arc {
1342
1348
  --_tone-highlight: var(--ui-danger-highlight, none);
1343
1349
  --_tone-hover-highlight: var(--ui-danger-hover-highlight, none);
1344
1350
  --_tone-outline-border: var(--ui-danger-outline-border, var(--ui-danger-subtle-text));
1351
+ --_tone-wash: var(--ui-danger-wash);
1352
+ --_tone-wash-hover: var(--ui-danger-wash-hover);
1353
+ --_tone-ghost-hover: var(--ui-danger-ghost-hover);
1345
1354
  --_tone-glow: var(--ui-danger-glow, 0 0 transparent);
1346
1355
  --_hue: var(--ui-danger);
1347
1356
  --_hue-hover: var(--ui-danger-hover);
@@ -1356,6 +1365,9 @@ svg,.arc {
1356
1365
  --_tone-highlight: var(--ui-success-highlight, none);
1357
1366
  --_tone-hover-highlight: var(--ui-success-hover-highlight, none);
1358
1367
  --_tone-outline-border: var(--ui-success-outline-border, var(--ui-success-subtle-text));
1368
+ --_tone-wash: var(--ui-success-wash);
1369
+ --_tone-wash-hover: var(--ui-success-wash-hover);
1370
+ --_tone-ghost-hover: var(--ui-success-ghost-hover);
1359
1371
  --_tone-glow: var(--ui-success-glow, 0 0 transparent);
1360
1372
  --_hue: var(--ui-success);
1361
1373
  --_hue-hover: var(--ui-success-hover);
@@ -1370,6 +1382,9 @@ svg,.arc {
1370
1382
  --_tone-highlight: var(--ui-warning-highlight, none);
1371
1383
  --_tone-hover-highlight: var(--ui-warning-hover-highlight, none);
1372
1384
  --_tone-outline-border: var(--ui-warning-outline-border, var(--ui-warning-subtle-text));
1385
+ --_tone-wash: var(--ui-warning-wash);
1386
+ --_tone-wash-hover: var(--ui-warning-wash-hover);
1387
+ --_tone-ghost-hover: var(--ui-warning-ghost-hover);
1373
1388
  --_tone-glow: var(--ui-warning-glow, 0 0 transparent);
1374
1389
  --_hue: var(--ui-warning);
1375
1390
  --_hue-hover: var(--ui-warning-hover);
@@ -1384,6 +1399,9 @@ svg,.arc {
1384
1399
  --_tone-highlight: var(--ui-info-highlight, none);
1385
1400
  --_tone-hover-highlight: var(--ui-info-hover-highlight, none);
1386
1401
  --_tone-outline-border: var(--ui-info-outline-border, var(--ui-info-subtle-text));
1402
+ --_tone-wash: var(--ui-info-wash);
1403
+ --_tone-wash-hover: var(--ui-info-wash-hover);
1404
+ --_tone-ghost-hover: var(--ui-info-ghost-hover);
1387
1405
  --_tone-glow: var(--ui-info-glow, 0 0 transparent);
1388
1406
  --_hue: var(--ui-info);
1389
1407
  --_hue-hover: var(--ui-info-hover);
@@ -1429,10 +1447,7 @@ svg,.arc {
1429
1447
  color: var(--ui-button-ghost-text, var(--_tone-text));
1430
1448
  }
1431
1449
  :scope[data-appearance="ghost"]:hover:not(:disabled, [aria-disabled="true"]):where([data-hn-ui-button]) {
1432
- background-color: var(
1433
- --ui-button-ghost-hover-surface,
1434
- oklch(from var(--_tone) l c h / calc(10% * var(--ui-tonal-opacity, 1)))
1435
- );
1450
+ background-color: var(--ui-button-ghost-hover-surface, var(--_tone-ghost-hover));
1436
1451
  border-color: transparent;
1437
1452
  }
1438
1453
  :scope[data-appearance="ghost"]:is(:active, [aria-expanded="true"]):not(:disabled, [aria-disabled="true"]):where([data-hn-ui-button]) {
@@ -1846,7 +1861,7 @@ html[data-ui-input-modality="touch"]
1846
1861
 
1847
1862
  /* The SVG's painted bounds are centred in its viewBox, including its round stroke.
1848
1863
  Centre that box directly; rotated border boxes do not centre the visible check. */
1849
- @keyframes ui-checkbox-check-2c515f3a {
1864
+ @keyframes ui-checkbox-check-014ee143 {
1850
1865
  from {
1851
1866
  opacity: 0;
1852
1867
  scale: 0.55;
@@ -1965,7 +1980,7 @@ input:checked:where([data-hn-ui-checkbox])::after {
1965
1980
  center / contain no-repeat;
1966
1981
  opacity: 1;
1967
1982
  translate: -50% -50% !important;
1968
- animation: ui-checkbox-check-2c515f3a var(--ui-motion-base) var(--ui-motion-ease-out, cubic-bezier(0.16, 1, 0.3, 1)) both;
1983
+ animation: ui-checkbox-check-014ee143 var(--ui-motion-base) var(--ui-motion-ease-out, cubic-bezier(0.16, 1, 0.3, 1)) both;
1969
1984
  }
1970
1985
  input:indeterminate:where([data-hn-ui-checkbox])::after {
1971
1986
  mask: none;
@@ -1995,8 +2010,24 @@ input:checked:where([data-hn-ui-checkbox])::after,input:indeterminate:where([dat
1995
2010
  background: HighlightText;
1996
2011
  }
1997
2012
  }
1998
- input:hover:enabled:where([data-hn-ui-checkbox]) {
1999
- border-color: var(--ui-accent-solid);
2013
+ @media (hover: hover) and (forced-colors: none) {
2014
+ :scope:hover input:enabled:where([data-hn-ui-checkbox]) {
2015
+ --_choice-hover-wash: var(--ui-neutral-wash-hover);
2016
+ background-image:
2017
+ linear-gradient(var(--_choice-hover-wash), var(--_choice-hover-wash)),
2018
+ var(--ui-surface-highlight, linear-gradient(transparent, transparent));
2019
+ }
2020
+ :scope:hover input:enabled:not([aria-invalid="true"]):where([data-hn-ui-checkbox]) {
2021
+ border-color: var(--ui-control-border-hover, var(--ui-border-strong));
2022
+ }
2023
+ :scope:hover input:enabled:is(:checked, :indeterminate):where([data-hn-ui-checkbox]) {
2024
+ background-color: var(--ui-choice-hover-surface);
2025
+ background-image: var(--ui-choice-hover-highlight, none);
2026
+ }
2027
+ :scope:hover
2028
+ input:enabled:is(:checked, :indeterminate):not([aria-invalid="true"]):where([data-hn-ui-checkbox]) {
2029
+ border-color: var(--ui-choice-hover-surface);
2030
+ }
2000
2031
  }
2001
2032
  input:focus-visible:where([data-hn-ui-checkbox]) {
2002
2033
  outline: var(--ui-focus-width) solid var(--ui-focus-ring, var(--ui-accent-solid));
@@ -3664,6 +3695,9 @@ input:disabled:where(:scope, :scope *):where([data-hn-ui-combobox]),button:disab
3664
3695
  --_tone-highlight: var(--ui-accent-highlight, none);
3665
3696
  --_tone-hover-highlight: var(--ui-accent-hover-highlight, none);
3666
3697
  --_tone-outline-border: var(--ui-accent-outline-border, var(--ui-accent-subtle-text));
3698
+ --_tone-wash: var(--ui-accent-wash);
3699
+ --_tone-wash-hover: var(--ui-accent-wash-hover);
3700
+ --_tone-ghost-hover: var(--ui-accent-ghost-hover);
3667
3701
  --_tone-glow: var(--ui-accent-glow, 0 0 transparent);
3668
3702
  --_ui-action-start: 1px;
3669
3703
  --_ui-action-edge: var(
@@ -3707,6 +3741,9 @@ input:disabled:where(:scope, :scope *):where([data-hn-ui-combobox]),button:disab
3707
3741
  --ui-accent-secondary-outline-border,
3708
3742
  var(--ui-accent-secondary-subtle-text)
3709
3743
  );
3744
+ --_tone-wash: var(--ui-accent-secondary-wash);
3745
+ --_tone-wash-hover: var(--ui-accent-secondary-wash-hover);
3746
+ --_tone-ghost-hover: var(--ui-accent-secondary-ghost-hover);
3710
3747
  --_tone-glow: var(--ui-accent-secondary-glow, 0 0 transparent);
3711
3748
  --_icon-button-border: var(--ui-accent-secondary-subtle-text);
3712
3749
  --_icon-button-hover-border: var(--ui-accent-secondary-subtle-text);
@@ -3735,6 +3772,9 @@ input:disabled:where(:scope, :scope *):where([data-hn-ui-combobox]),button:disab
3735
3772
  --ui-accent-tertiary-outline-border,
3736
3773
  var(--ui-accent-tertiary-subtle-text)
3737
3774
  );
3775
+ --_tone-wash: var(--ui-accent-tertiary-wash);
3776
+ --_tone-wash-hover: var(--ui-accent-tertiary-wash-hover);
3777
+ --_tone-ghost-hover: var(--ui-accent-tertiary-ghost-hover);
3738
3778
  --_tone-glow: var(--ui-accent-tertiary-glow, 0 0 transparent);
3739
3779
  --_icon-button-border: var(--ui-accent-tertiary-subtle-text);
3740
3780
  --_icon-button-hover-border: var(--ui-accent-tertiary-subtle-text);
@@ -3757,6 +3797,9 @@ input:disabled:where(:scope, :scope *):where([data-hn-ui-combobox]),button:disab
3757
3797
  --_tone-highlight: var(--ui-accent-highlight, none);
3758
3798
  --_tone-hover-highlight: var(--ui-accent-hover-highlight, none);
3759
3799
  --_tone-outline-border: var(--ui-accent-outline-border, var(--ui-accent-subtle-text));
3800
+ --_tone-wash: var(--ui-accent-wash);
3801
+ --_tone-wash-hover: var(--ui-accent-wash-hover);
3802
+ --_tone-ghost-hover: var(--ui-accent-ghost-hover);
3760
3803
  --_tone-glow: var(--ui-accent-glow, 0 0 transparent);
3761
3804
  --_icon-button-border: var(--ui-accent-subtle-text);
3762
3805
  --_icon-button-hover-border: var(--ui-accent-subtle-text);
@@ -3776,6 +3819,9 @@ input:disabled:where(:scope, :scope *):where([data-hn-ui-combobox]),button:disab
3776
3819
  --_tone-highlight: var(--ui-danger-highlight, none);
3777
3820
  --_tone-hover-highlight: var(--ui-danger-hover-highlight, none);
3778
3821
  --_tone-outline-border: var(--ui-danger-outline-border, var(--ui-danger-subtle-text));
3822
+ --_tone-wash: var(--ui-danger-wash);
3823
+ --_tone-wash-hover: var(--ui-danger-wash-hover);
3824
+ --_tone-ghost-hover: var(--ui-danger-ghost-hover);
3779
3825
  --_tone-glow: var(--ui-danger-glow, 0 0 transparent);
3780
3826
  --_icon-button-border: var(--ui-danger-subtle-text);
3781
3827
  --_icon-button-hover-border: var(--ui-danger-subtle-text);
@@ -3798,6 +3844,9 @@ input:disabled:where(:scope, :scope *):where([data-hn-ui-combobox]),button:disab
3798
3844
  --_tone-highlight: var(--ui-success-highlight, none);
3799
3845
  --_tone-hover-highlight: var(--ui-success-hover-highlight, none);
3800
3846
  --_tone-outline-border: var(--ui-success-outline-border, var(--ui-success-subtle-text));
3847
+ --_tone-wash: var(--ui-success-wash);
3848
+ --_tone-wash-hover: var(--ui-success-wash-hover);
3849
+ --_tone-ghost-hover: var(--ui-success-ghost-hover);
3801
3850
  --_tone-glow: var(--ui-success-glow, 0 0 transparent);
3802
3851
  --_icon-button-border: var(--ui-success-subtle-text);
3803
3852
  --_icon-button-hover-border: var(--ui-success-subtle-text);
@@ -3820,6 +3869,9 @@ input:disabled:where(:scope, :scope *):where([data-hn-ui-combobox]),button:disab
3820
3869
  --_tone-highlight: var(--ui-warning-highlight, none);
3821
3870
  --_tone-hover-highlight: var(--ui-warning-hover-highlight, none);
3822
3871
  --_tone-outline-border: var(--ui-warning-outline-border, var(--ui-warning-subtle-text));
3872
+ --_tone-wash: var(--ui-warning-wash);
3873
+ --_tone-wash-hover: var(--ui-warning-wash-hover);
3874
+ --_tone-ghost-hover: var(--ui-warning-ghost-hover);
3823
3875
  --_tone-glow: var(--ui-warning-glow, 0 0 transparent);
3824
3876
  --_icon-button-border: var(--ui-warning-subtle-text);
3825
3877
  --_icon-button-hover-border: var(--ui-warning-subtle-text);
@@ -3842,6 +3894,9 @@ input:disabled:where(:scope, :scope *):where([data-hn-ui-combobox]),button:disab
3842
3894
  --_tone-highlight: var(--ui-info-highlight, none);
3843
3895
  --_tone-hover-highlight: var(--ui-info-hover-highlight, none);
3844
3896
  --_tone-outline-border: var(--ui-info-outline-border, var(--ui-info-subtle-text));
3897
+ --_tone-wash: var(--ui-info-wash);
3898
+ --_tone-wash-hover: var(--ui-info-wash-hover);
3899
+ --_tone-ghost-hover: var(--ui-info-ghost-hover);
3845
3900
  --_tone-glow: var(--ui-info-glow, 0 0 transparent);
3846
3901
  --_icon-button-border: var(--ui-info-subtle-text);
3847
3902
  --_icon-button-hover-border: var(--ui-info-subtle-text);
@@ -3862,8 +3917,9 @@ input:disabled:where(:scope, :scope *):where([data-hn-ui-combobox]),button:disab
3862
3917
  --_solid-active-border: var(--ui-control-border-hover, var(--ui-neutral-active));
3863
3918
  --_solid-active-surface: var(--ui-neutral-active, var(--ui-neutral-hover));
3864
3919
  --_tone-highlight: var(--ui-neutral-highlight, none);
3865
- --_tone-hover-highlight: var(--ui-neutral-highlight, var(--_tone-highlight));
3920
+ --_tone-hover-highlight: var(--ui-neutral-hover-highlight, var(--_tone-highlight));
3866
3921
  --_tone-outline-border: var(--ui-control-border);
3922
+ --_tone-ghost-hover: var(--ui-neutral-ghost-hover);
3867
3923
  --_tone-glow: var(--ui-neutral-glow, 0 0 transparent);
3868
3924
  --_icon-button-outline-surface: transparent;
3869
3925
  --_icon-button-border: var(--ui-control-border);
@@ -4041,19 +4097,13 @@ html[data-ui-input-modality="touch"] :scope:where([data-hn-ui-icon-button])::aft
4041
4097
  box-shadow: var(--ui-icon-button-solid-shadow, var(--ui-neutral-shadow));
4042
4098
  }
4043
4099
  :scope:hover:enabled:not([aria-disabled="true"]):where([data-hn-ui-icon-button]) {
4044
- /* Derived from the text colour so the ghost hover shows on any background. */
4045
- background-color: var(
4046
- --ui-icon-button-hover-surface,
4047
- color-mix(in srgb, currentColor 8%, transparent)
4048
- );
4100
+ /* Shared translucent paint keeps text and icon action feedback coordinated. */
4101
+ background-color: var(--ui-icon-button-hover-surface, var(--_tone-ghost-hover));
4049
4102
  color: var(--ui-icon-button-hover-text, var(--_icon-button-text, var(--ui-text-primary)));
4050
4103
  }
4051
4104
  :scope[data-appearance="outline"]:not([data-tone="neutral"]):where([data-hn-ui-icon-button]) {
4052
4105
  --_outline-highlight: var(--ui-surface-highlight, linear-gradient(transparent, transparent));
4053
- --_outline-wash: oklch(
4054
- from var(--_icon-button-solid-surface, var(--ui-accent))
4055
- l c h / calc(8% * var(--ui-tonal-opacity, 1))
4056
- );
4106
+ --_outline-wash: var(--_tone-wash);
4057
4107
  border-color: var(--ui-icon-button-border, var(--_tone-outline-border));
4058
4108
  background-color: var(--ui-icon-button-outline-surface, transparent);
4059
4109
  background-image:
@@ -4061,14 +4111,7 @@ html[data-ui-input-modality="touch"] :scope:where([data-hn-ui-icon-button])::aft
4061
4111
  var(--_outline-highlight);
4062
4112
  }
4063
4113
  :scope[data-appearance="outline"]:not([data-tone="neutral"]):hover:enabled:not([aria-disabled="true"]):where([data-hn-ui-icon-button]) {
4064
- --_outline-highlight: var(
4065
- --ui-neutral-highlight,
4066
- var(--ui-surface-highlight, linear-gradient(transparent, transparent))
4067
- );
4068
- --_outline-wash: oklch(
4069
- from var(--_icon-button-solid-surface, var(--ui-accent))
4070
- l c h / calc(12% * var(--ui-tonal-opacity, 1))
4071
- );
4114
+ --_outline-wash: var(--_tone-wash-hover);
4072
4115
  background-color: var(--ui-icon-button-hover-surface, transparent);
4073
4116
  border-color: var(--ui-icon-button-hover-border, var(--_tone-outline-border));
4074
4117
  }
@@ -4079,8 +4122,8 @@ html[data-ui-input-modality="touch"] :scope:where([data-hn-ui-icon-button])::aft
4079
4122
  );
4080
4123
  }
4081
4124
  :scope[data-tone="neutral"][data-appearance="outline"]:hover:enabled:not([aria-disabled="true"]):where([data-hn-ui-icon-button]) {
4082
- background-color: var(--ui-icon-button-hover-surface, var(--ui-neutral-hover));
4083
- --_outline-wash: oklch(from var(--ui-text) l c h / 5%);
4125
+ background-color: var(--ui-icon-button-hover-surface, transparent);
4126
+ --_outline-wash: var(--ui-neutral-wash-hover);
4084
4127
  background-image:
4085
4128
  linear-gradient(var(--_outline-wash), var(--_outline-wash)),
4086
4129
  var(--ui-surface-highlight, linear-gradient(transparent, transparent));
@@ -9280,13 +9323,32 @@ input:where([data-hn-ui-radio])::after {
9280
9323
  }
9281
9324
  input:checked:where([data-hn-ui-radio]) {
9282
9325
  background-color: var(--ui-accent-solid);
9283
- background-image: var(--ui-accent-highlight, none);
9326
+ background-image: none;
9284
9327
  border-color: var(--ui-accent-solid);
9285
9328
  box-shadow: none;
9286
9329
  }
9287
9330
  input:checked:where([data-hn-ui-radio])::after {
9288
9331
  opacity: 1;
9289
9332
  }
9333
+ @media (hover: hover) and (forced-colors: none) {
9334
+ :scope:hover input:enabled:where([data-hn-ui-radio]) {
9335
+ --_choice-hover-wash: var(--ui-neutral-wash-hover);
9336
+ background-image:
9337
+ linear-gradient(var(--_choice-hover-wash), var(--_choice-hover-wash)),
9338
+ var(--ui-surface-highlight, linear-gradient(transparent, transparent));
9339
+ }
9340
+ :scope:hover input:enabled:not([aria-invalid="true"]):where([data-hn-ui-radio]) {
9341
+ border-color: var(--ui-control-border-hover, var(--ui-border-strong));
9342
+ }
9343
+ :scope:hover input:enabled:checked:where([data-hn-ui-radio]) {
9344
+ background-color: var(--ui-choice-hover-surface);
9345
+ background-image: none;
9346
+ }
9347
+ :scope:hover
9348
+ input:enabled:checked:not([aria-invalid="true"]):where([data-hn-ui-radio]) {
9349
+ border-color: var(--ui-choice-hover-surface);
9350
+ }
9351
+ }
9290
9352
  input:focus-visible:where([data-hn-ui-radio]) {
9291
9353
  outline: var(--ui-focus-width) solid var(--ui-focus-ring, var(--ui-accent-solid));
9292
9354
  outline-offset: var(--ui-focus-width);
@@ -10190,6 +10252,7 @@ dialog:where([data-hn-ui-search-shell]) {
10190
10252
  display: none !important;
10191
10253
  }
10192
10254
  :scope[data-ui-site-header-state~="drawer"] .identity:where([data-hn-ui-site-header]) {
10255
+ column-gap: var(--ui-space-2) !important;
10193
10256
  flex-wrap: nowrap !important;
10194
10257
  align-items: center !important;
10195
10258
  }
@@ -10205,10 +10268,7 @@ dialog:where([data-hn-ui-search-shell]) {
10205
10268
  .identity:where([data-hn-ui-site-header]) {
10206
10269
  flex-wrap: nowrap !important;
10207
10270
  align-items: center !important;
10208
- }
10209
- :scope[data-ui-site-header-state~="breakpoint=sm"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
10210
- .brand:where([data-hn-ui-site-header]) {
10211
- flex: 1 1 0;
10271
+ column-gap: var(--ui-space-2) !important;
10212
10272
  }
10213
10273
  :scope[data-ui-site-header-state~="breakpoint=sm"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
10214
10274
  .menu:where([data-hn-ui-site-header]) {
@@ -10227,10 +10287,7 @@ dialog:where([data-hn-ui-search-shell]) {
10227
10287
  .identity:where([data-hn-ui-site-header]) {
10228
10288
  flex-wrap: nowrap !important;
10229
10289
  align-items: center !important;
10230
- }
10231
- :scope[data-ui-site-header-state~="breakpoint=md"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
10232
- .brand:where([data-hn-ui-site-header]) {
10233
- flex: 1 1 0;
10290
+ column-gap: var(--ui-space-2) !important;
10234
10291
  }
10235
10292
  :scope[data-ui-site-header-state~="breakpoint=md"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
10236
10293
  .menu:where([data-hn-ui-site-header]) {
@@ -10249,10 +10306,7 @@ dialog:where([data-hn-ui-search-shell]) {
10249
10306
  .identity:where([data-hn-ui-site-header]) {
10250
10307
  flex-wrap: nowrap !important;
10251
10308
  align-items: center !important;
10252
- }
10253
- :scope[data-ui-site-header-state~="breakpoint=lg"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
10254
- .brand:where([data-hn-ui-site-header]) {
10255
- flex: 1 1 0;
10309
+ column-gap: var(--ui-space-2) !important;
10256
10310
  }
10257
10311
  :scope[data-ui-site-header-state~="breakpoint=lg"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
10258
10312
  .menu:where([data-hn-ui-site-header]) {
@@ -10480,6 +10534,7 @@ dialog:where([data-hn-ui-search-shell]) {
10480
10534
  }
10481
10535
  :where(.ui-site-header)[data-ui-site-header-state~="drawer"]
10482
10536
  .identity:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]) {
10537
+ column-gap: var(--ui-space-2) !important;
10483
10538
  flex-wrap: nowrap !important;
10484
10539
  align-items: center !important;
10485
10540
  }
@@ -10495,10 +10550,7 @@ dialog:where([data-hn-ui-search-shell]) {
10495
10550
  .identity:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]) {
10496
10551
  flex-wrap: nowrap !important;
10497
10552
  align-items: center !important;
10498
- }
10499
- :where(.ui-site-header)[data-ui-site-header-state~="breakpoint=sm"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
10500
- .brand:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]) {
10501
- flex: 1 1 0;
10553
+ column-gap: var(--ui-space-2) !important;
10502
10554
  }
10503
10555
  :where(.ui-site-header)[data-ui-site-header-state~="breakpoint=sm"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
10504
10556
  .menu:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]) {
@@ -10517,10 +10569,7 @@ dialog:where([data-hn-ui-search-shell]) {
10517
10569
  .identity:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]) {
10518
10570
  flex-wrap: nowrap !important;
10519
10571
  align-items: center !important;
10520
- }
10521
- :where(.ui-site-header)[data-ui-site-header-state~="breakpoint=md"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
10522
- .brand:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]) {
10523
- flex: 1 1 0;
10572
+ column-gap: var(--ui-space-2) !important;
10524
10573
  }
10525
10574
  :where(.ui-site-header)[data-ui-site-header-state~="breakpoint=md"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
10526
10575
  .menu:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]) {
@@ -10539,10 +10588,7 @@ dialog:where([data-hn-ui-search-shell]) {
10539
10588
  .identity:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]) {
10540
10589
  flex-wrap: nowrap !important;
10541
10590
  align-items: center !important;
10542
- }
10543
- :where(.ui-site-header)[data-ui-site-header-state~="breakpoint=lg"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
10544
- .brand:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]) {
10545
- flex: 1 1 0;
10591
+ column-gap: var(--ui-space-2) !important;
10546
10592
  }
10547
10593
  :where(.ui-site-header)[data-ui-site-header-state~="breakpoint=lg"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
10548
10594
  .menu:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]) {
@@ -10971,6 +11017,25 @@ input:checked:where([data-hn-ui-switch])::after {
10971
11017
  background-color: var(--ui-text-on-accent);
10972
11018
  background-image: var(--ui-knob-on-accent-highlight, none);
10973
11019
  }
11020
+ @media (hover: hover) and (forced-colors: none) {
11021
+ :scope:hover input:enabled:where([data-hn-ui-switch]) {
11022
+ --_choice-hover-wash: var(--ui-neutral-wash-hover);
11023
+ background-image:
11024
+ linear-gradient(var(--_choice-hover-wash), var(--_choice-hover-wash)),
11025
+ var(--ui-surface-highlight, linear-gradient(transparent, transparent));
11026
+ }
11027
+ :scope:hover input:enabled:not([aria-invalid="true"]):where([data-hn-ui-switch]) {
11028
+ border-color: var(--ui-control-border-hover, var(--ui-border-strong));
11029
+ }
11030
+ :scope:hover input:enabled:checked:where([data-hn-ui-switch]) {
11031
+ background-color: var(--ui-choice-hover-surface);
11032
+ background-image: var(--ui-choice-hover-highlight, none);
11033
+ }
11034
+ :scope:hover
11035
+ input:enabled:checked:not([aria-invalid="true"]):where([data-hn-ui-switch]) {
11036
+ border-color: var(--ui-choice-hover-surface);
11037
+ }
11038
+ }
10974
11039
  input:focus-visible:where([data-hn-ui-switch]) {
10975
11040
  outline: var(--ui-focus-width) solid var(--ui-focus-ring, var(--ui-accent-solid));
10976
11041
  outline-offset: var(--ui-focus-width);
@@ -13696,6 +13761,9 @@ html[data-ui-input-modality="touch"]
13696
13761
  --_tone-highlight: var(--ui-accent-highlight, none);
13697
13762
  --_tone-hover-highlight: var(--ui-accent-hover-highlight, none);
13698
13763
  --_tone-outline-border: var(--ui-accent-outline-border, var(--ui-accent-subtle-text));
13764
+ --_tone-wash: var(--ui-accent-wash);
13765
+ --_tone-wash-hover: var(--ui-accent-wash-hover);
13766
+ --_tone-ghost-hover: var(--ui-accent-ghost-hover);
13699
13767
  --_tone-glow: var(--ui-accent-glow, 0 0 transparent);
13700
13768
  --_hue: var(--ui-accent);
13701
13769
  --_hue-hover: var(--ui-accent-hover);
@@ -13882,7 +13950,7 @@ html[data-ui-input-modality="touch"]
13882
13950
 
13883
13951
  :scope:where([data-component~="ui-button"])[data-appearance="outline"]:not([data-tone="neutral"]) {
13884
13952
  --_outline-highlight: var(--ui-surface-highlight, linear-gradient(transparent, transparent));
13885
- --_outline-wash: oklch(from var(--_tone) l c h / calc(8% * var(--ui-tonal-opacity, 1)));
13953
+ --_outline-wash: var(--_tone-wash);
13886
13954
  border-color: var(--ui-button-border, var(--_tone-outline-border, var(--_tone-text)));
13887
13955
  background-color: var(--ui-button-surface, transparent);
13888
13956
  box-shadow: var(--ui-button-shadow, var(--ui-neutral-shadow));
@@ -13892,8 +13960,7 @@ html[data-ui-input-modality="touch"]
13892
13960
  }
13893
13961
 
13894
13962
  :scope:where([data-component~="ui-button"])[data-appearance="outline"]:not([data-tone="neutral"]):hover:not(:disabled, [aria-disabled="true"]) {
13895
- --_outline-highlight: var(--ui-neutral-highlight, var(--ui-surface-highlight, linear-gradient(transparent, transparent)));
13896
- --_outline-wash: oklch(from var(--_tone) l c h / calc(12% * var(--ui-tonal-opacity, 1)));
13963
+ --_outline-wash: var(--_tone-wash-hover);
13897
13964
  background-color: var(--ui-button-hover-surface, transparent);
13898
13965
  border-color: var(--ui-button-hover-border, var(--_tone-outline-border));
13899
13966
  }
@@ -13961,6 +14028,9 @@ html[data-ui-input-modality="touch"]
13961
14028
  --_tone-highlight: var(--ui-accent-secondary-highlight, none);
13962
14029
  --_tone-hover-highlight: var(--ui-accent-secondary-hover-highlight, none);
13963
14030
  --_tone-outline-border: var(--ui-accent-secondary-outline-border, var(--ui-accent-secondary-subtle-text));
14031
+ --_tone-wash: var(--ui-accent-secondary-wash);
14032
+ --_tone-wash-hover: var(--ui-accent-secondary-wash-hover);
14033
+ --_tone-ghost-hover: var(--ui-accent-secondary-ghost-hover);
13964
14034
  --_tone-glow: var(--ui-accent-secondary-glow, 0 0 transparent);
13965
14035
  --_hue: var(--ui-accent-secondary);
13966
14036
  --_hue-hover: var(--ui-accent-secondary-hover);
@@ -13976,6 +14046,9 @@ html[data-ui-input-modality="touch"]
13976
14046
  --_tone-highlight: var(--ui-accent-tertiary-highlight, none);
13977
14047
  --_tone-hover-highlight: var(--ui-accent-tertiary-hover-highlight, none);
13978
14048
  --_tone-outline-border: var(--ui-accent-tertiary-outline-border, var(--ui-accent-tertiary-subtle-text));
14049
+ --_tone-wash: var(--ui-accent-tertiary-wash);
14050
+ --_tone-wash-hover: var(--ui-accent-tertiary-wash-hover);
14051
+ --_tone-ghost-hover: var(--ui-accent-tertiary-ghost-hover);
13979
14052
  --_tone-glow: var(--ui-accent-tertiary-glow, 0 0 transparent);
13980
14053
  --_hue: var(--ui-accent-tertiary);
13981
14054
  --_hue-hover: var(--ui-accent-tertiary-hover);
@@ -13989,8 +14062,9 @@ html[data-ui-input-modality="touch"]
13989
14062
  --_tone-hover-border: var(--ui-control-border-hover, var(--ui-neutral-hover));
13990
14063
  --_tone-active-border: var(--ui-control-border-hover, var(--ui-neutral-active));
13991
14064
  --_tone-highlight: var(--ui-neutral-highlight, none);
13992
- --_tone-hover-highlight: var(--ui-neutral-highlight, var(--_tone-highlight));
14065
+ --_tone-hover-highlight: var(--ui-neutral-hover-highlight, var(--_tone-highlight));
13993
14066
  --_tone-outline-border: var(--ui-control-border);
14067
+ --_tone-ghost-hover: var(--ui-neutral-ghost-hover);
13994
14068
  --_tone-glow: var(--ui-neutral-glow, 0 0 transparent);
13995
14069
  --_hue: var(--ui-text);
13996
14070
  --_hue-hover: var(--ui-text);
@@ -14012,8 +14086,8 @@ html[data-ui-input-modality="touch"]
14012
14086
  }
14013
14087
  :scope:where([data-component~="ui-button"])[data-tone="neutral"][data-appearance="outline"]:hover:not(:disabled, [aria-disabled="true"]) {
14014
14088
  border-color: var(--ui-button-hover-border, var(--ui-control-border-hover));
14015
- background-color: var(--ui-button-hover-surface, var(--ui-neutral-hover));
14016
- --_outline-wash: oklch(from var(--ui-text) l c h / 5%);
14089
+ background-color: var(--ui-button-hover-surface, transparent);
14090
+ --_outline-wash: var(--ui-neutral-wash-hover);
14017
14091
  background-image:
14018
14092
  linear-gradient(var(--_outline-wash), var(--_outline-wash)),
14019
14093
  var(--ui-surface-highlight, linear-gradient(transparent, transparent));
@@ -14039,6 +14113,9 @@ html[data-ui-input-modality="touch"]
14039
14113
  --_tone-highlight: var(--ui-danger-highlight, none);
14040
14114
  --_tone-hover-highlight: var(--ui-danger-hover-highlight, none);
14041
14115
  --_tone-outline-border: var(--ui-danger-outline-border, var(--ui-danger-subtle-text));
14116
+ --_tone-wash: var(--ui-danger-wash);
14117
+ --_tone-wash-hover: var(--ui-danger-wash-hover);
14118
+ --_tone-ghost-hover: var(--ui-danger-ghost-hover);
14042
14119
  --_tone-glow: var(--ui-danger-glow, 0 0 transparent);
14043
14120
  --_hue: var(--ui-danger);
14044
14121
  --_hue-hover: var(--ui-danger-hover);
@@ -14054,6 +14131,9 @@ html[data-ui-input-modality="touch"]
14054
14131
  --_tone-highlight: var(--ui-success-highlight, none);
14055
14132
  --_tone-hover-highlight: var(--ui-success-hover-highlight, none);
14056
14133
  --_tone-outline-border: var(--ui-success-outline-border, var(--ui-success-subtle-text));
14134
+ --_tone-wash: var(--ui-success-wash);
14135
+ --_tone-wash-hover: var(--ui-success-wash-hover);
14136
+ --_tone-ghost-hover: var(--ui-success-ghost-hover);
14057
14137
  --_tone-glow: var(--ui-success-glow, 0 0 transparent);
14058
14138
  --_hue: var(--ui-success);
14059
14139
  --_hue-hover: var(--ui-success-hover);
@@ -14069,6 +14149,9 @@ html[data-ui-input-modality="touch"]
14069
14149
  --_tone-highlight: var(--ui-warning-highlight, none);
14070
14150
  --_tone-hover-highlight: var(--ui-warning-hover-highlight, none);
14071
14151
  --_tone-outline-border: var(--ui-warning-outline-border, var(--ui-warning-subtle-text));
14152
+ --_tone-wash: var(--ui-warning-wash);
14153
+ --_tone-wash-hover: var(--ui-warning-wash-hover);
14154
+ --_tone-ghost-hover: var(--ui-warning-ghost-hover);
14072
14155
  --_tone-glow: var(--ui-warning-glow, 0 0 transparent);
14073
14156
  --_hue: var(--ui-warning);
14074
14157
  --_hue-hover: var(--ui-warning-hover);
@@ -14084,6 +14167,9 @@ html[data-ui-input-modality="touch"]
14084
14167
  --_tone-highlight: var(--ui-info-highlight, none);
14085
14168
  --_tone-hover-highlight: var(--ui-info-hover-highlight, none);
14086
14169
  --_tone-outline-border: var(--ui-info-outline-border, var(--ui-info-subtle-text));
14170
+ --_tone-wash: var(--ui-info-wash);
14171
+ --_tone-wash-hover: var(--ui-info-wash-hover);
14172
+ --_tone-ghost-hover: var(--ui-info-ghost-hover);
14087
14173
  --_tone-glow: var(--ui-info-glow, 0 0 transparent);
14088
14174
  --_hue: var(--ui-info);
14089
14175
  --_hue-hover: var(--ui-info-hover);
@@ -14126,9 +14212,9 @@ html[data-ui-input-modality="touch"]
14126
14212
  color: var(--ui-button-ghost-text, var(--_tone-text));
14127
14213
  }
14128
14214
 
14129
- /* Tints derive from the text colour, not a surface token, so hover and press show on any background. */
14215
+ /* Shared translucent paint keeps text and icon action feedback coordinated. */
14130
14216
  :scope:where([data-component~="ui-button"])[data-appearance="ghost"]:hover:not(:disabled, [aria-disabled="true"]) {
14131
- background-color: var(--ui-button-ghost-hover-surface, oklch(from var(--_tone) l c h / calc(10% * var(--ui-tonal-opacity, 1))));
14217
+ background-color: var(--ui-button-ghost-hover-surface, var(--_tone-ghost-hover));
14132
14218
  border-color: transparent;
14133
14219
  }
14134
14220
 
@@ -14285,7 +14371,7 @@ html[data-ui-input-modality="touch"]
14285
14371
 
14286
14372
  /* A value picker is a field, with Select's quiet edge and resting lift. */
14287
14373
 
14288
- /* Tints derive from the text colour, not a surface token, so hover and press show on any background. */
14374
+ /* Shared translucent paint keeps text and icon action feedback coordinated. */
14289
14375
 
14290
14376
  /* A soft halo that transitions in with the other box-shadow changes, layered on the raised shadow. */
14291
14377
 
@@ -14593,6 +14679,9 @@ html[data-ui-input-modality="touch"]
14593
14679
  --_tone-highlight: var(--ui-accent-highlight, none);
14594
14680
  --_tone-hover-highlight: var(--ui-accent-hover-highlight, none);
14595
14681
  --_tone-outline-border: var(--ui-accent-outline-border, var(--ui-accent-subtle-text));
14682
+ --_tone-wash: var(--ui-accent-wash);
14683
+ --_tone-wash-hover: var(--ui-accent-wash-hover);
14684
+ --_tone-ghost-hover: var(--ui-accent-ghost-hover);
14596
14685
  --_tone-glow: var(--ui-accent-glow, 0 0 transparent);
14597
14686
  --_ui-action-start: 1px;
14598
14687
  --_ui-action-edge: var(
@@ -14621,6 +14710,9 @@ html[data-ui-input-modality="touch"]
14621
14710
  --_tone-highlight: var(--ui-accent-secondary-highlight, none);
14622
14711
  --_tone-hover-highlight: var(--ui-accent-secondary-hover-highlight, none);
14623
14712
  --_tone-outline-border: var(--ui-accent-secondary-outline-border, var(--ui-accent-secondary-subtle-text));
14713
+ --_tone-wash: var(--ui-accent-secondary-wash);
14714
+ --_tone-wash-hover: var(--ui-accent-secondary-wash-hover);
14715
+ --_tone-ghost-hover: var(--ui-accent-secondary-ghost-hover);
14624
14716
  --_tone-glow: var(--ui-accent-secondary-glow, 0 0 transparent);
14625
14717
  --_icon-button-border: var(--ui-accent-secondary-subtle-text);
14626
14718
  --_icon-button-hover-border: var(--ui-accent-secondary-subtle-text);
@@ -14640,6 +14732,9 @@ html[data-ui-input-modality="touch"]
14640
14732
  --_tone-highlight: var(--ui-accent-tertiary-highlight, none);
14641
14733
  --_tone-hover-highlight: var(--ui-accent-tertiary-hover-highlight, none);
14642
14734
  --_tone-outline-border: var(--ui-accent-tertiary-outline-border, var(--ui-accent-tertiary-subtle-text));
14735
+ --_tone-wash: var(--ui-accent-tertiary-wash);
14736
+ --_tone-wash-hover: var(--ui-accent-tertiary-wash-hover);
14737
+ --_tone-ghost-hover: var(--ui-accent-tertiary-ghost-hover);
14643
14738
  --_tone-glow: var(--ui-accent-tertiary-glow, 0 0 transparent);
14644
14739
  --_icon-button-border: var(--ui-accent-tertiary-subtle-text);
14645
14740
  --_icon-button-hover-border: var(--ui-accent-tertiary-subtle-text);
@@ -14659,6 +14754,9 @@ html[data-ui-input-modality="touch"]
14659
14754
  --_tone-highlight: var(--ui-accent-highlight, none);
14660
14755
  --_tone-hover-highlight: var(--ui-accent-hover-highlight, none);
14661
14756
  --_tone-outline-border: var(--ui-accent-outline-border, var(--ui-accent-subtle-text));
14757
+ --_tone-wash: var(--ui-accent-wash);
14758
+ --_tone-wash-hover: var(--ui-accent-wash-hover);
14759
+ --_tone-ghost-hover: var(--ui-accent-ghost-hover);
14662
14760
  --_tone-glow: var(--ui-accent-glow, 0 0 transparent);
14663
14761
  --_icon-button-border: var(--ui-accent-subtle-text);
14664
14762
  --_icon-button-hover-border: var(--ui-accent-subtle-text);
@@ -14675,6 +14773,9 @@ html[data-ui-input-modality="touch"]
14675
14773
  --_tone-highlight: var(--ui-danger-highlight, none);
14676
14774
  --_tone-hover-highlight: var(--ui-danger-hover-highlight, none);
14677
14775
  --_tone-outline-border: var(--ui-danger-outline-border, var(--ui-danger-subtle-text));
14776
+ --_tone-wash: var(--ui-danger-wash);
14777
+ --_tone-wash-hover: var(--ui-danger-wash-hover);
14778
+ --_tone-ghost-hover: var(--ui-danger-ghost-hover);
14678
14779
  --_tone-glow: var(--ui-danger-glow, 0 0 transparent);
14679
14780
  --_icon-button-border: var(--ui-danger-subtle-text);
14680
14781
  --_icon-button-hover-border: var(--ui-danger-subtle-text);
@@ -14694,6 +14795,9 @@ html[data-ui-input-modality="touch"]
14694
14795
  --_tone-highlight: var(--ui-success-highlight, none);
14695
14796
  --_tone-hover-highlight: var(--ui-success-hover-highlight, none);
14696
14797
  --_tone-outline-border: var(--ui-success-outline-border, var(--ui-success-subtle-text));
14798
+ --_tone-wash: var(--ui-success-wash);
14799
+ --_tone-wash-hover: var(--ui-success-wash-hover);
14800
+ --_tone-ghost-hover: var(--ui-success-ghost-hover);
14697
14801
  --_tone-glow: var(--ui-success-glow, 0 0 transparent);
14698
14802
  --_icon-button-border: var(--ui-success-subtle-text);
14699
14803
  --_icon-button-hover-border: var(--ui-success-subtle-text);
@@ -14713,6 +14817,9 @@ html[data-ui-input-modality="touch"]
14713
14817
  --_tone-highlight: var(--ui-warning-highlight, none);
14714
14818
  --_tone-hover-highlight: var(--ui-warning-hover-highlight, none);
14715
14819
  --_tone-outline-border: var(--ui-warning-outline-border, var(--ui-warning-subtle-text));
14820
+ --_tone-wash: var(--ui-warning-wash);
14821
+ --_tone-wash-hover: var(--ui-warning-wash-hover);
14822
+ --_tone-ghost-hover: var(--ui-warning-ghost-hover);
14716
14823
  --_tone-glow: var(--ui-warning-glow, 0 0 transparent);
14717
14824
  --_icon-button-border: var(--ui-warning-subtle-text);
14718
14825
  --_icon-button-hover-border: var(--ui-warning-subtle-text);
@@ -14732,6 +14839,9 @@ html[data-ui-input-modality="touch"]
14732
14839
  --_tone-highlight: var(--ui-info-highlight, none);
14733
14840
  --_tone-hover-highlight: var(--ui-info-hover-highlight, none);
14734
14841
  --_tone-outline-border: var(--ui-info-outline-border, var(--ui-info-subtle-text));
14842
+ --_tone-wash: var(--ui-info-wash);
14843
+ --_tone-wash-hover: var(--ui-info-wash-hover);
14844
+ --_tone-ghost-hover: var(--ui-info-ghost-hover);
14735
14845
  --_tone-glow: var(--ui-info-glow, 0 0 transparent);
14736
14846
  --_icon-button-border: var(--ui-info-subtle-text);
14737
14847
  --_icon-button-hover-border: var(--ui-info-subtle-text);
@@ -14750,8 +14860,9 @@ html[data-ui-input-modality="touch"]
14750
14860
  --_solid-active-border: var(--ui-control-border-hover, var(--ui-neutral-active));
14751
14861
  --_solid-active-surface: var(--ui-neutral-active, var(--ui-neutral-hover));
14752
14862
  --_tone-highlight: var(--ui-neutral-highlight, none);
14753
- --_tone-hover-highlight: var(--ui-neutral-highlight, var(--_tone-highlight));
14863
+ --_tone-hover-highlight: var(--ui-neutral-hover-highlight, var(--_tone-highlight));
14754
14864
  --_tone-outline-border: var(--ui-control-border);
14865
+ --_tone-ghost-hover: var(--ui-neutral-ghost-hover);
14755
14866
  --_tone-glow: var(--ui-neutral-glow, 0 0 transparent);
14756
14867
  --_icon-button-outline-surface: transparent;
14757
14868
  --_icon-button-border: var(--ui-control-border);
@@ -14943,14 +15054,14 @@ html[data-ui-input-modality="touch"]
14943
15054
  }
14944
15055
 
14945
15056
  :scope:where([data-component~="ui-icon-button"]):hover:enabled:not([aria-disabled="true"]) {
14946
- /* Derived from the text colour so the ghost hover shows on any background. */
14947
- background-color: var(--ui-icon-button-hover-surface, color-mix(in srgb, currentColor 8%, transparent));
15057
+ /* Shared translucent paint keeps text and icon action feedback coordinated. */
15058
+ background-color: var(--ui-icon-button-hover-surface, var(--_tone-ghost-hover));
14948
15059
  color: var(--ui-icon-button-hover-text, var(--_icon-button-text, var(--ui-text-primary)));
14949
15060
  }
14950
15061
 
14951
15062
  :scope:where([data-component~="ui-icon-button"])[data-appearance="outline"]:not([data-tone="neutral"]) {
14952
15063
  --_outline-highlight: var(--ui-surface-highlight, linear-gradient(transparent, transparent));
14953
- --_outline-wash: oklch(from var(--_icon-button-solid-surface, var(--ui-accent)) l c h / calc(8% * var(--ui-tonal-opacity, 1)));
15064
+ --_outline-wash: var(--_tone-wash);
14954
15065
  border-color: var(--ui-icon-button-border, var(--_tone-outline-border));
14955
15066
  background-color: var(--ui-icon-button-outline-surface, transparent);
14956
15067
  background-image:
@@ -14959,8 +15070,7 @@ html[data-ui-input-modality="touch"]
14959
15070
  }
14960
15071
 
14961
15072
  :scope:where([data-component~="ui-icon-button"])[data-appearance="outline"]:not([data-tone="neutral"]):hover:enabled:not([aria-disabled="true"]) {
14962
- --_outline-highlight: var(--ui-neutral-highlight, var(--ui-surface-highlight, linear-gradient(transparent, transparent)));
14963
- --_outline-wash: oklch(from var(--_icon-button-solid-surface, var(--ui-accent)) l c h / calc(12% * var(--ui-tonal-opacity, 1)));
15073
+ --_outline-wash: var(--_tone-wash-hover);
14964
15074
  background-color: var(--ui-icon-button-hover-surface, transparent);
14965
15075
  border-color: var(--ui-icon-button-hover-border, var(--_tone-outline-border));
14966
15076
  }
@@ -14969,8 +15079,8 @@ html[data-ui-input-modality="touch"]
14969
15079
  border-color: var(--ui-icon-button-hover-border, var(--_icon-button-hover-border, var(--ui-control-border-hover, var(--ui-control-border))));
14970
15080
  }
14971
15081
  :scope:where([data-component~="ui-icon-button"])[data-tone="neutral"][data-appearance="outline"]:hover:enabled:not([aria-disabled="true"]) {
14972
- background-color: var(--ui-icon-button-hover-surface, var(--ui-neutral-hover));
14973
- --_outline-wash: oklch(from var(--ui-text) l c h / 5%);
15082
+ background-color: var(--ui-icon-button-hover-surface, transparent);
15083
+ --_outline-wash: var(--ui-neutral-wash-hover);
14974
15084
  background-image:
14975
15085
  linear-gradient(var(--_outline-wash), var(--_outline-wash)),
14976
15086
  var(--ui-surface-highlight, linear-gradient(transparent, transparent));
@@ -16504,8 +16614,26 @@ html[data-ui-input-modality="touch"]
16504
16614
  }
16505
16615
  }
16506
16616
 
16507
- input:hover:enabled {
16508
- border-color: var(--ui-accent-solid);
16617
+ @media (hover: hover) and (forced-colors: none) {
16618
+ :scope:where([data-component~="ui-checkbox"]):hover input:enabled {
16619
+ --_choice-hover-wash: var(--ui-neutral-wash-hover);
16620
+ background-image:
16621
+ linear-gradient(var(--_choice-hover-wash), var(--_choice-hover-wash)),
16622
+ var(--ui-surface-highlight, linear-gradient(transparent, transparent));
16623
+ }
16624
+
16625
+ :scope:where([data-component~="ui-checkbox"]):hover input:enabled:not([aria-invalid="true"]) {
16626
+ border-color: var(--ui-control-border-hover, var(--ui-border-strong));
16627
+ }
16628
+
16629
+ :scope:where([data-component~="ui-checkbox"]):hover input:enabled:is(:checked, :indeterminate) {
16630
+ background-color: var(--ui-choice-hover-surface);
16631
+ background-image: var(--ui-choice-hover-highlight, none);
16632
+ }
16633
+
16634
+ :scope:where([data-component~="ui-checkbox"]):hover input:enabled:is(:checked, :indeterminate):not([aria-invalid="true"]) {
16635
+ border-color: var(--ui-choice-hover-surface);
16636
+ }
16509
16637
  }
16510
16638
 
16511
16639
  input:focus-visible {
@@ -16568,6 +16696,9 @@ html[data-ui-input-modality="touch"]
16568
16696
  @media (forced-colors: active) {
16569
16697
  }
16570
16698
 
16699
+ @media (hover: hover) and (forced-colors: none) {
16700
+ }
16701
+
16571
16702
  /* A sized choice keeps its box and aligns instead: the label takes that size's field type size,
16572
16703
  and the first line centres in that control height, so the label shares a row's baseline.
16573
16704
  Multi-line labels and descriptions still grow downward from that first line. */