@webority/theme 0.149.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 (66) hide show
  1. package/README.md +9 -0
  2. package/css-import.d.ts +2 -0
  3. package/dist/postcss/forced-states.d.mts +11 -0
  4. package/dist/postcss/forced-states.mjs +1 -1
  5. package/dist/purge-safelist.json +24 -1
  6. package/dist/runtime/index.d.mts +6 -0
  7. package/dist/runtime/productTheme.d.mts +25 -0
  8. package/dist/runtime.mjs +2 -2
  9. package/dist/webority-theme.css +1 -1
  10. package/dist/webority-tokens.css +1 -1
  11. package/package.json +34 -11
  12. package/scss/_bootstrap.generated.scss +1 -1
  13. package/scss/_components.scss +139 -52
  14. package/scss/_marketing.scss +10 -10
  15. package/scss/_tokens.generated.scss +26 -1
  16. package/scss/wui/_calendar.scss +6 -6
  17. package/scss/wui/_card.scss +3 -3
  18. package/scss/wui/_carousel.scss +3 -3
  19. package/scss/wui/_chart-card.scss +33 -1
  20. package/scss/wui/_chart.scss +4 -4
  21. package/scss/wui/_choice.scss +48 -43
  22. package/scss/wui/_command-palette.scss +2 -2
  23. package/scss/wui/_comment-thread.scss +2 -2
  24. package/scss/wui/_compare-table.scss +27 -0
  25. package/scss/wui/_controls.scss +54 -48
  26. package/scss/wui/_data.scss +26 -16
  27. package/scss/wui/_dialog-motion.scss +4 -4
  28. package/scss/wui/_disclosure.scss +4 -4
  29. package/scss/wui/_display.scss +61 -26
  30. package/scss/wui/_dock.scss +6 -6
  31. package/scss/wui/_drawer.scss +2 -2
  32. package/scss/wui/_field-busy.scss +1 -1
  33. package/scss/wui/_field-floor.scss +2 -1
  34. package/scss/wui/_file-viewer.scss +3 -3
  35. package/scss/wui/_flow.scss +15 -13
  36. package/scss/wui/_inline-edit.scss +2 -2
  37. package/scss/wui/_interaction.scss +1 -2
  38. package/scss/wui/_kanban.scss +16 -6
  39. package/scss/wui/_lightbox.scss +2 -2
  40. package/scss/wui/_media.scss +48 -48
  41. package/scss/wui/_modal-remote.scss +1 -1
  42. package/scss/wui/_navigation-menu.scss +1 -1
  43. package/scss/wui/_navigation.scss +68 -18
  44. package/scss/wui/_notification-center.scss +3 -3
  45. package/scss/wui/_onboarding-checklist.scss +1 -1
  46. package/scss/wui/_overlays.scss +28 -40
  47. package/scss/wui/_pagination.scss +4 -4
  48. package/scss/wui/_rating.scss +1 -1
  49. package/scss/wui/_resizable.scss +1 -1
  50. package/scss/wui/_rich-text.scss +4 -4
  51. package/scss/wui/_score-scale.scss +3 -3
  52. package/scss/wui/_sections.scss +2 -2
  53. package/scss/wui/_shell-parts.scss +53 -5
  54. package/scss/wui/_shell.scss +56 -57
  55. package/scss/wui/_sortable.scss +2 -2
  56. package/scss/wui/_split-view.scss +2 -2
  57. package/scss/wui/_support.scss +1 -1
  58. package/scss/wui/_table-server.scss +1 -1
  59. package/scss/wui/_theme-toggle.scss +1 -1
  60. package/scss/wui/_toolbar.scss +7 -7
  61. package/scss/wui/_tree.scss +3 -3
  62. package/scss/wui/_utilities.scss +29 -11
  63. package/scss/wui/_workspace.scss +2 -2
  64. package/scss/wui/tour/_end.scss +1 -1
  65. package/scss/wui/tour/_motion.scss +4 -4
  66. package/token-meanings.json +2 -0
@@ -26,7 +26,7 @@
26
26
  gap: 18px;
27
27
  text-align: center;
28
28
  // Ease in on mount so the boot screen settles rather than snapping into place.
29
- animation: wui-splash-enter 0.5s var(--wui-ease-ui) both;
29
+ animation: wui-splash-enter var(--wui-duration-slow) var(--wui-ease-ui) both;
30
30
  }
31
31
  // One diameter drives the mark, its initials, the logo cap, and the bar width — the `size`
32
32
  // preset or a custom pixel value resolves to `--wui-splash-size` (set inline by App*/<app-*>).
@@ -34,7 +34,7 @@
34
34
  max-width: calc(var(--wui-splash-size, 56px) * 3.2);
35
35
  height: auto;
36
36
  // A slow breath keeps the brand mark feeling alive through the wait.
37
- animation: wui-splash-breathe 2.6s ease-in-out infinite;
37
+ animation: wui-splash-breathe calc(var(--wui-duration-slow) * 7) var(--wui-ease-in-out) infinite;
38
38
  }
39
39
  .splash-mark {
40
40
  width: var(--wui-splash-size, 56px);
@@ -46,7 +46,7 @@
46
46
  color: var(--color-on-primary);
47
47
  font-size: calc(var(--wui-splash-size, 56px) * 0.39);
48
48
  font-weight: 700;
49
- animation: wui-splash-breathe 2.6s ease-in-out infinite;
49
+ animation: wui-splash-breathe calc(var(--wui-duration-slow) * 7) var(--wui-ease-in-out) infinite;
50
50
  }
51
51
  .splash-text {
52
52
  font-size: 14px;
@@ -86,7 +86,7 @@
86
86
  var(--color-primary) 65%,
87
87
  transparent
88
88
  );
89
- animation: wui-splash-sweep 1.1s var(--wui-ease-ui) infinite;
89
+ animation: wui-splash-sweep calc(var(--wui-duration-slow) * 3) var(--wui-ease-ui) infinite;
90
90
  }
91
91
  // A spinning arc — the circular take on the same "working, no percentage" idea.
92
92
  .splash-ring {
@@ -95,7 +95,7 @@
95
95
  border-radius: 50%;
96
96
  border: 3px solid var(--color-bg-muted);
97
97
  border-top-color: var(--color-primary);
98
- animation: wui-splash-spin 0.8s linear infinite;
98
+ animation: wui-splash-spin calc(var(--wui-duration-slow) * 2) var(--wui-ease-linear) infinite;
99
99
  }
100
100
  // Three dots taking turns rising — a lighter, friendlier wait.
101
101
  .splash-dots {
@@ -107,13 +107,13 @@
107
107
  height: 9px;
108
108
  border-radius: 50%;
109
109
  background: var(--color-primary);
110
- animation: wui-splash-dot 1.2s ease-in-out infinite;
110
+ animation: wui-splash-dot calc(var(--wui-duration-slow) * 3) var(--wui-ease-in-out) infinite;
111
111
  }
112
112
  .splash-dots i:nth-child(2) {
113
- animation-delay: 0.16s;
113
+ animation-delay: calc(var(--wui-duration-slow) * 0.4);
114
114
  }
115
115
  .splash-dots i:nth-child(3) {
116
- animation-delay: 0.32s;
116
+ animation-delay: calc(var(--wui-duration-slow) * 0.8);
117
117
  }
118
118
  @keyframes wui-splash-enter {
119
119
  from {
@@ -208,7 +208,7 @@
208
208
  grid-template-columns: var(--app-sidebar-w) 1fr;
209
209
  min-height: 100vh;
210
210
  background: var(--color-bg);
211
- transition: grid-template-columns 0.2s var(--wui-ease-ui);
211
+ transition: grid-template-columns var(--wui-duration-default) var(--wui-ease-ui);
212
212
  }
213
213
  .app-shell.collapsed {
214
214
  grid-template-columns: var(--app-sidebar-rail-w) 1fr;
@@ -221,20 +221,31 @@
221
221
  .app-shell.no-sidebar .app-sidebar-toggle {
222
222
  display: none;
223
223
  }
224
- .app-shell.no-sidebar .app-footer {
225
- left: 0;
226
- }
227
224
  // Below lg the drawer and the phone tab bar carry the navigation, so the topbar menu waits for lg.
228
225
  .app-shell.wui-shell-top .wui-shell-top-nav {
229
226
  display: none;
230
227
  }
228
+ // The top bar brand slot's size hook. A product sets --wui-shell-top-brand-height (and
229
+ // --wui-shell-top-brand-height-phone, below md) on any ancestor; its own brand node reads
230
+ // --wui-shell-top-brand-size. The inputs are never declared here, so an ancestor's value wins.
231
231
  .wui-shell-top-brand {
232
+ --wui-shell-top-brand-size: var(--wui-shell-top-brand-height, 32px);
232
233
  display: flex;
233
234
  align-items: center;
234
235
  flex: none;
235
236
  // A text brand reads at the root size; body text runs a step smaller.
236
237
  font-size: $font-size-base;
237
238
  }
239
+ .wui-shell-top-brand :is(.wui-brand-logo, .wui-brand-mark) {
240
+ display: block;
241
+ height: var(--wui-shell-top-brand-size);
242
+ width: auto;
243
+ }
244
+ @include media-breakpoint-down(md) {
245
+ .wui-shell-top-brand {
246
+ --wui-shell-top-brand-size: var(--wui-shell-top-brand-height-phone, 28px);
247
+ }
248
+ }
238
249
 
239
250
  // Sticky always makes a stacking context, so without a z-index here the page content after the
240
251
  // sidebar paints over anything the sidebar lets out, such as an open workspace switcher menu.
@@ -260,7 +271,7 @@
260
271
  // a shell set in a fixed-height box at the box's height, with the nav scrolling inside it.
261
272
  min-height: 0;
262
273
  background: var(--color-surface);
263
- transition: padding 0.2s var(--wui-ease-ui);
274
+ transition: padding var(--wui-duration-default) var(--wui-ease-ui);
264
275
  }
265
276
  .app-shell.collapsed .app-sidebar {
266
277
  padding: 20px 12px var(--app-sidebar-toggle-gap);
@@ -367,8 +378,8 @@
367
378
  visibility: hidden;
368
379
  opacity: 0;
369
380
  pointer-events: none;
370
- transition: opacity 0.2s var(--wui-ease-ui);
371
- animation: wui-sidebar-thumb linear both;
381
+ transition: opacity var(--wui-duration-default) var(--wui-ease-ui);
382
+ animation: wui-sidebar-thumb var(--wui-ease-linear) both;
372
383
  animation-timeline: scroll(nearest);
373
384
  }
374
385
  @container scroll-state(scrollable: y) {
@@ -411,6 +422,11 @@
411
422
  padding-top: 12px;
412
423
  overflow-x: clip;
413
424
  }
425
+ .wui-sidebar-foot-links {
426
+ display: flex;
427
+ flex-direction: column;
428
+ gap: var(--wui-space-xxs);
429
+ }
414
430
 
415
431
  .app-nav-group {
416
432
  display: flex;
@@ -472,7 +488,7 @@
472
488
  flex: none;
473
489
  display: inline-grid;
474
490
  place-items: center;
475
- transition: transform 0.2s var(--wui-ease-ui);
491
+ transition: transform var(--wui-duration-default) var(--wui-ease-ui);
476
492
  }
477
493
  .wui-nav-group-folded > .wui-nav-group-toggle .wui-nav-group-caret {
478
494
  transform: rotate(-90deg);
@@ -504,10 +520,10 @@
504
520
  color: var(--color-text-muted);
505
521
  text-decoration: none;
506
522
  transition:
507
- background 0.12s ease,
508
- color 0.12s ease,
509
- padding 0.2s var(--wui-ease-ui),
510
- gap 0.2s var(--wui-ease-ui);
523
+ background var(--wui-duration-fast) var(--wui-ease-ui),
524
+ color var(--wui-duration-fast) var(--wui-ease-ui),
525
+ padding var(--wui-duration-default) var(--wui-ease-ui),
526
+ gap var(--wui-duration-default) var(--wui-ease-ui);
511
527
  }
512
528
  // Compact: 40px rows, a 42px pitch. The touch floor holds on a coarse pointer whatever the density.
513
529
  .app-shell[data-density="compact"] .app-nav-item:not(.app-nav-subitem) {
@@ -703,7 +719,7 @@
703
719
  display: inline-grid;
704
720
  place-items: center;
705
721
  color: var(--color-text-subtle);
706
- transition: transform 0.2s var(--wui-ease-ui);
722
+ transition: transform var(--wui-duration-default) var(--wui-ease-ui);
707
723
  }
708
724
  .app-nav-item.has-children[aria-expanded="true"] .app-nav-caret {
709
725
  transform: rotate(90deg);
@@ -711,7 +727,7 @@
711
727
  .app-nav-sub {
712
728
  display: grid;
713
729
  grid-template-rows: 0fr;
714
- transition: grid-template-rows 0.24s var(--wui-ease-ui);
730
+ transition: grid-template-rows var(--wui-duration-default) var(--wui-ease-ui);
715
731
  }
716
732
  .app-nav-sub-inner {
717
733
  overflow: hidden;
@@ -805,9 +821,6 @@
805
821
  .app-shell.wui-shell-top .app-sidebar-toggle {
806
822
  display: none;
807
823
  }
808
- .app-shell.wui-shell-top .app-footer {
809
- left: 0;
810
- }
811
824
  .app-shell.wui-shell-top .wui-shell-top-nav {
812
825
  display: flex;
813
826
  align-items: center;
@@ -832,8 +845,8 @@
832
845
  transform-origin: left center;
833
846
  pointer-events: none;
834
847
  transition:
835
- opacity 0.12s ease,
836
- transform 0.12s ease;
848
+ opacity var(--wui-duration-fast) var(--wui-ease-ui),
849
+ transform var(--wui-duration-fast) var(--wui-ease-ui);
837
850
  }
838
851
  .app-shell.collapsed .app-nav-item[data-label]:hover::after,
839
852
  .app-shell.collapsed .app-nav-item[data-label]:focus-visible::after {
@@ -868,8 +881,8 @@
868
881
  color: var(--color-text-muted);
869
882
  cursor: pointer;
870
883
  transition:
871
- color 0.12s ease,
872
- background-color 0.12s ease;
884
+ color var(--wui-duration-fast) var(--wui-ease-ui),
885
+ background-color var(--wui-duration-fast) var(--wui-ease-ui);
873
886
  }
874
887
  .app-sidebar-toggle::before {
875
888
  // A rule marking the toggle off from the nav, matching the rule between nav groups. It is a
@@ -895,7 +908,7 @@
895
908
  // `block` kills the inline-block baseline gap (.wui-icon is inline-block), which otherwise
896
909
  // pushes the glyph a hair down in the button, so the grid can centre it exactly.
897
910
  display: block;
898
- transition: transform 0.2s ease;
911
+ transition: transform var(--wui-duration-default) var(--wui-ease-ui);
899
912
  }
900
913
  // The double-chevron glyph is a left/right MIRROR pair, not a point-symmetric shape, so a
901
914
  // 180deg rotate (used for the old single-chevron glyph) would flip it upside down too;
@@ -928,26 +941,24 @@
928
941
  // topbar reads once the page moves is a per-surface art-direction call.
929
942
  border-bottom: 1px solid transparent;
930
943
  transition:
931
- border-color 0.2s ease,
932
- box-shadow 0.2s ease;
944
+ border-color var(--wui-duration-default) var(--wui-ease-ui),
945
+ box-shadow var(--wui-duration-default) var(--wui-ease-ui);
933
946
  }
934
947
  .app-topbar[data-tone="primary"] {
935
948
  background: var(--color-primary);
936
949
  color: var(--color-on-primary);
950
+ --wui-usermenu-color: var(--color-on-primary);
951
+ --wui-usermenu-muted-color: var(--color-on-primary);
952
+ --wui-usermenu-hover-bg: color-mix(in srgb, var(--color-on-primary) 12%, transparent);
937
953
  }
938
- .app-topbar[data-tone="primary"] :is(.app-topbar-menu, .topbar-icon-btn, .wui-usermenu-trigger) {
939
- color: inherit;
940
- }
941
- // The trigger's name, role and caret take the ink too. Scoped to the trigger, because the open
942
- // menu repeats the name and role on its surface, where the ink would be unreadable.
943
- .app-topbar[data-tone="primary"] .wui-usermenu-trigger :is(.wui-usermenu-name, .wui-usermenu-role, .wui-usermenu-caret) {
954
+ .app-topbar[data-tone="primary"] :is(.app-topbar-menu, .topbar-icon-btn) {
944
955
  color: inherit;
945
956
  }
946
957
  .app-topbar[data-tone="primary"] .app-topbar-menu {
947
958
  background: transparent;
948
959
  border-color: color-mix(in srgb, var(--color-on-primary) 60%, transparent);
949
960
  }
950
- .app-topbar[data-tone="primary"] :is(.app-topbar-menu, .topbar-icon-btn, .wui-usermenu-trigger):hover {
961
+ .app-topbar[data-tone="primary"] :is(.app-topbar-menu, .topbar-icon-btn):hover {
951
962
  background: color-mix(in srgb, var(--color-on-primary) 12%, transparent);
952
963
  }
953
964
  // Two groups: the leading one shrinks and ellipsises a long page title, the
@@ -981,12 +992,11 @@
981
992
  outline-offset: var(--wui-focus-ring-offset);
982
993
  }
983
994
 
984
- // --app-footer-h is set on .app-shell by the shell runtime while a footer is rendered; it is unset without one.
985
995
  .app-content {
986
996
  --app-content-padding-top: 24px;
987
997
  flex: 1 1 auto;
988
998
  min-width: 0;
989
- padding: var(--app-content-padding-top) 28px calc(24px + var(--app-footer-h, 0px));
999
+ padding: var(--app-content-padding-top) 28px 24px;
990
1000
  }
991
1001
  [data-density="compact"] .app-content {
992
1002
  --app-content-padding-top: 12px;
@@ -1020,18 +1030,12 @@
1020
1030
  outline-offset: var(--wui-focus-ring-offset);
1021
1031
  }
1022
1032
  .app-footer {
1023
- position: fixed;
1024
- right: 0;
1033
+ position: sticky;
1025
1034
  bottom: 0;
1026
- left: var(--app-sidebar-w);
1027
1035
  z-index: var(--wui-z-fixed);
1028
1036
  background: color-mix(in srgb, var(--color-surface) 90%, transparent);
1029
1037
  backdrop-filter: blur(50px);
1030
1038
  -webkit-backdrop-filter: blur(50px);
1031
- transition: left 0.2s var(--wui-ease-ui);
1032
- }
1033
- .app-shell.collapsed .app-footer {
1034
- left: var(--app-sidebar-rail-w);
1035
1039
  }
1036
1040
 
1037
1041
  // Below lg the sidebar becomes a drawer: off-canvas by default, slid in over a
@@ -1053,15 +1057,15 @@
1053
1057
  // Hidden once the slide-out ends so a closed drawer's links leave the Tab order.
1054
1058
  visibility: hidden;
1055
1059
  transition:
1056
- transform 0.24s var(--wui-ease-out),
1057
- visibility 0s linear 0.24s;
1060
+ transform var(--wui-duration-default) var(--wui-ease-out),
1061
+ visibility 0s var(--wui-ease-linear) var(--wui-duration-default);
1058
1062
  box-shadow: var(--wui-shadow-modal);
1059
1063
  }
1060
1064
  .app-shell.app-shell.mobile-open .app-sidebar {
1061
1065
  transform: translateX(0);
1062
1066
  visibility: visible;
1063
1067
  transition:
1064
- transform 0.24s var(--wui-ease-out),
1068
+ transform var(--wui-duration-default) var(--wui-ease-out),
1065
1069
  visibility 0s;
1066
1070
  }
1067
1071
  // The rail is a desktop affordance; on a drawer it makes no sense, so the
@@ -1105,17 +1109,13 @@
1105
1109
  .app-shell.app-shell .app-topbar-menu {
1106
1110
  display: inline-grid;
1107
1111
  }
1108
- .app-shell.app-shell .app-footer,
1109
- .app-shell.app-shell.collapsed .app-footer {
1110
- left: 0;
1111
- }
1112
1112
  .app-shell.app-shell .app-content,
1113
1113
  .app-shell.app-shell .app-topbar {
1114
1114
  padding-inline: 16px;
1115
1115
  }
1116
1116
  .app-shell.app-shell .app-content {
1117
1117
  --app-content-padding-top: 16px;
1118
- padding-block: var(--app-content-padding-top) calc(32px + var(--app-footer-h, 0px));
1118
+ padding-block: var(--app-content-padding-top) 32px;
1119
1119
  }
1120
1120
  .app-shell.app-shell[data-density="compact"] .app-content {
1121
1121
  --app-content-padding-top: 12px;
@@ -1152,7 +1152,6 @@
1152
1152
  .app-nav-item,
1153
1153
  .app-sidebar-toggle,
1154
1154
  .app-sidebar-toggle > *,
1155
- .app-footer,
1156
1155
  .app-topbar {
1157
1156
  transition: none;
1158
1157
  }
@@ -62,8 +62,8 @@ wui-sortable[borderless] .wui-sortable-item {
62
62
  cursor: grab;
63
63
  touch-action: none;
64
64
  transition:
65
- background-color 160ms var(--wui-ease-ui),
66
- color 160ms var(--wui-ease-ui);
65
+ background-color var(--wui-duration-fast) var(--wui-ease-ui),
66
+ color var(--wui-duration-fast) var(--wui-ease-ui);
67
67
  }
68
68
  .wui-sortable-handle:hover {
69
69
  background: var(--color-bg-muted);
@@ -319,7 +319,7 @@
319
319
  .wui-split-item,
320
320
  .wui-split-pane-body {
321
321
  transition:
322
- background-color 0.12s ease,
323
- opacity 0.12s ease;
322
+ background-color var(--wui-duration-fast) var(--wui-ease-ui),
323
+ opacity var(--wui-duration-fast) var(--wui-ease-ui);
324
324
  }
325
325
  }
@@ -29,7 +29,7 @@
29
29
  }
30
30
  }
31
31
 
32
- // Subject cell: a one-line link cut by AppTruncate, the ticket number and category below.
32
+ // Subject cell: a link that wraps to five lines inside the column, cut there by AppTruncate, the ticket number and category below.
33
33
  .wui-support-subject {
34
34
  display: flex;
35
35
  flex-direction: column;
@@ -16,7 +16,7 @@
16
16
  .wui-table-server > .table-wrap[aria-busy="true"] > .table > tbody:not(:has(> tr[data-wui-skeleton])) {
17
17
  opacity: 0.55;
18
18
  pointer-events: none;
19
- transition: opacity 0.15s ease;
19
+ transition: opacity var(--wui-duration-fast) var(--wui-ease-ui);
20
20
  }
21
21
  .wui-skeleton-cell {
22
22
  display: block;
@@ -34,7 +34,7 @@ html.wui-theme-switching *::after {
34
34
  // The disc's glyph turns a touch on hover, the one cue that it changes something page-wide. The
35
35
  // segmented variant (one option per mode) keeps AppSegmented's own look.
36
36
  .u-action.wui-theme-toggle .wui-icon {
37
- transition: transform 0.3s var(--wui-ease-out, ease-out);
37
+ transition: transform var(--wui-duration-default) var(--wui-ease-out, ease-out);
38
38
  }
39
39
  .u-action.wui-theme-toggle:hover .wui-icon {
40
40
  transform: rotate(24deg);
@@ -31,8 +31,8 @@
31
31
  cursor: pointer;
32
32
  margin-bottom: 0;
33
33
  transition:
34
- background-color 160ms var(--wui-ease-ui),
35
- color 160ms var(--wui-ease-ui);
34
+ background-color var(--wui-duration-fast) var(--wui-ease-ui),
35
+ color var(--wui-duration-fast) var(--wui-ease-ui);
36
36
  }
37
37
  .toolbar-item:hover {
38
38
  background: var(--color-bg-muted);
@@ -82,9 +82,9 @@
82
82
  font-size: 0.875rem;
83
83
  font-weight: 500;
84
84
  transition:
85
- max-width 240ms var(--wui-ease-ui),
86
- margin-left 240ms var(--wui-ease-ui),
87
- opacity 180ms var(--wui-ease-ui);
85
+ max-width var(--wui-duration-default) var(--wui-ease-ui),
86
+ margin-left var(--wui-duration-default) var(--wui-ease-ui),
87
+ opacity var(--wui-duration-default) var(--wui-ease-ui);
88
88
  }
89
89
  .toolbar-item:has(.toolbar-input:checked) .toolbar-item-label {
90
90
  max-width: 10rem;
@@ -113,8 +113,8 @@
113
113
  color: var(--color-text-muted);
114
114
  cursor: pointer;
115
115
  transition:
116
- background-color 160ms var(--wui-ease-ui),
117
- color 160ms var(--wui-ease-ui);
116
+ background-color var(--wui-duration-fast) var(--wui-ease-ui),
117
+ color var(--wui-duration-fast) var(--wui-ease-ui);
118
118
  }
119
119
  .toolbar-action:hover:not(:disabled) {
120
120
  background: var(--color-bg-muted);
@@ -67,7 +67,7 @@ wui-tree {
67
67
  color: var(--color-text-muted);
68
68
  }
69
69
  .wui-tree-toggle .wui-icon {
70
- transition: transform 0.15s ease;
70
+ transition: transform var(--wui-duration-fast) var(--wui-ease-ui);
71
71
  }
72
72
  .wui-tree-item[aria-expanded="true"] > .wui-tree-row .wui-tree-toggle .wui-icon {
73
73
  transform: rotate(90deg);
@@ -106,7 +106,7 @@ wui-tree {
106
106
  border: 2px solid var(--color-border-strong);
107
107
  border-top-color: var(--color-primary);
108
108
  border-radius: 50%;
109
- animation: wui-tree-spin 0.7s linear infinite;
109
+ animation: wui-tree-spin calc(var(--wui-duration-slow) * 2) var(--wui-ease-linear) infinite;
110
110
  }
111
111
  @keyframes wui-tree-spin {
112
112
  to {
@@ -119,7 +119,7 @@ wui-tree {
119
119
  transition: none;
120
120
  }
121
121
  .wui-tree-spinner {
122
- animation-duration: 2s;
122
+ animation-duration: calc(var(--wui-duration-slow) * 5);
123
123
  }
124
124
  }
125
125
 
@@ -88,7 +88,7 @@
88
88
  background: transparent;
89
89
  color: var(--color-text-subtle);
90
90
  cursor: help;
91
- transition: color 0.15s;
91
+ transition: color var(--wui-duration-fast) var(--wui-ease-ui);
92
92
  }
93
93
  .infotip-btn:hover {
94
94
  color: var(--color-primary-text);
@@ -399,6 +399,24 @@
399
399
  aspect-ratio: 1;
400
400
  }
401
401
 
402
+ // Touch screens: grow the hit area, not the disc, so row density is unchanged. On ::before, never ::after,
403
+ // which a [data-wui-tip] tooltip owns (same as .u-action in _data.scss).
404
+ @media (pointer: coarse) {
405
+ .btn-icon {
406
+ position: relative;
407
+ }
408
+
409
+ .btn-icon::before {
410
+ content: "";
411
+ position: absolute;
412
+ top: 50%;
413
+ left: 50%;
414
+ transform: translate(-50%, -50%);
415
+ width: var(--wui-touch-target);
416
+ height: var(--wui-touch-target);
417
+ }
418
+ }
419
+
402
420
  // Circular icon buttons in the top bar (minimal dashboard chrome).
403
421
  .topbar-icon-btn {
404
422
  position: relative;
@@ -414,8 +432,8 @@
414
432
  color: var(--color-text-muted);
415
433
  cursor: pointer;
416
434
  transition:
417
- background 0.15s ease,
418
- color 0.15s ease;
435
+ background var(--wui-duration-fast) var(--wui-ease-ui),
436
+ color var(--wui-duration-fast) var(--wui-ease-ui);
419
437
  }
420
438
  .topbar-icon-btn:hover {
421
439
  background: var(--color-primary-soft);
@@ -458,7 +476,7 @@
458
476
  margin-inline-start: calc(-1 * var(--wui-space-xs));
459
477
  padding: var(--wui-space-xxs) var(--wui-space-xs);
460
478
  border-radius: var(--wui-radius-sm);
461
- transition: background 0.12s ease;
479
+ transition: background var(--wui-duration-fast) var(--wui-ease-ui);
462
480
  }
463
481
  .wui-dropdown-trigger-neutral:hover,
464
482
  .wui-dropdown-trigger-neutral[aria-expanded="true"] {
@@ -563,7 +581,7 @@
563
581
  font-size: 13px;
564
582
  line-height: 1.35;
565
583
  font-weight: 500;
566
- transition: color 0.15s ease;
584
+ transition: color var(--wui-duration-fast) var(--wui-ease-ui);
567
585
  }
568
586
  // The state mark is a single mask tinted by the rule's own text colour (`currentColor`), so it
569
587
  // tracks the met/unmet colour automatically and stays theme-aware — no baked hex, no light/dark
@@ -579,7 +597,7 @@
579
597
  mask: center / contain no-repeat;
580
598
  -webkit-mask-image: var(--pw-mark);
581
599
  mask-image: var(--pw-mark);
582
- transition: background-color 0.15s ease;
600
+ transition: background-color var(--wui-duration-fast) var(--wui-ease-ui);
583
601
  }
584
602
  .pw-criteria .pw-rule-text {
585
603
  min-width: 0;
@@ -752,7 +770,7 @@
752
770
  // no width style in this mode, so the width + motion come from here).
753
771
  .wui-progress-indeterminate {
754
772
  width: 40%;
755
- animation: wui-progress-indeterminate 1.1s ease-in-out infinite;
773
+ animation: wui-progress-indeterminate calc(var(--wui-duration-slow) * 3) var(--wui-ease-in-out) infinite;
756
774
  }
757
775
  @keyframes wui-progress-indeterminate {
758
776
  0% {
@@ -789,7 +807,7 @@
789
807
  border: 2.5px solid var(--color-border);
790
808
  border-top-color: var(--color-primary);
791
809
  border-radius: 999px;
792
- animation: wui-spin 0.7s linear infinite;
810
+ animation: wui-spin calc(var(--wui-duration-slow) * 2) var(--wui-ease-linear) infinite;
793
811
  display: inline-block;
794
812
  flex-shrink: 0;
795
813
  }
@@ -806,7 +824,7 @@
806
824
  }
807
825
  // Spinner for the Button loading state.
808
826
  .wui-spin {
809
- animation: wui-spin 0.8s linear infinite;
827
+ animation: wui-spin calc(var(--wui-duration-slow) * 2) var(--wui-ease-linear) infinite;
810
828
  }
811
829
 
812
830
  // Skeleton shimmer — used ONLY while loading the first data (loading &&
@@ -824,7 +842,7 @@
824
842
  inset: 0;
825
843
  transform: translateX(-100%);
826
844
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
827
- animation: skeleton-shimmer 1.4s ease-in-out infinite;
845
+ animation: skeleton-shimmer calc(var(--wui-duration-slow) * 4) var(--wui-ease-in-out) infinite;
828
846
  }
829
847
  @keyframes skeleton-shimmer {
830
848
  100% {
@@ -1199,7 +1217,7 @@
1199
1217
  opacity: 1;
1200
1218
  filter: none;
1201
1219
  transform: translateY(-50%);
1202
- transition: background-color 180ms cubic-bezier(0.4, 0, 0.2, 1);
1220
+ transition: background-color var(--wui-duration-default) var(--wui-ease-in-out);
1203
1221
  }
1204
1222
  .alert-dismissible .btn-close::before {
1205
1223
  content: "";
@@ -35,8 +35,8 @@
35
35
  text-align: left;
36
36
  cursor: pointer;
37
37
  transition:
38
- border-color 0.12s,
39
- box-shadow 0.12s;
38
+ border-color var(--wui-duration-fast) var(--wui-ease-ui),
39
+ box-shadow var(--wui-duration-fast) var(--wui-ease-ui);
40
40
  }
41
41
  .workspace-switcher-trigger:hover:not(:focus):not([aria-expanded="true"]) {
42
42
  border-color: var(--color-border-strong);
@@ -89,6 +89,6 @@
89
89
  // (set inline by tourMotion.js and inherited). Under reduced motion it shows at once.
90
90
  @media (prefers-reduced-motion: no-preference) {
91
91
  .wui-tour-end-mark path {
92
- animation: wui-tour-check 300ms var(--wui-ease-out) calc(var(--wui-tour-card-delay, 0ms) + 120ms) both;
92
+ animation: wui-tour-check var(--wui-duration-default) var(--wui-ease-out) calc(var(--wui-tour-card-delay, 0ms) + var(--wui-duration-fast)) both;
93
93
  }
94
94
  }
@@ -119,15 +119,15 @@
119
119
  }
120
120
 
121
121
  // Nothing moves or scales and the spot jumps: the card hides at once and fades in, and the dim
122
- // fades, each within 120ms.
122
+ // fades, each within the fast motion duration.
123
123
  @media (prefers-reduced-motion: reduce) {
124
124
  .wui-tour-layer {
125
- animation: wui-tour-fade-in 120ms linear;
125
+ animation: wui-tour-fade-in var(--wui-duration-fast) var(--wui-ease-linear);
126
126
  }
127
127
  .wui-tour-layer[data-state="leaving"] {
128
- transition: opacity 120ms linear;
128
+ transition: opacity var(--wui-duration-fast) var(--wui-ease-linear);
129
129
  }
130
130
  .wui-tour-card[data-state="entering"] {
131
- animation: wui-tour-fade-in 120ms linear both;
131
+ animation: wui-tour-fade-in var(--wui-duration-fast) var(--wui-ease-linear) both;
132
132
  }
133
133
  }
@@ -171,6 +171,7 @@
171
171
  "--wui-disabled-opacity": "Opacity of a control that dims as a whole when disabled.",
172
172
  "--wui-drawer-max": "Height of a bottom sheet drawer as a count of viewport height percent.",
173
173
  "--wui-ease-elastic": "Overshooting easing for the tab ink bar's spring into place.",
174
+ "--wui-ease-linear": "Constant-speed easing for spinners, marquees and scroll-linked motion.",
174
175
  "--wui-ease-out": "Easing curve matching the locked design's motion exports.",
175
176
  "--wui-ease-ui": "Easing curve for interface transitions.",
176
177
  "--wui-fg-2": "Marketing alias of the primary body text ink.",
@@ -291,6 +292,7 @@
291
292
  "--wui-text-heading": "Heading ink for page and section titles.",
292
293
  "--wui-thumb-shadow": "Shadow under a slider thumb and other small interactive elements.",
293
294
  "--wui-thumb-shadow-hover": "Shadow under a slider thumb while it is hovered.",
295
+ "--wui-touch-target": "Smallest tap area of a button on a touch screen; small, text and icon-only buttons grow to it.",
294
296
  "--wui-warning": "Vivid warning fill for badges and dots.",
295
297
  "--wui-warning-10": "Warning tint 10, the soft background of warning alerts and badges.",
296
298
  "--wui-warning-20": "Warning tint 20 for soft fills behind warning alerts and badges.",