@webority/theme 0.150.0 → 0.153.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 (115) hide show
  1. package/README.md +52 -17
  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/index.scss +11 -13
  6. package/package.json +3 -2
  7. package/scss/_bootstrap-css.scss +40 -0
  8. package/scss/_bootstrap.generated.scss +1 -2
  9. package/scss/_components.scss +157 -55
  10. package/scss/_config.scss +16 -0
  11. package/scss/_marketing.scss +15 -15
  12. package/scss/_tokens.generated.scss +26 -1
  13. package/scss/_tokens.scss +3 -3
  14. package/scss/_variables.scss +13 -35
  15. package/scss/_wui-components.scss +91 -95
  16. package/scss/_wui-core.scss +80 -84
  17. package/scss/wui/_account-switcher.scss +2 -0
  18. package/scss/wui/_auth-layout.scss +2 -0
  19. package/scss/wui/_avatar-picker.scss +2 -0
  20. package/scss/wui/_calendar.scss +8 -6
  21. package/scss/wui/_card-options.scss +2 -0
  22. package/scss/wui/_card.scss +6 -4
  23. package/scss/wui/_carousel.scss +5 -3
  24. package/scss/wui/_cell.scss +2 -0
  25. package/scss/wui/_chart-card.scss +2 -0
  26. package/scss/wui/_chart.scss +6 -4
  27. package/scss/wui/_choice.scss +50 -43
  28. package/scss/wui/_code-block.scss +2 -0
  29. package/scss/wui/_command-palette.scss +4 -2
  30. package/scss/wui/_comment-thread.scss +4 -2
  31. package/scss/wui/_compare-table.scss +29 -0
  32. package/scss/wui/_consent-banner.scss +2 -0
  33. package/scss/wui/_context-menu.scss +2 -0
  34. package/scss/wui/_controls.scss +53 -51
  35. package/scss/wui/_data.scss +28 -16
  36. package/scss/wui/_detail-pane.scss +2 -0
  37. package/scss/wui/_dialog-motion.scss +6 -4
  38. package/scss/wui/_disclosure.scss +6 -4
  39. package/scss/wui/_display.scss +39 -23
  40. package/scss/wui/_dock.scss +8 -6
  41. package/scss/wui/_drawer.scss +4 -2
  42. package/scss/wui/_due-date.scss +2 -0
  43. package/scss/wui/_empty-state.scss +2 -0
  44. package/scss/wui/_field-busy.scss +3 -1
  45. package/scss/wui/_field-floor.scss +4 -1
  46. package/scss/wui/_field-sizes.scss +2 -0
  47. package/scss/wui/_file-tiles.scss +2 -0
  48. package/scss/wui/_file-viewer.scss +9 -5
  49. package/scss/wui/_filter-popover.scss +2 -0
  50. package/scss/wui/_floating.scss +2 -0
  51. package/scss/wui/_flow.scss +17 -13
  52. package/scss/wui/_groups.scss +2 -0
  53. package/scss/wui/_hover-card.scss +2 -0
  54. package/scss/wui/_illustration.scss +2 -0
  55. package/scss/wui/_image-crop.scss +2 -0
  56. package/scss/wui/_inline-edit.scss +4 -2
  57. package/scss/wui/_interaction.scss +3 -2
  58. package/scss/wui/_kanban.scss +18 -6
  59. package/scss/wui/_lightbox.scss +4 -2
  60. package/scss/wui/_list-card.scss +2 -0
  61. package/scss/wui/_markdown.scss +4 -1
  62. package/scss/wui/_media.scss +50 -48
  63. package/scss/wui/_mention-input.scss +2 -0
  64. package/scss/wui/_menu-motion.scss +2 -0
  65. package/scss/wui/_metric-strip.scss +2 -0
  66. package/scss/wui/_modal-remote.scss +3 -1
  67. package/scss/wui/_money.scss +2 -0
  68. package/scss/wui/_nav-list.scss +2 -0
  69. package/scss/wui/_navigation-menu.scss +3 -1
  70. package/scss/wui/_navigation.scss +70 -18
  71. package/scss/wui/_notification-center.scss +5 -3
  72. package/scss/wui/_onboarding-checklist.scss +3 -1
  73. package/scss/wui/_org-tree.scss +2 -0
  74. package/scss/wui/_overlays.scss +30 -40
  75. package/scss/wui/_page-header-bar.scss +2 -0
  76. package/scss/wui/_pagination.scss +6 -4
  77. package/scss/wui/_pending.scss +2 -0
  78. package/scss/wui/_period-picker.scss +2 -0
  79. package/scss/wui/_rating.scss +3 -1
  80. package/scss/wui/_record-pager.scss +2 -0
  81. package/scss/wui/_relative-time.scss +2 -0
  82. package/scss/wui/_resizable.scss +3 -1
  83. package/scss/wui/_rich-text.scss +13 -7
  84. package/scss/wui/_rolling-number.scss +2 -0
  85. package/scss/wui/_score-scale.scss +5 -3
  86. package/scss/wui/_scrollbar.scss +2 -0
  87. package/scss/wui/_section-lead-capture.scss +2 -0
  88. package/scss/wui/_sections.scss +5 -2
  89. package/scss/wui/_select.scss +2 -0
  90. package/scss/wui/_shell-parts.scss +55 -5
  91. package/scss/wui/_shell.scss +58 -57
  92. package/scss/wui/_shortcuts.scss +2 -0
  93. package/scss/wui/_show-more.scss +2 -0
  94. package/scss/wui/_sortable.scss +4 -2
  95. package/scss/wui/_split-view.scss +4 -2
  96. package/scss/wui/_support.scss +2 -0
  97. package/scss/wui/_table-server.scss +3 -1
  98. package/scss/wui/_theme-toggle.scss +3 -1
  99. package/scss/wui/_tone-pill.scss +2 -0
  100. package/scss/wui/_toolbar.scss +9 -7
  101. package/scss/wui/_tour.scss +9 -9
  102. package/scss/wui/_tree.scss +5 -3
  103. package/scss/wui/_truncate.scss +2 -0
  104. package/scss/wui/_typography.scss +3 -0
  105. package/scss/wui/_utilities.scss +31 -11
  106. package/scss/wui/_whats-new.scss +2 -0
  107. package/scss/wui/_workspace.scss +4 -2
  108. package/scss/wui/tour/_advance.scss +2 -0
  109. package/scss/wui/tour/_base.scss +2 -0
  110. package/scss/wui/tour/_end.scss +3 -1
  111. package/scss/wui/tour/_media.scss +2 -0
  112. package/scss/wui/tour/_motion.scss +6 -4
  113. package/scss/wui/tour/_placement.scss +2 -0
  114. package/scss/wui/tour/_progress.scss +2 -0
  115. package/token-meanings.json +2 -0
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Joined controls ──
2
4
  // AppButtonGroup / <app-button-group> (`.wui-btn-group`, on Bootstrap's `.btn-group`),
3
5
  // AppSplitButton / <app-split-button> (`.wui-split-button`: a main button and a menu chevron) and
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Hover card ──
2
4
  // AppHoverCard / <app-hover-card> (a <wui-hover-card> element): a small preview card beside a name or
3
5
  // record link. The element shows the panel with [data-open] (never a class or the hidden attribute,
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Illustrations ──
2
4
  // The empty-state illustration set (AppEmptyState `illustration`, <app-empty-state
3
5
  // illustration>): decorative SVG drawn only with these classes, so every colour is a theme token and
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Image crop ──
2
4
  // <wui-image-crop>: the crop surface AppImagePicker (and its Razor tag) shows in a dialog before
3
5
  // upload. The image is fitted into the stage; the frame is positioned by the element (inline
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Inline edit ──
2
4
  // AppInlineEdit / <app-inline-edit> / <wui-inline-edit>. The value reads as plain text with a
3
5
  // pencil that shows on hover and focus; while editing, the element swaps it for the library
@@ -37,7 +39,7 @@
37
39
  font: inherit;
38
40
  text-align: start;
39
41
  cursor: pointer;
40
- transition: background-color 160ms var(--wui-ease-ui);
42
+ transition: background-color var(--wui-duration-fast) var(--wui-ease-ui);
41
43
  }
42
44
  .wui-inline-edit-display[hidden] {
43
45
  display: none;
@@ -76,7 +78,7 @@
76
78
  flex: none;
77
79
  color: var(--color-text-subtle);
78
80
  opacity: 0;
79
- transition: opacity 160ms var(--wui-ease-ui);
81
+ transition: opacity var(--wui-duration-fast) var(--wui-ease-ui);
80
82
  }
81
83
  .wui-inline-edit-display:hover .wui-inline-edit-icon,
82
84
  .wui-inline-edit-display:focus-visible .wui-inline-edit-icon {
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Focus ring and pressed state ──
2
4
  // The one keyboard focus ring and the one pressed wash, for every control the library draws.
3
5
  // The recipe is tokens in _tokens.generated.scss: an outline of --wui-focus-ring-width in
@@ -209,7 +211,6 @@ html:has(.form-actions-sticky) {
209
211
  .card-clickable,
210
212
  .res-card,
211
213
  a.kpi,
212
- .struct-card,
213
214
  .avatar-clickable,
214
215
  .attach-drop,
215
216
  .logo-dropzone,
@@ -229,7 +230,7 @@ html:has(.form-actions-sticky) {
229
230
  @media (prefers-reduced-motion: no-preference) {
230
231
  .wui-rating-input:not([disabled]) .wui-rating-star:active {
231
232
  transform: scale(var(--wui-press-scale));
232
- transition: transform var(--wui-press-duration) ease-out;
233
+ transition: transform var(--wui-press-duration) var(--wui-ease-out);
233
234
  }
234
235
  }
235
236
 
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Kanban board ──
2
4
  // AppKanban / <app-kanban> over <wui-kanban>. The library owns the column shell, the card shell
3
5
  // and every drag state; card CONTENT is the product's. State lives in data attributes the element
@@ -70,8 +72,8 @@
70
72
  border: 1px solid var(--color-border);
71
73
  border-radius: var(--wui-radius-lg);
72
74
  transition:
73
- background-color 160ms var(--wui-ease-ui),
74
- border-color 160ms var(--wui-ease-ui);
75
+ background-color var(--wui-duration-fast) var(--wui-ease-ui),
76
+ border-color var(--wui-duration-fast) var(--wui-ease-ui);
75
77
  }
76
78
 
77
79
  // ── Column head ──
@@ -152,6 +154,16 @@
152
154
  .wui-kanban[data-head-layout="stacked"] .wui-kanban-title {
153
155
  flex: 1 0 100%;
154
156
  }
157
+ // head-truncate: a long stage name keeps one line and ends in an ellipsis, so fixed-width columns keep their cards in line.
158
+ .wui-kanban[data-head-truncate] .wui-kanban-column:not([data-collapsed]) .wui-kanban-head {
159
+ flex-wrap: nowrap;
160
+ }
161
+ .wui-kanban[data-head-truncate] .wui-kanban-column:not([data-collapsed]) .wui-kanban-title {
162
+ white-space: nowrap;
163
+ overflow: hidden;
164
+ text-overflow: ellipsis;
165
+ overflow-wrap: normal;
166
+ }
155
167
 
156
168
  // The page's own controls at the right of the column head (a "+" that adds a card, say). They sit
157
169
  // before the collapse button, which then gives up its auto margin.
@@ -192,7 +204,7 @@
192
204
  margin-inline-start: auto;
193
205
 
194
206
  svg {
195
- transition: transform 160ms var(--wui-ease-ui);
207
+ transition: transform var(--wui-duration-fast) var(--wui-ease-ui);
196
208
  }
197
209
  }
198
210
  // The column itself is the muted fill, so hover lifts to the surface.
@@ -258,8 +270,8 @@
258
270
  user-select: none;
259
271
  -webkit-user-select: none;
260
272
  transition:
261
- box-shadow 160ms var(--wui-ease-ui),
262
- opacity 160ms var(--wui-ease-ui);
273
+ box-shadow var(--wui-duration-fast) var(--wui-ease-ui),
274
+ opacity var(--wui-duration-fast) var(--wui-ease-ui);
263
275
  }
264
276
  .wui-kanban-card:hover {
265
277
  border-color: var(--color-border-strong);
@@ -350,7 +362,7 @@
350
362
  border-radius: 0 0 var(--wui-radius-md) var(--wui-radius-md);
351
363
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
352
364
  background-size: 200% 100%;
353
- animation: wui-kanban-saving 1.1s linear infinite;
365
+ animation: wui-kanban-saving calc(var(--wui-duration-slow) * 3) var(--wui-ease-linear) infinite;
354
366
  }
355
367
  @keyframes wui-kanban-saving {
356
368
  from {
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Lightbox ──
2
4
  // AppLightbox / <app-lightbox> (a <wui-lightbox> element): a gallery of thumbnails that open
3
5
  // full screen with zoom, previous and next, a caption and a download. The element builds the
@@ -69,10 +71,10 @@
69
71
  }
70
72
  @media (prefers-reduced-motion: no-preference) {
71
73
  .wui-lightbox-overlay {
72
- animation: wui-lightbox-in 160ms var(--wui-ease-out);
74
+ animation: wui-lightbox-in var(--wui-duration-fast) var(--wui-ease-out);
73
75
  }
74
76
  .wui-lightbox-image {
75
- transition: transform 120ms var(--wui-ease-out);
77
+ transition: transform var(--wui-duration-fast) var(--wui-ease-out);
76
78
  }
77
79
  .wui-lightbox-stage.is-dragging .wui-lightbox-image {
78
80
  transition: none;
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── List card ──
2
4
  // <app-list-card>: the frame of a list page. Its filter row sits between the header and the
3
5
  // table with the header's side inset, so filters line up with the title.
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // Markdown: the <wui-markdown class="wui-markdown"> element that draws a brief, a comment or a work-item
2
4
  // text. The root is the element, not a div: Razor <app-markdown> writes it, and the element draws the
3
5
  // blocks inside it.
@@ -31,7 +33,8 @@
31
33
  .wui-markdown p {
32
34
  margin: 0 0 0.75em;
33
35
  }
34
- .wui-markdown h2 {
36
+ .wui-markdown h2,
37
+ .wui-markdown .h2 {
35
38
  margin: 1em 0 0.5em;
36
39
  color: var(--color-text);
37
40
  font-size: 1.25em;
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // Avatar, file attach, file picker, logo picker.
2
4
  //
3
5
  // Part of the wui-components layer — see _wui-components.scss for the whole
@@ -23,7 +25,7 @@
23
25
  object-fit: cover;
24
26
  display: block;
25
27
  // 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;
28
+ animation: wui-avatar-in var(--wui-duration-default) var(--wui-ease-out, ease) both;
27
29
  }
28
30
  .avatar {
29
31
  // `--avatar-size` drives the default (md, its 32px fallback) and any custom size. It is
@@ -34,8 +36,8 @@
34
36
  width: var(--avatar-size, 32px);
35
37
  height: var(--avatar-size, 32px);
36
38
  border-radius: 999px;
37
- background: color-mix(in srgb, var(--color-primary) 15%, var(--color-surface));
38
- color: var(--color-primary-text);
39
+ background: var(--avatar-bg, color-mix(in srgb, var(--color-primary) 15%, var(--color-surface)));
40
+ color: var(--avatar-fg, var(--color-primary-text));
39
41
  // Initials take 37.5% of the disc but never go under the 12px text floor; a disc under 24px
40
42
  // takes half its size instead, the most two letters fit (the 20px preset sets 10px).
41
43
  font-size: max(min(12px, calc(var(--avatar-size, 32px) * 0.5)), calc(var(--avatar-size, 32px) * 0.375));
@@ -84,29 +86,29 @@
84
86
 
85
87
  // ── Tone ── (`tone`): the initials fill. `auto` derives a stable hue from the name.
86
88
  .avatar-neutral {
87
- background: color-mix(in srgb, var(--color-text-muted) 16%, var(--color-surface));
88
- color: var(--color-text-muted);
89
+ --avatar-bg: color-mix(in srgb, var(--color-text-muted) 16%, var(--color-surface));
90
+ --avatar-fg: var(--color-text-muted);
89
91
  }
90
92
  .avatar-success {
91
- background: var(--color-success-soft);
92
- color: var(--color-success-text-on-soft);
93
+ --avatar-bg: var(--color-success-soft);
94
+ --avatar-fg: var(--color-success-text-on-soft);
93
95
  }
94
96
  .avatar-warning {
95
- background: var(--color-warning-soft);
96
- color: var(--color-warning-text-on-soft);
97
+ --avatar-bg: var(--color-warning-soft);
98
+ --avatar-fg: var(--color-warning-text-on-soft);
97
99
  }
98
100
  .avatar-danger {
99
- background: var(--color-danger-soft);
100
- color: var(--color-danger-text-on-soft);
101
+ --avatar-bg: var(--color-danger-soft);
102
+ --avatar-fg: var(--color-danger-text-on-soft);
101
103
  }
102
104
  .avatar-info {
103
- background: var(--color-info-soft);
104
- color: var(--color-info-text-on-soft);
105
+ --avatar-bg: var(--color-info-soft);
106
+ --avatar-fg: var(--color-info-text-on-soft);
105
107
  }
106
108
  // Foreground lightness 31%: at 32% the hue-60 pair falls to 4.42:1 on the 90% tint.
107
109
  .avatar-auto {
108
- background: hsl(var(--avatar-hue, 0) 60% 90%);
109
- color: hsl(var(--avatar-hue, 0) 42% 31%);
110
+ --avatar-bg: hsl(var(--avatar-hue, 0) 60% 90%);
111
+ --avatar-fg: hsl(var(--avatar-hue, 0) 42% 31%);
110
112
  }
111
113
 
112
114
  // ── Ring ── (`ring`): a tone-coloured ring with a surface gap, separating stacked
@@ -148,8 +150,8 @@
148
150
  -webkit-appearance: none;
149
151
  appearance: none;
150
152
  transition:
151
- transform 0.15s var(--wui-ease-out, ease),
152
- box-shadow 0.15s ease;
153
+ transform var(--wui-duration-fast) var(--wui-ease-out, ease),
154
+ box-shadow var(--wui-duration-fast) var(--wui-ease-ui);
153
155
  }
154
156
  .avatar-clickable:hover {
155
157
  transform: scale(1.06);
@@ -192,7 +194,7 @@
192
194
  inset: 0;
193
195
  border-radius: inherit;
194
196
  background: var(--color-success);
195
- animation: wui-avatar-ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
197
+ animation: wui-avatar-ping calc(var(--wui-duration-slow) * 5) var(--wui-ease-out) infinite;
196
198
  }
197
199
 
198
200
  // ── Hover label ── (`label`): a tooltip above the avatar, revealed on hover/focus.
@@ -213,8 +215,8 @@
213
215
  pointer-events: none;
214
216
  z-index: 30;
215
217
  transition:
216
- opacity 0.16s ease,
217
- transform 0.16s var(--wui-ease-out, ease);
218
+ opacity var(--wui-duration-fast) var(--wui-ease-ui),
219
+ transform var(--wui-duration-fast) var(--wui-ease-out, ease);
218
220
  }
219
221
  .avatar-label::after {
220
222
  content: "";
@@ -241,7 +243,7 @@
241
243
  .avatar-group > .avatar {
242
244
  margin-left: -10px;
243
245
  box-shadow: 0 0 0 2px var(--color-surface);
244
- transition: transform 0.15s var(--wui-ease-out, ease);
246
+ transition: transform var(--wui-duration-fast) var(--wui-ease-out, ease);
245
247
  }
246
248
  .avatar-group > .avatar:first-child {
247
249
  margin-left: 0;
@@ -258,8 +260,8 @@
258
260
  }
259
261
  // The "+N" overflow chip — a muted avatar-shaped tail.
260
262
  .avatar-more {
261
- background: color-mix(in srgb, var(--color-text-muted) 16%, var(--color-surface));
262
- color: var(--color-text-muted);
263
+ --avatar-bg: color-mix(in srgb, var(--color-text-muted) 16%, var(--color-surface));
264
+ --avatar-fg: var(--color-text-muted);
263
265
  font-weight: 600;
264
266
  }
265
267
 
@@ -292,7 +294,7 @@
292
294
  animation: none;
293
295
  }
294
296
  .avatar-label {
295
- transition: opacity 0.16s ease;
297
+ transition: opacity var(--wui-duration-fast) var(--wui-ease-ui);
296
298
  }
297
299
  }
298
300
 
@@ -309,8 +311,8 @@
309
311
  background: var(--color-surface);
310
312
  cursor: pointer;
311
313
  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);
314
+ border-color var(--wui-duration-default) var(--wui-ease-out),
315
+ background var(--wui-duration-default) var(--wui-ease-out);
314
316
  }
315
317
  .attach-drop:hover {
316
318
  border-color: var(--color-primary);
@@ -443,7 +445,7 @@
443
445
  color: var(--color-on-scrim);
444
446
  border-radius: 999px;
445
447
  cursor: pointer;
446
- transition: background 0.2s;
448
+ transition: background var(--wui-duration-default) var(--wui-ease-ui);
447
449
  }
448
450
  .attach-remove:hover {
449
451
  background: var(--color-danger);
@@ -517,9 +519,9 @@
517
519
  color: var(--color-text-muted);
518
520
  cursor: pointer;
519
521
  transition:
520
- border-color 0.2s,
521
- color 0.2s,
522
- background 0.2s;
522
+ border-color var(--wui-duration-default) var(--wui-ease-ui),
523
+ color var(--wui-duration-default) var(--wui-ease-ui),
524
+ background var(--wui-duration-default) var(--wui-ease-ui);
523
525
  }
524
526
  .attach-item-remove:hover {
525
527
  border-color: var(--color-danger);
@@ -566,8 +568,8 @@
566
568
  overflow: hidden;
567
569
  cursor: pointer;
568
570
  transition:
569
- border-color 0.12s,
570
- box-shadow 0.12s;
571
+ border-color var(--wui-duration-fast) var(--wui-ease-ui),
572
+ box-shadow var(--wui-duration-fast) var(--wui-ease-ui);
571
573
  }
572
574
  .file-input:hover:not(:focus-within) {
573
575
  background: var(--color-bg-muted);
@@ -625,8 +627,8 @@
625
627
  background: var(--color-bg-muted);
626
628
  border: 1px dashed var(--color-field-border);
627
629
  transition:
628
- border-color 0.15s ease,
629
- background-color 0.15s ease;
630
+ border-color var(--wui-duration-fast) var(--wui-ease-ui),
631
+ background-color var(--wui-duration-fast) var(--wui-ease-ui);
630
632
  }
631
633
  // Hover mirrors AppInput hover — border-strong, fill unchanged.
632
634
  .file-input.file-input-tall:hover:not(:focus-within):not(.dragging) {
@@ -729,7 +731,7 @@
729
731
  border-radius: 50%;
730
732
  background: var(--color-primary-soft);
731
733
  color: var(--color-primary-text);
732
- transition: transform 0.15s ease;
734
+ transition: transform var(--wui-duration-fast) var(--wui-ease-ui);
733
735
  }
734
736
  .file-input.file-input-tall.dragging .file-input-icon {
735
737
  transform: translateY(-2px) scale(1.06);
@@ -799,7 +801,7 @@
799
801
  overflow: hidden;
800
802
  cursor: pointer;
801
803
  background: var(--color-bg-subtle);
802
- transition: border-color 0.12s;
804
+ transition: border-color var(--wui-duration-fast) var(--wui-ease-ui);
803
805
  }
804
806
  .file-preview:hover {
805
807
  border-color: var(--color-border-strong);
@@ -828,7 +830,7 @@
828
830
  width: 100%;
829
831
  height: 100%;
830
832
  object-fit: cover;
831
- transition: transform 0.25s ease;
833
+ transition: transform var(--wui-duration-default) var(--wui-ease-ui);
832
834
  }
833
835
  // Gentle zoom on hover so the field feels interactive.
834
836
  .file-preview:hover .file-preview-img {
@@ -868,7 +870,7 @@
868
870
  // half the standard scrim strength.
869
871
  background: color-mix(in srgb, var(--color-scrim) 50%, transparent);
870
872
  opacity: 0;
871
- transition: opacity 0.15s ease;
873
+ transition: opacity var(--wui-duration-fast) var(--wui-ease-ui);
872
874
  }
873
875
  .file-preview:hover .file-preview-overlay,
874
876
  .file-preview:focus-within .file-preview-overlay {
@@ -908,8 +910,8 @@
908
910
  cursor: pointer;
909
911
  opacity: 0;
910
912
  transition:
911
- border-color 0.12s,
912
- opacity 0.15s ease;
913
+ border-color var(--wui-duration-fast) var(--wui-ease-ui),
914
+ opacity var(--wui-duration-fast) var(--wui-ease-ui);
913
915
  }
914
916
  .file-preview:hover .file-preview-remove,
915
917
  .file-preview:focus-within .file-preview-remove {
@@ -983,7 +985,7 @@
983
985
  padding: 5px;
984
986
  border: 1px dashed color-mix(in srgb, var(--color-border-strong) 75%, transparent);
985
987
  cursor: pointer;
986
- transition: border-color 0.18s;
988
+ transition: border-color var(--wui-duration-default) var(--wui-ease-ui);
987
989
  // Query container so the overlay can drop its label on a small ring (see the @container
988
990
  // rule after .wui-image-picker-overlay). container-type also makes the ring the containing
989
991
  // block for the absolute overlay — same role its position:relative already plays.
@@ -1031,7 +1033,7 @@
1031
1033
  text-align: center;
1032
1034
  font-weight: 600;
1033
1035
  opacity: 0;
1034
- transition: opacity 0.18s;
1036
+ transition: opacity var(--wui-duration-default) var(--wui-ease-ui);
1035
1037
  }
1036
1038
  .wui-image-picker-ring:hover .wui-image-picker-overlay,
1037
1039
  .wui-image-picker:hover .wui-image-picker-overlay,
@@ -1078,8 +1080,8 @@
1078
1080
  opacity: 0;
1079
1081
  visibility: hidden;
1080
1082
  transition:
1081
- opacity 0.12s ease,
1082
- visibility 0.12s;
1083
+ opacity var(--wui-duration-fast) var(--wui-ease-ui),
1084
+ visibility var(--wui-duration-fast) var(--wui-ease-ui);
1083
1085
  }
1084
1086
  // :not(:disabled) — a disabled/loading picker can't be updated, so it shows no tooltip
1085
1087
  // (mirrors the overlay, which isn't rendered in those states).
@@ -1212,7 +1214,7 @@
1212
1214
  background: var(--color-danger, #dc3545);
1213
1215
  color: #fff;
1214
1216
  cursor: pointer;
1215
- transition: transform 0.15s;
1217
+ transition: transform var(--wui-duration-fast) var(--wui-ease-ui);
1216
1218
  }
1217
1219
  // The × glyph scales with the button (its width/height attributes are set in JS/Razor as a
1218
1220
  // baseline; this overrides them, the way the overlay icon is scaled under its container query).
@@ -1266,8 +1268,8 @@
1266
1268
  cursor: pointer;
1267
1269
  padding: 6px;
1268
1270
  transition:
1269
- border-color 0.15s ease,
1270
- background 0.15s ease;
1271
+ border-color var(--wui-duration-fast) var(--wui-ease-ui),
1272
+ background var(--wui-duration-fast) var(--wui-ease-ui);
1271
1273
  }
1272
1274
  .logo-dropzone:hover,
1273
1275
  .logo-dropzone:focus-visible {
@@ -1307,7 +1309,7 @@
1307
1309
  font-size: 12px;
1308
1310
  font-weight: 600;
1309
1311
  opacity: 0;
1310
- transition: opacity 0.15s ease;
1312
+ transition: opacity var(--wui-duration-fast) var(--wui-ease-ui);
1311
1313
  }
1312
1314
  .logo-dropzone:hover .logo-dropzone-overlay,
1313
1315
  .logo-dropzone:focus-visible .logo-dropzone-overlay {
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Mention input ──
2
4
  // AppMentionInput / <app-mention-input> / <wui-mention-input>, also the boxes of a comment thread.
3
5
  // A textarea where "@" opens a fixed list of people under the box, placed by the element
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Menu open motion ──
2
4
  // One entrance for every menu-like overlay: Bootstrap dropdown menus (AppDropdown,
3
5
  // AppWorkspaceSwitcher), popovers (AppPopover), and every portalled wui-* panel
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ============================================================================
2
4
  // Metric strip: a row of linked values, each a label over a value over a note.
3
5
  // No card chrome. Markup and classes are the same for <app-metric-strip> and
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // Server-loaded modal: loading skeleton, error state and the submit-failure alert. The fullscreen
2
4
  // size lives with the modal itself in _overlays.scss, since a page modal uses it too.
3
5
  //
@@ -69,7 +71,7 @@
69
71
  display: flex;
70
72
  pointer-events: none;
71
73
  transform: translateX(100%);
72
- transition: transform 0.25s var(--wui-ease-ui);
74
+ transition: transform var(--wui-duration-default) var(--wui-ease-ui);
73
75
  }
74
76
  .modal.wui-remote-drawer.show .modal-dialog.wui-remote-drawer-dialog {
75
77
  transform: none;
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Money ──
2
4
  // <app-money>: an amount in rupees; tabular figures so a column of amounts lines up.
3
5
  //
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // AppNavList / <app-nav-list>: a page-level rail of links with icons or dots, counts and a tinted current row.
2
4
  // The current row is tinted by the primary soft fill and its text takes the AA primary text colour. Every colour is a theme token.
3
5
  //
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Navigation menu ──
2
4
  // AppNavigationMenu / <app-navigation-menu> (a <wui-navigation-menu> element): a site's top
3
5
  // navigation. An entry is a link or a button that discloses a panel of links; the panel opens on
@@ -62,7 +64,7 @@ wui-navigation-menu {
62
64
  .wui-nav-menu-trigger > .wui-nav-menu-chevron {
63
65
  flex: none;
64
66
  margin-left: auto;
65
- transition: rotate 150ms var(--wui-ease-out);
67
+ transition: rotate var(--wui-duration-fast) var(--wui-ease-out);
66
68
  }
67
69
  .wui-nav-menu-trigger[aria-expanded="true"] > .wui-nav-menu-chevron {
68
70
  rotate: 180deg;