@webority/theme 0.150.0 → 0.152.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/README.md +9 -0
  2. package/dist/purge-safelist.json +20 -0
  3. package/dist/webority-theme.css +1 -1
  4. package/dist/webority-tokens.css +1 -1
  5. package/package.json +3 -2
  6. package/scss/_bootstrap.generated.scss +1 -1
  7. package/scss/_components.scss +138 -52
  8. package/scss/_marketing.scss +10 -10
  9. package/scss/_tokens.generated.scss +26 -1
  10. package/scss/wui/_calendar.scss +6 -6
  11. package/scss/wui/_card.scss +3 -3
  12. package/scss/wui/_carousel.scss +3 -3
  13. package/scss/wui/_chart.scss +4 -4
  14. package/scss/wui/_choice.scss +48 -43
  15. package/scss/wui/_command-palette.scss +2 -2
  16. package/scss/wui/_comment-thread.scss +2 -2
  17. package/scss/wui/_compare-table.scss +27 -0
  18. package/scss/wui/_controls.scss +50 -48
  19. package/scss/wui/_data.scss +26 -16
  20. package/scss/wui/_dialog-motion.scss +4 -4
  21. package/scss/wui/_disclosure.scss +4 -4
  22. package/scss/wui/_display.scss +37 -23
  23. package/scss/wui/_dock.scss +6 -6
  24. package/scss/wui/_drawer.scss +2 -2
  25. package/scss/wui/_field-busy.scss +1 -1
  26. package/scss/wui/_field-floor.scss +2 -1
  27. package/scss/wui/_file-viewer.scss +3 -3
  28. package/scss/wui/_flow.scss +15 -13
  29. package/scss/wui/_inline-edit.scss +2 -2
  30. package/scss/wui/_interaction.scss +1 -2
  31. package/scss/wui/_kanban.scss +16 -6
  32. package/scss/wui/_lightbox.scss +2 -2
  33. package/scss/wui/_media.scss +48 -48
  34. package/scss/wui/_modal-remote.scss +1 -1
  35. package/scss/wui/_navigation-menu.scss +1 -1
  36. package/scss/wui/_navigation.scss +68 -18
  37. package/scss/wui/_notification-center.scss +3 -3
  38. package/scss/wui/_onboarding-checklist.scss +1 -1
  39. package/scss/wui/_overlays.scss +28 -40
  40. package/scss/wui/_pagination.scss +4 -4
  41. package/scss/wui/_rating.scss +1 -1
  42. package/scss/wui/_resizable.scss +1 -1
  43. package/scss/wui/_rich-text.scss +4 -4
  44. package/scss/wui/_score-scale.scss +3 -3
  45. package/scss/wui/_sections.scss +2 -2
  46. package/scss/wui/_shell-parts.scss +53 -5
  47. package/scss/wui/_shell.scss +56 -57
  48. package/scss/wui/_sortable.scss +2 -2
  49. package/scss/wui/_split-view.scss +2 -2
  50. package/scss/wui/_table-server.scss +1 -1
  51. package/scss/wui/_theme-toggle.scss +1 -1
  52. package/scss/wui/_toolbar.scss +7 -7
  53. package/scss/wui/_tree.scss +3 -3
  54. package/scss/wui/_utilities.scss +29 -11
  55. package/scss/wui/_workspace.scss +2 -2
  56. package/scss/wui/tour/_end.scss +1 -1
  57. package/scss/wui/tour/_motion.scss +4 -4
  58. package/token-meanings.json +2 -0
@@ -23,7 +23,7 @@
23
23
  object-fit: cover;
24
24
  display: block;
25
25
  // Photo fades + scales in so a late-arriving blob doesn't pop.
26
- animation: wui-avatar-in 0.28s var(--wui-ease-out, ease) both;
26
+ animation: wui-avatar-in var(--wui-duration-default) var(--wui-ease-out, ease) both;
27
27
  }
28
28
  .avatar {
29
29
  // `--avatar-size` drives the default (md, its 32px fallback) and any custom size. It is
@@ -34,8 +34,8 @@
34
34
  width: var(--avatar-size, 32px);
35
35
  height: var(--avatar-size, 32px);
36
36
  border-radius: 999px;
37
- background: color-mix(in srgb, var(--color-primary) 15%, var(--color-surface));
38
- color: var(--color-primary-text);
37
+ background: var(--avatar-bg, color-mix(in srgb, var(--color-primary) 15%, var(--color-surface)));
38
+ color: var(--avatar-fg, var(--color-primary-text));
39
39
  // Initials take 37.5% of the disc but never go under the 12px text floor; a disc under 24px
40
40
  // takes half its size instead, the most two letters fit (the 20px preset sets 10px).
41
41
  font-size: max(min(12px, calc(var(--avatar-size, 32px) * 0.5)), calc(var(--avatar-size, 32px) * 0.375));
@@ -84,29 +84,29 @@
84
84
 
85
85
  // ── Tone ── (`tone`): the initials fill. `auto` derives a stable hue from the name.
86
86
  .avatar-neutral {
87
- background: color-mix(in srgb, var(--color-text-muted) 16%, var(--color-surface));
88
- color: var(--color-text-muted);
87
+ --avatar-bg: color-mix(in srgb, var(--color-text-muted) 16%, var(--color-surface));
88
+ --avatar-fg: var(--color-text-muted);
89
89
  }
90
90
  .avatar-success {
91
- background: var(--color-success-soft);
92
- color: var(--color-success-text-on-soft);
91
+ --avatar-bg: var(--color-success-soft);
92
+ --avatar-fg: var(--color-success-text-on-soft);
93
93
  }
94
94
  .avatar-warning {
95
- background: var(--color-warning-soft);
96
- color: var(--color-warning-text-on-soft);
95
+ --avatar-bg: var(--color-warning-soft);
96
+ --avatar-fg: var(--color-warning-text-on-soft);
97
97
  }
98
98
  .avatar-danger {
99
- background: var(--color-danger-soft);
100
- color: var(--color-danger-text-on-soft);
99
+ --avatar-bg: var(--color-danger-soft);
100
+ --avatar-fg: var(--color-danger-text-on-soft);
101
101
  }
102
102
  .avatar-info {
103
- background: var(--color-info-soft);
104
- color: var(--color-info-text-on-soft);
103
+ --avatar-bg: var(--color-info-soft);
104
+ --avatar-fg: var(--color-info-text-on-soft);
105
105
  }
106
106
  // Foreground lightness 31%: at 32% the hue-60 pair falls to 4.42:1 on the 90% tint.
107
107
  .avatar-auto {
108
- background: hsl(var(--avatar-hue, 0) 60% 90%);
109
- color: hsl(var(--avatar-hue, 0) 42% 31%);
108
+ --avatar-bg: hsl(var(--avatar-hue, 0) 60% 90%);
109
+ --avatar-fg: hsl(var(--avatar-hue, 0) 42% 31%);
110
110
  }
111
111
 
112
112
  // ── Ring ── (`ring`): a tone-coloured ring with a surface gap, separating stacked
@@ -148,8 +148,8 @@
148
148
  -webkit-appearance: none;
149
149
  appearance: none;
150
150
  transition:
151
- transform 0.15s var(--wui-ease-out, ease),
152
- box-shadow 0.15s ease;
151
+ transform var(--wui-duration-fast) var(--wui-ease-out, ease),
152
+ box-shadow var(--wui-duration-fast) var(--wui-ease-ui);
153
153
  }
154
154
  .avatar-clickable:hover {
155
155
  transform: scale(1.06);
@@ -192,7 +192,7 @@
192
192
  inset: 0;
193
193
  border-radius: inherit;
194
194
  background: var(--color-success);
195
- animation: wui-avatar-ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
195
+ animation: wui-avatar-ping calc(var(--wui-duration-slow) * 5) var(--wui-ease-out) infinite;
196
196
  }
197
197
 
198
198
  // ── Hover label ── (`label`): a tooltip above the avatar, revealed on hover/focus.
@@ -213,8 +213,8 @@
213
213
  pointer-events: none;
214
214
  z-index: 30;
215
215
  transition:
216
- opacity 0.16s ease,
217
- transform 0.16s var(--wui-ease-out, ease);
216
+ opacity var(--wui-duration-fast) var(--wui-ease-ui),
217
+ transform var(--wui-duration-fast) var(--wui-ease-out, ease);
218
218
  }
219
219
  .avatar-label::after {
220
220
  content: "";
@@ -241,7 +241,7 @@
241
241
  .avatar-group > .avatar {
242
242
  margin-left: -10px;
243
243
  box-shadow: 0 0 0 2px var(--color-surface);
244
- transition: transform 0.15s var(--wui-ease-out, ease);
244
+ transition: transform var(--wui-duration-fast) var(--wui-ease-out, ease);
245
245
  }
246
246
  .avatar-group > .avatar:first-child {
247
247
  margin-left: 0;
@@ -258,8 +258,8 @@
258
258
  }
259
259
  // The "+N" overflow chip — a muted avatar-shaped tail.
260
260
  .avatar-more {
261
- background: color-mix(in srgb, var(--color-text-muted) 16%, var(--color-surface));
262
- color: var(--color-text-muted);
261
+ --avatar-bg: color-mix(in srgb, var(--color-text-muted) 16%, var(--color-surface));
262
+ --avatar-fg: var(--color-text-muted);
263
263
  font-weight: 600;
264
264
  }
265
265
 
@@ -292,7 +292,7 @@
292
292
  animation: none;
293
293
  }
294
294
  .avatar-label {
295
- transition: opacity 0.16s ease;
295
+ transition: opacity var(--wui-duration-fast) var(--wui-ease-ui);
296
296
  }
297
297
  }
298
298
 
@@ -309,8 +309,8 @@
309
309
  background: var(--color-surface);
310
310
  cursor: pointer;
311
311
  transition:
312
- border-color 0.3s cubic-bezier(0.22, 1, 0.36, 1),
313
- background 0.3s cubic-bezier(0.22, 1, 0.36, 1);
312
+ border-color var(--wui-duration-default) var(--wui-ease-out),
313
+ background var(--wui-duration-default) var(--wui-ease-out);
314
314
  }
315
315
  .attach-drop:hover {
316
316
  border-color: var(--color-primary);
@@ -443,7 +443,7 @@
443
443
  color: var(--color-on-scrim);
444
444
  border-radius: 999px;
445
445
  cursor: pointer;
446
- transition: background 0.2s;
446
+ transition: background var(--wui-duration-default) var(--wui-ease-ui);
447
447
  }
448
448
  .attach-remove:hover {
449
449
  background: var(--color-danger);
@@ -517,9 +517,9 @@
517
517
  color: var(--color-text-muted);
518
518
  cursor: pointer;
519
519
  transition:
520
- border-color 0.2s,
521
- color 0.2s,
522
- background 0.2s;
520
+ border-color var(--wui-duration-default) var(--wui-ease-ui),
521
+ color var(--wui-duration-default) var(--wui-ease-ui),
522
+ background var(--wui-duration-default) var(--wui-ease-ui);
523
523
  }
524
524
  .attach-item-remove:hover {
525
525
  border-color: var(--color-danger);
@@ -566,8 +566,8 @@
566
566
  overflow: hidden;
567
567
  cursor: pointer;
568
568
  transition:
569
- border-color 0.12s,
570
- box-shadow 0.12s;
569
+ border-color var(--wui-duration-fast) var(--wui-ease-ui),
570
+ box-shadow var(--wui-duration-fast) var(--wui-ease-ui);
571
571
  }
572
572
  .file-input:hover:not(:focus-within) {
573
573
  background: var(--color-bg-muted);
@@ -625,8 +625,8 @@
625
625
  background: var(--color-bg-muted);
626
626
  border: 1px dashed var(--color-field-border);
627
627
  transition:
628
- border-color 0.15s ease,
629
- background-color 0.15s ease;
628
+ border-color var(--wui-duration-fast) var(--wui-ease-ui),
629
+ background-color var(--wui-duration-fast) var(--wui-ease-ui);
630
630
  }
631
631
  // Hover mirrors AppInput hover — border-strong, fill unchanged.
632
632
  .file-input.file-input-tall:hover:not(:focus-within):not(.dragging) {
@@ -729,7 +729,7 @@
729
729
  border-radius: 50%;
730
730
  background: var(--color-primary-soft);
731
731
  color: var(--color-primary-text);
732
- transition: transform 0.15s ease;
732
+ transition: transform var(--wui-duration-fast) var(--wui-ease-ui);
733
733
  }
734
734
  .file-input.file-input-tall.dragging .file-input-icon {
735
735
  transform: translateY(-2px) scale(1.06);
@@ -799,7 +799,7 @@
799
799
  overflow: hidden;
800
800
  cursor: pointer;
801
801
  background: var(--color-bg-subtle);
802
- transition: border-color 0.12s;
802
+ transition: border-color var(--wui-duration-fast) var(--wui-ease-ui);
803
803
  }
804
804
  .file-preview:hover {
805
805
  border-color: var(--color-border-strong);
@@ -828,7 +828,7 @@
828
828
  width: 100%;
829
829
  height: 100%;
830
830
  object-fit: cover;
831
- transition: transform 0.25s ease;
831
+ transition: transform var(--wui-duration-default) var(--wui-ease-ui);
832
832
  }
833
833
  // Gentle zoom on hover so the field feels interactive.
834
834
  .file-preview:hover .file-preview-img {
@@ -868,7 +868,7 @@
868
868
  // half the standard scrim strength.
869
869
  background: color-mix(in srgb, var(--color-scrim) 50%, transparent);
870
870
  opacity: 0;
871
- transition: opacity 0.15s ease;
871
+ transition: opacity var(--wui-duration-fast) var(--wui-ease-ui);
872
872
  }
873
873
  .file-preview:hover .file-preview-overlay,
874
874
  .file-preview:focus-within .file-preview-overlay {
@@ -908,8 +908,8 @@
908
908
  cursor: pointer;
909
909
  opacity: 0;
910
910
  transition:
911
- border-color 0.12s,
912
- opacity 0.15s ease;
911
+ border-color var(--wui-duration-fast) var(--wui-ease-ui),
912
+ opacity var(--wui-duration-fast) var(--wui-ease-ui);
913
913
  }
914
914
  .file-preview:hover .file-preview-remove,
915
915
  .file-preview:focus-within .file-preview-remove {
@@ -983,7 +983,7 @@
983
983
  padding: 5px;
984
984
  border: 1px dashed color-mix(in srgb, var(--color-border-strong) 75%, transparent);
985
985
  cursor: pointer;
986
- transition: border-color 0.18s;
986
+ transition: border-color var(--wui-duration-default) var(--wui-ease-ui);
987
987
  // Query container so the overlay can drop its label on a small ring (see the @container
988
988
  // rule after .wui-image-picker-overlay). container-type also makes the ring the containing
989
989
  // block for the absolute overlay — same role its position:relative already plays.
@@ -1031,7 +1031,7 @@
1031
1031
  text-align: center;
1032
1032
  font-weight: 600;
1033
1033
  opacity: 0;
1034
- transition: opacity 0.18s;
1034
+ transition: opacity var(--wui-duration-default) var(--wui-ease-ui);
1035
1035
  }
1036
1036
  .wui-image-picker-ring:hover .wui-image-picker-overlay,
1037
1037
  .wui-image-picker:hover .wui-image-picker-overlay,
@@ -1078,8 +1078,8 @@
1078
1078
  opacity: 0;
1079
1079
  visibility: hidden;
1080
1080
  transition:
1081
- opacity 0.12s ease,
1082
- visibility 0.12s;
1081
+ opacity var(--wui-duration-fast) var(--wui-ease-ui),
1082
+ visibility var(--wui-duration-fast) var(--wui-ease-ui);
1083
1083
  }
1084
1084
  // :not(:disabled) — a disabled/loading picker can't be updated, so it shows no tooltip
1085
1085
  // (mirrors the overlay, which isn't rendered in those states).
@@ -1212,7 +1212,7 @@
1212
1212
  background: var(--color-danger, #dc3545);
1213
1213
  color: #fff;
1214
1214
  cursor: pointer;
1215
- transition: transform 0.15s;
1215
+ transition: transform var(--wui-duration-fast) var(--wui-ease-ui);
1216
1216
  }
1217
1217
  // The × glyph scales with the button (its width/height attributes are set in JS/Razor as a
1218
1218
  // baseline; this overrides them, the way the overlay icon is scaled under its container query).
@@ -1266,8 +1266,8 @@
1266
1266
  cursor: pointer;
1267
1267
  padding: 6px;
1268
1268
  transition:
1269
- border-color 0.15s ease,
1270
- background 0.15s ease;
1269
+ border-color var(--wui-duration-fast) var(--wui-ease-ui),
1270
+ background var(--wui-duration-fast) var(--wui-ease-ui);
1271
1271
  }
1272
1272
  .logo-dropzone:hover,
1273
1273
  .logo-dropzone:focus-visible {
@@ -1307,7 +1307,7 @@
1307
1307
  font-size: 12px;
1308
1308
  font-weight: 600;
1309
1309
  opacity: 0;
1310
- transition: opacity 0.15s ease;
1310
+ transition: opacity var(--wui-duration-fast) var(--wui-ease-ui);
1311
1311
  }
1312
1312
  .logo-dropzone:hover .logo-dropzone-overlay,
1313
1313
  .logo-dropzone:focus-visible .logo-dropzone-overlay {
@@ -69,7 +69,7 @@
69
69
  display: flex;
70
70
  pointer-events: none;
71
71
  transform: translateX(100%);
72
- transition: transform 0.25s var(--wui-ease-ui);
72
+ transition: transform var(--wui-duration-default) var(--wui-ease-ui);
73
73
  }
74
74
  .modal.wui-remote-drawer.show .modal-dialog.wui-remote-drawer-dialog {
75
75
  transform: none;
@@ -62,7 +62,7 @@ wui-navigation-menu {
62
62
  .wui-nav-menu-trigger > .wui-nav-menu-chevron {
63
63
  flex: none;
64
64
  margin-left: auto;
65
- transition: rotate 150ms var(--wui-ease-out);
65
+ transition: rotate var(--wui-duration-fast) var(--wui-ease-out);
66
66
  }
67
67
  .wui-nav-menu-trigger[aria-expanded="true"] > .wui-nav-menu-chevron {
68
68
  rotate: 180deg;
@@ -18,7 +18,7 @@
18
18
  // the modal ladder, so this panel is never trapped under sticky/fixed shell chrome.
19
19
  z-index: var(--wui-z-shell-drawer);
20
20
  transform: translateX(100%);
21
- transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
21
+ transition: transform var(--wui-duration-default) var(--wui-ease-in-out);
22
22
  display: flex;
23
23
  flex-direction: column;
24
24
  }
@@ -31,7 +31,7 @@
31
31
  background: var(--color-scrim);
32
32
  opacity: 0;
33
33
  pointer-events: none;
34
- transition: opacity 0.2s;
34
+ transition: opacity var(--wui-duration-default) var(--wui-ease-ui);
35
35
  z-index: var(--wui-z-shell-scrim);
36
36
  }
37
37
  .drawer-backdrop.open {
@@ -168,8 +168,8 @@
168
168
  // reads as a heavy grey block; half of it still answers the press.
169
169
  --wui-pressed-overlay: color-mix(in srgb, currentColor 6%, transparent);
170
170
  transition:
171
- color 0.12s ease,
172
- border-color 0.12s ease;
171
+ color var(--wui-duration-fast) var(--wui-ease-ui),
172
+ border-color var(--wui-duration-fast) var(--wui-ease-ui);
173
173
  }
174
174
  // Leading icon / image — sit before the label with the strip's 8px gap (from .app-tab).
175
175
  // The library Icon sizes itself; a custom <img> is constrained to a small rounded square
@@ -280,9 +280,9 @@
280
280
  // clip would shear off its rounded corner. A decelerating slide reaches the tab exactly and
281
281
  // never crosses the edge, so the radius is always intact.
282
282
  transition:
283
- transform 0.42s var(--wui-ease-out),
284
- width 0.42s var(--wui-ease-out),
285
- opacity 0.15s ease;
283
+ transform var(--wui-duration-slow) var(--wui-ease-out),
284
+ width var(--wui-duration-slow) var(--wui-ease-out),
285
+ opacity var(--wui-duration-fast) var(--wui-ease-ui);
286
286
  }
287
287
  .app-tabs[data-wui-tabs] .app-tab-indicator {
288
288
  opacity: 1;
@@ -440,9 +440,9 @@
440
440
  height: var(--wui-tab-h, 0);
441
441
  transform: translateY(var(--wui-tab-y, 0));
442
442
  transition:
443
- transform 0.42s var(--wui-ease-out),
444
- height 0.42s var(--wui-ease-out),
445
- opacity 0.15s ease;
443
+ transform var(--wui-duration-slow) var(--wui-ease-out),
444
+ height var(--wui-duration-slow) var(--wui-ease-out),
445
+ opacity var(--wui-duration-fast) var(--wui-ease-ui);
446
446
  }
447
447
  // Vertical pills: the moving pill fills the row width.
448
448
  .app-tabs-vertical.app-tabs-pills .app-tab-indicator {
@@ -585,7 +585,7 @@
585
585
  @media (prefers-reduced-motion: reduce) {
586
586
  .app-tab-indicator,
587
587
  .app-tabs-vertical .app-tab-indicator {
588
- transition: opacity 0.15s ease;
588
+ transition: opacity var(--wui-duration-fast) var(--wui-ease-ui);
589
589
  }
590
590
  .app-tabs {
591
591
  scroll-behavior: auto;
@@ -611,7 +611,7 @@
611
611
  place-items: center;
612
612
  color: var(--color-text-subtle);
613
613
  pointer-events: none;
614
- transition: color 0.12s ease;
614
+ transition: color var(--wui-duration-fast) var(--wui-ease-ui);
615
615
  }
616
616
  .search-wrap:focus-within > .search-icon {
617
617
  color: var(--color-primary-text);
@@ -644,9 +644,9 @@
644
644
  visibility: hidden;
645
645
  pointer-events: none;
646
646
  transition:
647
- opacity 0.12s ease,
648
- visibility 0s linear 0.12s,
649
- color 0.12s ease;
647
+ opacity var(--wui-duration-fast) var(--wui-ease-ui),
648
+ visibility 0s var(--wui-ease-linear) var(--wui-duration-fast),
649
+ color var(--wui-duration-fast) var(--wui-ease-ui);
650
650
  }
651
651
  // Revealed by CONTENT only. Revealing on :focus-within as well put a ✕ on an empty Razor
652
652
  // field while React — which renders the button only when there is a value — showed none:
@@ -657,9 +657,9 @@
657
657
  visibility: visible;
658
658
  pointer-events: auto;
659
659
  transition:
660
- opacity 0.12s ease,
660
+ opacity var(--wui-duration-fast) var(--wui-ease-ui),
661
661
  visibility 0s,
662
- color 0.12s ease;
662
+ color var(--wui-duration-fast) var(--wui-ease-ui);
663
663
  }
664
664
  .search-clear:hover {
665
665
  color: var(--color-text);
@@ -751,7 +751,7 @@
751
751
  border: 2px solid var(--color-border-strong);
752
752
  border-top-color: var(--color-primary);
753
753
  border-radius: 50%;
754
- animation: wui-spin 0.7s linear infinite;
754
+ animation: wui-spin calc(var(--wui-duration-slow) * 2) var(--wui-ease-linear) infinite;
755
755
  pointer-events: none;
756
756
  }
757
757
  .search-input:disabled {
@@ -785,3 +785,53 @@
785
785
  color: var(--color-text);
786
786
  font-weight: 500;
787
787
  }
788
+ .wui-breadcrumb-collapse {
789
+ flex-wrap: nowrap;
790
+ min-width: 0;
791
+ }
792
+ .wui-breadcrumb-collapse > .breadcrumb-item {
793
+ flex: none;
794
+ white-space: nowrap;
795
+ }
796
+ .wui-breadcrumb-collapse > .breadcrumb-item:last-child {
797
+ flex: 0 1 auto;
798
+ min-width: 0;
799
+ overflow: hidden;
800
+ text-overflow: ellipsis;
801
+ }
802
+ .wui-breadcrumb-collapsible {
803
+ display: none;
804
+ }
805
+ .wui-breadcrumb-more-toggle {
806
+ display: inline-flex;
807
+ align-items: center;
808
+ padding: 0 var(--wui-space-xs);
809
+ border: 0;
810
+ border-radius: var(--wui-radius-sm);
811
+ background: transparent;
812
+ color: var(--color-text-muted);
813
+ line-height: inherit;
814
+ }
815
+ .wui-breadcrumb-more-toggle:hover,
816
+ .wui-breadcrumb-more-toggle:focus-visible {
817
+ color: var(--color-primary-text);
818
+ }
819
+ @include media-breakpoint-up(md) {
820
+ .wui-breadcrumb-collapse {
821
+ flex-wrap: wrap;
822
+ }
823
+ .wui-breadcrumb-collapse > .breadcrumb-item {
824
+ flex: initial;
825
+ white-space: normal;
826
+ }
827
+ .wui-breadcrumb-collapse > .breadcrumb-item:last-child {
828
+ overflow: visible;
829
+ text-overflow: clip;
830
+ }
831
+ .wui-breadcrumb-collapsible {
832
+ display: list-item;
833
+ }
834
+ .wui-breadcrumb-more {
835
+ display: none;
836
+ }
837
+ }
@@ -13,7 +13,7 @@
13
13
  .wui-notification-center-trigger {
14
14
  position: relative;
15
15
  }
16
- // White on the strong danger fill, ringed in the surface colour so it reads as sitting on the bell.
16
+ // White on the strong danger fill, ringed in the surface colour so it reads as sitting on the bell. --wui-notification-count-bg and --wui-notification-count-fg replace the fill and the text colour.
17
17
  .wui-notification-center-count {
18
18
  position: absolute;
19
19
  top: -2px;
@@ -24,8 +24,8 @@
24
24
  padding: 0 3px;
25
25
  border: 2px solid var(--color-surface);
26
26
  border-radius: 999px;
27
- background: var(--color-danger-strong);
28
- color: var(--color-progress-label);
27
+ background: var(--wui-notification-count-bg, var(--color-danger-strong));
28
+ color: var(--wui-notification-count-fg, var(--color-progress-label));
29
29
  font-size: 12px;
30
30
  font-weight: 700;
31
31
  line-height: 14px;
@@ -208,6 +208,6 @@ a.wui-onboarding-label:focus-visible::after {
208
208
 
209
209
  @media (prefers-reduced-motion: no-preference) {
210
210
  .wui-onboarding-chevron {
211
- transition: transform 160ms var(--wui-ease-ui);
211
+ transition: transform var(--wui-duration-fast) var(--wui-ease-ui);
212
212
  }
213
213
  }
@@ -308,8 +308,8 @@ body[data-rr-ui-modal-open] {
308
308
  border-radius: var(--wui-radius-lg);
309
309
  corner-shape: squircle;
310
310
  transition:
311
- background 180ms cubic-bezier(0.4, 0, 0.2, 1),
312
- color 180ms cubic-bezier(0.4, 0, 0.2, 1);
311
+ background var(--wui-duration-default) var(--wui-ease-in-out),
312
+ color var(--wui-duration-default) var(--wui-ease-in-out);
313
313
  }
314
314
  @media (max-width: 575.98px), (pointer: coarse) {
315
315
  .wui-modal-close,
@@ -323,8 +323,8 @@ body[data-rr-ui-modal-open] {
323
323
  background: var(--color-danger-soft);
324
324
  color: var(--color-danger-text);
325
325
  transition:
326
- background 280ms cubic-bezier(0.16, 1, 0.3, 1),
327
- color 280ms cubic-bezier(0.16, 1, 0.3, 1);
326
+ background var(--wui-duration-default) var(--wui-ease-out),
327
+ color var(--wui-duration-default) var(--wui-ease-out);
328
328
  }
329
329
  .wui-modal-close:focus-visible,
330
330
  .wui-drawer-close:focus-visible {
@@ -336,9 +336,7 @@ body[data-rr-ui-modal-open] {
336
336
  .wui-modal-close:hover,
337
337
  .wui-drawer-close,
338
338
  .wui-drawer-close:hover {
339
- transition:
340
- background 1ms linear,
341
- color 1ms linear;
339
+ transition: none;
342
340
  }
343
341
  }
344
342
 
@@ -358,15 +356,15 @@ body[data-rr-ui-modal-open] {
358
356
  border-radius: var(--wui-radius-lg);
359
357
  corner-shape: squircle;
360
358
  transition:
361
- background 180ms cubic-bezier(0.4, 0, 0.2, 1),
362
- color 180ms cubic-bezier(0.4, 0, 0.2, 1);
359
+ background var(--wui-duration-default) var(--wui-ease-in-out),
360
+ color var(--wui-duration-default) var(--wui-ease-in-out);
363
361
  }
364
362
  .wui-modal-back:hover {
365
363
  background: var(--color-bg-muted);
366
364
  color: var(--color-text);
367
365
  transition:
368
- background 280ms cubic-bezier(0.16, 1, 0.3, 1),
369
- color 280ms cubic-bezier(0.16, 1, 0.3, 1);
366
+ background var(--wui-duration-default) var(--wui-ease-out),
367
+ color var(--wui-duration-default) var(--wui-ease-out);
370
368
  }
371
369
  .wui-modal-back:focus-visible {
372
370
  outline: var(--wui-focus-ring-width) solid var(--color-focus-ring);
@@ -375,9 +373,7 @@ body[data-rr-ui-modal-open] {
375
373
  @media (prefers-reduced-motion: reduce) {
376
374
  .wui-modal-back,
377
375
  .wui-modal-back:hover {
378
- transition:
379
- background 1ms linear,
380
- color 1ms linear;
376
+ transition: none;
381
377
  }
382
378
  }
383
379
 
@@ -623,8 +619,8 @@ body[data-rr-ui-modal-open] {
623
619
  opacity: 0;
624
620
  visibility: hidden;
625
621
  transition:
626
- opacity 0.12s ease,
627
- visibility 0.12s;
622
+ opacity var(--wui-duration-fast) var(--wui-ease-ui),
623
+ visibility var(--wui-duration-fast) var(--wui-ease-ui);
628
624
  }
629
625
  [data-wui-tip]:hover::after,
630
626
  [data-wui-tip]:focus-visible::after {
@@ -746,9 +742,9 @@ body[data-rr-ui-modal-open] {
746
742
  touch-action: pan-y;
747
743
  user-select: none;
748
744
  transition:
749
- transform 0.2s ease,
750
- opacity 0.2s ease;
751
- animation: wui-toast-in 0.24s ease;
745
+ transform var(--wui-duration-default) var(--wui-ease-ui),
746
+ opacity var(--wui-duration-default) var(--wui-ease-ui);
747
+ animation: wui-toast-in var(--wui-duration-default) var(--wui-ease-ui);
752
748
  }
753
749
 
754
750
  // A single-line toast — bare message, no title / action / progress stack — centers its icon,
@@ -836,7 +832,7 @@ body[data-rr-ui-modal-open] {
836
832
  height: 100%;
837
833
  border-radius: 999px;
838
834
  background: var(--wui-toast-accent);
839
- transition: width 200ms var(--wui-ease-ui);
835
+ transition: width var(--wui-duration-default) var(--wui-ease-ui);
840
836
  }
841
837
  .wui-toast-track-pct {
842
838
  flex: none;
@@ -869,7 +865,7 @@ body[data-rr-ui-modal-open] {
869
865
  line-height: 1.4;
870
866
  text-decoration: none;
871
867
  white-space: nowrap;
872
- transition: background-color 120ms ease, color 120ms ease;
868
+ transition: background-color var(--wui-duration-fast) var(--wui-ease-ui), color var(--wui-duration-fast) var(--wui-ease-ui);
873
869
  }
874
870
  // Hover: a soft pill in the toast's variant tint — highlight, not underline, no motion.
875
871
  .wui-toast-action:hover {
@@ -916,7 +912,7 @@ body[data-rr-ui-modal-open] {
916
912
  width: 100%;
917
913
  transform-origin: left center;
918
914
  animation-name: wui-toast-countdown;
919
- animation-timing-function: linear;
915
+ animation-timing-function: var(--wui-ease-linear);
920
916
  animation-fill-mode: forwards;
921
917
  }
922
918
  .wui-toast:hover .wui-toast-progress,
@@ -965,23 +961,23 @@ body[data-rr-ui-modal-open] {
965
961
  // materializes softly while the status icon grows from a dot with a slight overshoot,
966
962
  // and the message trails in last.
967
963
  .wui-toast--anim-organic {
968
- animation: wui-toast-materialize 360ms var(--wui-ease-out);
964
+ animation: wui-toast-materialize var(--wui-duration-slow) var(--wui-ease-out);
969
965
  }
970
966
  .wui-toast--anim-organic .wui-toast-icon {
971
- animation: wui-toast-icon-grow 420ms 60ms cubic-bezier(0.34, 1.45, 0.64, 1) backwards;
967
+ animation: wui-toast-icon-grow var(--wui-duration-slow) var(--wui-ease-elastic) calc(var(--wui-duration-fast) * 0.5) backwards;
972
968
  }
973
969
  .wui-toast--anim-organic .wui-toast-content {
974
- animation: wui-toast-content-in 300ms 190ms var(--wui-ease-out) backwards;
970
+ animation: wui-toast-content-in var(--wui-duration-default) var(--wui-ease-out) calc(var(--wui-duration-fast) * 1.25) backwards;
975
971
  }
976
972
 
977
973
  // `jelly` — drops in with a squash-and-stretch landing.
978
974
  .wui-toast--anim-jelly {
979
- animation: wui-toast-jelly 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
975
+ animation: wui-toast-jelly var(--wui-duration-slow) var(--wui-ease-elastic);
980
976
  }
981
977
 
982
978
  // `spring` — slides up from below with an elastic settle.
983
979
  .wui-toast--anim-spring {
984
- animation: wui-toast-spring 550ms cubic-bezier(0.34, 1.56, 0.64, 1);
980
+ animation: wui-toast-spring var(--wui-duration-slow) var(--wui-ease-elastic);
985
981
  }
986
982
 
987
983
  @keyframes wui-toast-materialize {
@@ -1055,24 +1051,16 @@ body[data-rr-ui-modal-open] {
1055
1051
  // Everything inside consumes --color-* vars, so re-pointing them here restyles the whole
1056
1052
  // card (icon, text hierarchy, action pill, progress track) in one place.
1057
1053
  .wui-toast--surface-inverse {
1058
- --color-surface: var(--wui-dark-bg-surface);
1059
- --color-border: var(--wui-dark-border);
1060
- --color-text: var(--wui-dark-text);
1061
- --color-text-muted: var(--wui-dark-text-muted);
1062
- --color-bg-muted: var(--wui-dark-bg-muted);
1054
+ --color-surface: var(--color-surface-inverse);
1055
+ --color-border: var(--color-surface-inverse-wash-24);
1056
+ --color-text: var(--color-text-inverse);
1057
+ --color-text-muted: color-mix(in srgb, var(--color-text-inverse) 72%, var(--color-surface-inverse));
1058
+ --color-bg-muted: var(--color-surface-inverse-raised);
1063
1059
  }
1064
1060
  // Bootstrap's .btn-close glyph is ink-dark; on the dark card it needs the white filter.
1065
1061
  .wui-toast--surface-inverse .wui-toast-close {
1066
1062
  filter: invert(1) grayscale(100%) brightness(200%);
1067
1063
  }
1068
- :root[data-theme="dark"] .wui-toast--surface-inverse,
1069
- :root[data-bs-theme="dark"] .wui-toast--surface-inverse {
1070
- --color-surface: var(--wui-bg-light);
1071
- --color-border: var(--wui-border-light);
1072
- --color-text: var(--wui-text-heading);
1073
- --color-text-muted: var(--wui-text-2);
1074
- --color-bg-muted: var(--wui-bg-muted);
1075
- }
1076
1064
  :root[data-theme="dark"] .wui-toast--surface-inverse .wui-toast-close,
1077
1065
  :root[data-bs-theme="dark"] .wui-toast--surface-inverse .wui-toast-close {
1078
1066
  filter: none;
@@ -62,8 +62,8 @@
62
62
  border-radius: 50%;
63
63
  cursor: pointer;
64
64
  transition:
65
- background 0.14s ease,
66
- color 0.14s ease;
65
+ background var(--wui-duration-fast) var(--wui-ease-ui),
66
+ color var(--wui-duration-fast) var(--wui-ease-ui);
67
67
  }
68
68
  .tpg-arrow:hover:not(:disabled) {
69
69
  background: color-mix(in srgb, var(--color-primary) 10%, transparent);
@@ -97,8 +97,8 @@
97
97
  text-decoration: none;
98
98
  cursor: pointer;
99
99
  transition:
100
- background 0.14s ease,
101
- color 0.14s ease;
100
+ background var(--wui-duration-fast) var(--wui-ease-ui),
101
+ color var(--wui-duration-fast) var(--wui-ease-ui);
102
102
  }
103
103
  .tpg-page:hover:not(.is-active) {
104
104
  background: color-mix(in srgb, var(--color-primary) 10%, transparent);