@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
  // Drawer / sidebar menu, tabs, search field.
2
4
  //
3
5
  // Part of the wui-components layer — see _wui-components.scss for the whole
@@ -18,7 +20,7 @@
18
20
  // the modal ladder, so this panel is never trapped under sticky/fixed shell chrome.
19
21
  z-index: var(--wui-z-shell-drawer);
20
22
  transform: translateX(100%);
21
- transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
23
+ transition: transform var(--wui-duration-default) var(--wui-ease-in-out);
22
24
  display: flex;
23
25
  flex-direction: column;
24
26
  }
@@ -31,7 +33,7 @@
31
33
  background: var(--color-scrim);
32
34
  opacity: 0;
33
35
  pointer-events: none;
34
- transition: opacity 0.2s;
36
+ transition: opacity var(--wui-duration-default) var(--wui-ease-ui);
35
37
  z-index: var(--wui-z-shell-scrim);
36
38
  }
37
39
  .drawer-backdrop.open {
@@ -168,8 +170,8 @@
168
170
  // reads as a heavy grey block; half of it still answers the press.
169
171
  --wui-pressed-overlay: color-mix(in srgb, currentColor 6%, transparent);
170
172
  transition:
171
- color 0.12s ease,
172
- border-color 0.12s ease;
173
+ color var(--wui-duration-fast) var(--wui-ease-ui),
174
+ border-color var(--wui-duration-fast) var(--wui-ease-ui);
173
175
  }
174
176
  // Leading icon / image — sit before the label with the strip's 8px gap (from .app-tab).
175
177
  // The library Icon sizes itself; a custom <img> is constrained to a small rounded square
@@ -280,9 +282,9 @@
280
282
  // clip would shear off its rounded corner. A decelerating slide reaches the tab exactly and
281
283
  // never crosses the edge, so the radius is always intact.
282
284
  transition:
283
- transform 0.42s var(--wui-ease-out),
284
- width 0.42s var(--wui-ease-out),
285
- opacity 0.15s ease;
285
+ transform var(--wui-duration-slow) var(--wui-ease-out),
286
+ width var(--wui-duration-slow) var(--wui-ease-out),
287
+ opacity var(--wui-duration-fast) var(--wui-ease-ui);
286
288
  }
287
289
  .app-tabs[data-wui-tabs] .app-tab-indicator {
288
290
  opacity: 1;
@@ -440,9 +442,9 @@
440
442
  height: var(--wui-tab-h, 0);
441
443
  transform: translateY(var(--wui-tab-y, 0));
442
444
  transition:
443
- transform 0.42s var(--wui-ease-out),
444
- height 0.42s var(--wui-ease-out),
445
- opacity 0.15s ease;
445
+ transform var(--wui-duration-slow) var(--wui-ease-out),
446
+ height var(--wui-duration-slow) var(--wui-ease-out),
447
+ opacity var(--wui-duration-fast) var(--wui-ease-ui);
446
448
  }
447
449
  // Vertical pills: the moving pill fills the row width.
448
450
  .app-tabs-vertical.app-tabs-pills .app-tab-indicator {
@@ -585,7 +587,7 @@
585
587
  @media (prefers-reduced-motion: reduce) {
586
588
  .app-tab-indicator,
587
589
  .app-tabs-vertical .app-tab-indicator {
588
- transition: opacity 0.15s ease;
590
+ transition: opacity var(--wui-duration-fast) var(--wui-ease-ui);
589
591
  }
590
592
  .app-tabs {
591
593
  scroll-behavior: auto;
@@ -611,7 +613,7 @@
611
613
  place-items: center;
612
614
  color: var(--color-text-subtle);
613
615
  pointer-events: none;
614
- transition: color 0.12s ease;
616
+ transition: color var(--wui-duration-fast) var(--wui-ease-ui);
615
617
  }
616
618
  .search-wrap:focus-within > .search-icon {
617
619
  color: var(--color-primary-text);
@@ -644,9 +646,9 @@
644
646
  visibility: hidden;
645
647
  pointer-events: none;
646
648
  transition:
647
- opacity 0.12s ease,
648
- visibility 0s linear 0.12s,
649
- color 0.12s ease;
649
+ opacity var(--wui-duration-fast) var(--wui-ease-ui),
650
+ visibility 0s var(--wui-ease-linear) var(--wui-duration-fast),
651
+ color var(--wui-duration-fast) var(--wui-ease-ui);
650
652
  }
651
653
  // Revealed by CONTENT only. Revealing on :focus-within as well put a ✕ on an empty Razor
652
654
  // field while React — which renders the button only when there is a value — showed none:
@@ -657,9 +659,9 @@
657
659
  visibility: visible;
658
660
  pointer-events: auto;
659
661
  transition:
660
- opacity 0.12s ease,
662
+ opacity var(--wui-duration-fast) var(--wui-ease-ui),
661
663
  visibility 0s,
662
- color 0.12s ease;
664
+ color var(--wui-duration-fast) var(--wui-ease-ui);
663
665
  }
664
666
  .search-clear:hover {
665
667
  color: var(--color-text);
@@ -751,7 +753,7 @@
751
753
  border: 2px solid var(--color-border-strong);
752
754
  border-top-color: var(--color-primary);
753
755
  border-radius: 50%;
754
- animation: wui-spin 0.7s linear infinite;
756
+ animation: wui-spin calc(var(--wui-duration-slow) * 2) var(--wui-ease-linear) infinite;
755
757
  pointer-events: none;
756
758
  }
757
759
  .search-input:disabled {
@@ -785,3 +787,53 @@
785
787
  color: var(--color-text);
786
788
  font-weight: 500;
787
789
  }
790
+ .wui-breadcrumb-collapse {
791
+ flex-wrap: nowrap;
792
+ min-width: 0;
793
+ }
794
+ .wui-breadcrumb-collapse > .breadcrumb-item {
795
+ flex: none;
796
+ white-space: nowrap;
797
+ }
798
+ .wui-breadcrumb-collapse > .breadcrumb-item:last-child {
799
+ flex: 0 1 auto;
800
+ min-width: 0;
801
+ overflow: hidden;
802
+ text-overflow: ellipsis;
803
+ }
804
+ .wui-breadcrumb-collapsible {
805
+ display: none;
806
+ }
807
+ .wui-breadcrumb-more-toggle {
808
+ display: inline-flex;
809
+ align-items: center;
810
+ padding: 0 var(--wui-space-xs);
811
+ border: 0;
812
+ border-radius: var(--wui-radius-sm);
813
+ background: transparent;
814
+ color: var(--color-text-muted);
815
+ line-height: inherit;
816
+ }
817
+ .wui-breadcrumb-more-toggle:hover,
818
+ .wui-breadcrumb-more-toggle:focus-visible {
819
+ color: var(--color-primary-text);
820
+ }
821
+ @include media-breakpoint-up(md) {
822
+ .wui-breadcrumb-collapse {
823
+ flex-wrap: wrap;
824
+ }
825
+ .wui-breadcrumb-collapse > .breadcrumb-item {
826
+ flex: initial;
827
+ white-space: normal;
828
+ }
829
+ .wui-breadcrumb-collapse > .breadcrumb-item:last-child {
830
+ overflow: visible;
831
+ text-overflow: clip;
832
+ }
833
+ .wui-breadcrumb-collapsible {
834
+ display: list-item;
835
+ }
836
+ .wui-breadcrumb-more {
837
+ display: none;
838
+ }
839
+ }
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Notification centre ──
2
4
  // AppNotificationCenter / <app-notification-center> (a <wui-notification-center> element): a bell
3
5
  // with an unread count that opens a panel of notifications grouped by day. The element shows the
@@ -13,7 +15,7 @@
13
15
  .wui-notification-center-trigger {
14
16
  position: relative;
15
17
  }
16
- // White on the strong danger fill, ringed in the surface colour so it reads as sitting on the bell.
18
+ // 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
19
  .wui-notification-center-count {
18
20
  position: absolute;
19
21
  top: -2px;
@@ -24,8 +26,8 @@
24
26
  padding: 0 3px;
25
27
  border: 2px solid var(--color-surface);
26
28
  border-radius: 999px;
27
- background: var(--color-danger-strong);
28
- color: var(--color-progress-label);
29
+ background: var(--wui-notification-count-bg, var(--color-danger-strong));
30
+ color: var(--wui-notification-count-fg, var(--color-progress-label));
29
31
  font-size: 12px;
30
32
  font-weight: 700;
31
33
  line-height: 14px;
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Onboarding checklist ──
2
4
  // AppOnboardingChecklist / <app-onboarding-checklist> / <wui-onboarding-checklist>: a first-run
3
5
  // setup card. A heading that collapses the steps, a close icon, a bar of one segment per step and
@@ -208,6 +210,6 @@ a.wui-onboarding-label:focus-visible::after {
208
210
 
209
211
  @media (prefers-reduced-motion: no-preference) {
210
212
  .wui-onboarding-chevron {
211
- transition: transform 160ms var(--wui-ease-ui);
213
+ transition: transform var(--wui-duration-fast) var(--wui-ease-ui);
212
214
  }
213
215
  }
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Org tree ──
2
4
  // AppOrgTree / <app-org-tree> over <wui-org-tree>. Each surface draws the markup; this partial draws
3
5
  // it as an inverted org chart: root on top, reports in a row below, connector lines in the border
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // Prefer .wui-* for new chrome; legacy bare names here are frozen until a BREAKING rename.
2
4
  // Modal, confirm dialog.
3
5
  //
@@ -308,8 +310,8 @@ body[data-rr-ui-modal-open] {
308
310
  border-radius: var(--wui-radius-lg);
309
311
  corner-shape: squircle;
310
312
  transition:
311
- background 180ms cubic-bezier(0.4, 0, 0.2, 1),
312
- color 180ms cubic-bezier(0.4, 0, 0.2, 1);
313
+ background var(--wui-duration-default) var(--wui-ease-in-out),
314
+ color var(--wui-duration-default) var(--wui-ease-in-out);
313
315
  }
314
316
  @media (max-width: 575.98px), (pointer: coarse) {
315
317
  .wui-modal-close,
@@ -323,8 +325,8 @@ body[data-rr-ui-modal-open] {
323
325
  background: var(--color-danger-soft);
324
326
  color: var(--color-danger-text);
325
327
  transition:
326
- background 280ms cubic-bezier(0.16, 1, 0.3, 1),
327
- color 280ms cubic-bezier(0.16, 1, 0.3, 1);
328
+ background var(--wui-duration-default) var(--wui-ease-out),
329
+ color var(--wui-duration-default) var(--wui-ease-out);
328
330
  }
329
331
  .wui-modal-close:focus-visible,
330
332
  .wui-drawer-close:focus-visible {
@@ -336,9 +338,7 @@ body[data-rr-ui-modal-open] {
336
338
  .wui-modal-close:hover,
337
339
  .wui-drawer-close,
338
340
  .wui-drawer-close:hover {
339
- transition:
340
- background 1ms linear,
341
- color 1ms linear;
341
+ transition: none;
342
342
  }
343
343
  }
344
344
 
@@ -358,15 +358,15 @@ body[data-rr-ui-modal-open] {
358
358
  border-radius: var(--wui-radius-lg);
359
359
  corner-shape: squircle;
360
360
  transition:
361
- background 180ms cubic-bezier(0.4, 0, 0.2, 1),
362
- color 180ms cubic-bezier(0.4, 0, 0.2, 1);
361
+ background var(--wui-duration-default) var(--wui-ease-in-out),
362
+ color var(--wui-duration-default) var(--wui-ease-in-out);
363
363
  }
364
364
  .wui-modal-back:hover {
365
365
  background: var(--color-bg-muted);
366
366
  color: var(--color-text);
367
367
  transition:
368
- background 280ms cubic-bezier(0.16, 1, 0.3, 1),
369
- color 280ms cubic-bezier(0.16, 1, 0.3, 1);
368
+ background var(--wui-duration-default) var(--wui-ease-out),
369
+ color var(--wui-duration-default) var(--wui-ease-out);
370
370
  }
371
371
  .wui-modal-back:focus-visible {
372
372
  outline: var(--wui-focus-ring-width) solid var(--color-focus-ring);
@@ -375,9 +375,7 @@ body[data-rr-ui-modal-open] {
375
375
  @media (prefers-reduced-motion: reduce) {
376
376
  .wui-modal-back,
377
377
  .wui-modal-back:hover {
378
- transition:
379
- background 1ms linear,
380
- color 1ms linear;
378
+ transition: none;
381
379
  }
382
380
  }
383
381
 
@@ -623,8 +621,8 @@ body[data-rr-ui-modal-open] {
623
621
  opacity: 0;
624
622
  visibility: hidden;
625
623
  transition:
626
- opacity 0.12s ease,
627
- visibility 0.12s;
624
+ opacity var(--wui-duration-fast) var(--wui-ease-ui),
625
+ visibility var(--wui-duration-fast) var(--wui-ease-ui);
628
626
  }
629
627
  [data-wui-tip]:hover::after,
630
628
  [data-wui-tip]:focus-visible::after {
@@ -746,9 +744,9 @@ body[data-rr-ui-modal-open] {
746
744
  touch-action: pan-y;
747
745
  user-select: none;
748
746
  transition:
749
- transform 0.2s ease,
750
- opacity 0.2s ease;
751
- animation: wui-toast-in 0.24s ease;
747
+ transform var(--wui-duration-default) var(--wui-ease-ui),
748
+ opacity var(--wui-duration-default) var(--wui-ease-ui);
749
+ animation: wui-toast-in var(--wui-duration-default) var(--wui-ease-ui);
752
750
  }
753
751
 
754
752
  // A single-line toast — bare message, no title / action / progress stack — centers its icon,
@@ -836,7 +834,7 @@ body[data-rr-ui-modal-open] {
836
834
  height: 100%;
837
835
  border-radius: 999px;
838
836
  background: var(--wui-toast-accent);
839
- transition: width 200ms var(--wui-ease-ui);
837
+ transition: width var(--wui-duration-default) var(--wui-ease-ui);
840
838
  }
841
839
  .wui-toast-track-pct {
842
840
  flex: none;
@@ -869,7 +867,7 @@ body[data-rr-ui-modal-open] {
869
867
  line-height: 1.4;
870
868
  text-decoration: none;
871
869
  white-space: nowrap;
872
- transition: background-color 120ms ease, color 120ms ease;
870
+ transition: background-color var(--wui-duration-fast) var(--wui-ease-ui), color var(--wui-duration-fast) var(--wui-ease-ui);
873
871
  }
874
872
  // Hover: a soft pill in the toast's variant tint — highlight, not underline, no motion.
875
873
  .wui-toast-action:hover {
@@ -916,7 +914,7 @@ body[data-rr-ui-modal-open] {
916
914
  width: 100%;
917
915
  transform-origin: left center;
918
916
  animation-name: wui-toast-countdown;
919
- animation-timing-function: linear;
917
+ animation-timing-function: var(--wui-ease-linear);
920
918
  animation-fill-mode: forwards;
921
919
  }
922
920
  .wui-toast:hover .wui-toast-progress,
@@ -965,23 +963,23 @@ body[data-rr-ui-modal-open] {
965
963
  // materializes softly while the status icon grows from a dot with a slight overshoot,
966
964
  // and the message trails in last.
967
965
  .wui-toast--anim-organic {
968
- animation: wui-toast-materialize 360ms var(--wui-ease-out);
966
+ animation: wui-toast-materialize var(--wui-duration-slow) var(--wui-ease-out);
969
967
  }
970
968
  .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;
969
+ animation: wui-toast-icon-grow var(--wui-duration-slow) var(--wui-ease-elastic) calc(var(--wui-duration-fast) * 0.5) backwards;
972
970
  }
973
971
  .wui-toast--anim-organic .wui-toast-content {
974
- animation: wui-toast-content-in 300ms 190ms var(--wui-ease-out) backwards;
972
+ animation: wui-toast-content-in var(--wui-duration-default) var(--wui-ease-out) calc(var(--wui-duration-fast) * 1.25) backwards;
975
973
  }
976
974
 
977
975
  // `jelly` — drops in with a squash-and-stretch landing.
978
976
  .wui-toast--anim-jelly {
979
- animation: wui-toast-jelly 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
977
+ animation: wui-toast-jelly var(--wui-duration-slow) var(--wui-ease-elastic);
980
978
  }
981
979
 
982
980
  // `spring` — slides up from below with an elastic settle.
983
981
  .wui-toast--anim-spring {
984
- animation: wui-toast-spring 550ms cubic-bezier(0.34, 1.56, 0.64, 1);
982
+ animation: wui-toast-spring var(--wui-duration-slow) var(--wui-ease-elastic);
985
983
  }
986
984
 
987
985
  @keyframes wui-toast-materialize {
@@ -1055,24 +1053,16 @@ body[data-rr-ui-modal-open] {
1055
1053
  // Everything inside consumes --color-* vars, so re-pointing them here restyles the whole
1056
1054
  // card (icon, text hierarchy, action pill, progress track) in one place.
1057
1055
  .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);
1056
+ --color-surface: var(--color-surface-inverse);
1057
+ --color-border: var(--color-surface-inverse-wash-24);
1058
+ --color-text: var(--color-text-inverse);
1059
+ --color-text-muted: color-mix(in srgb, var(--color-text-inverse) 72%, var(--color-surface-inverse));
1060
+ --color-bg-muted: var(--color-surface-inverse-raised);
1063
1061
  }
1064
1062
  // Bootstrap's .btn-close glyph is ink-dark; on the dark card it needs the white filter.
1065
1063
  .wui-toast--surface-inverse .wui-toast-close {
1066
1064
  filter: invert(1) grayscale(100%) brightness(200%);
1067
1065
  }
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
1066
  :root[data-theme="dark"] .wui-toast--surface-inverse .wui-toast-close,
1077
1067
  :root[data-bs-theme="dark"] .wui-toast--surface-inverse .wui-toast-close {
1078
1068
  filter: none;
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Bar ── (`size="bar"`): one 40px header row. The breadcrumbs lead as an inline prefix. The
2
4
  // title keeps its content width and a spacer takes the spare width, so the views follow the title
3
5
  // and the tools and actions sit at the far end. Below md the row wraps, so the actions drop under
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // Pager: the table-footer and standalone page controls.
2
4
  //
3
5
  // Part of the wui-components layer; imported right after _data.scss. Order within the layer is load-bearing (see _wui-components.scss).
@@ -62,8 +64,8 @@
62
64
  border-radius: 50%;
63
65
  cursor: pointer;
64
66
  transition:
65
- background 0.14s ease,
66
- color 0.14s ease;
67
+ background var(--wui-duration-fast) var(--wui-ease-ui),
68
+ color var(--wui-duration-fast) var(--wui-ease-ui);
67
69
  }
68
70
  .tpg-arrow:hover:not(:disabled) {
69
71
  background: color-mix(in srgb, var(--color-primary) 10%, transparent);
@@ -97,8 +99,8 @@
97
99
  text-decoration: none;
98
100
  cursor: pointer;
99
101
  transition:
100
- background 0.14s ease,
101
- color 0.14s ease;
102
+ background var(--wui-duration-fast) var(--wui-ease-ui),
103
+ color var(--wui-duration-fast) var(--wui-ease-ui);
102
104
  }
103
105
  .tpg-page:hover:not(.is-active) {
104
106
  background: color-mix(in srgb, var(--color-primary) 10%, transparent);
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // A field element is undefined until its script runs: wui-select until the page script at the end of
2
4
  // the body, an on-demand element (packages/elements src/global/chunks.js) one request after that. Until
3
5
  // then it keeps its field height and hides its option children, so the field does not jump or flash
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Period picker ──
2
4
  // <app-period-picker>: the period filter of a report or list page. The month kind is two arrows
3
5
  // around a fixed-width label, so the arrows stay put as the month name changes.
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Rating ──
2
4
  // AppRating / <app-rating>: a 1 to N star input (a <wui-rating> radiogroup) or a read-only display.
3
5
  // Each star is an outline glyph with a bold copy on top, clipped to the filled share of its width.
@@ -31,7 +33,7 @@
31
33
  width: 0;
32
34
  overflow: hidden;
33
35
  color: var(--color-warning);
34
- transition: width 0.12s ease;
36
+ transition: width var(--wui-duration-fast) var(--wui-ease-ui);
35
37
  }
36
38
  .wui-rating-fill .wui-icon {
37
39
  flex: none;
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Record pager ──
2
4
  // AppRecordPager / <app-record-pager> (a <wui-record-pager> element): "12 of 47" and the
3
5
  // previous and next action icons, in a detail page's header actions or a split view's pane header.
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Relative time ──
2
4
  // AppRelativeTime / <app-relative-time> (a <wui-relative-time> element): "5 minutes ago" with the
3
5
  // exact IST time as the tooltip.
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Resizable panels ──
2
4
  // AppResizable / <app-resizable> (a <wui-resizable> element): panels side by side or stacked with a
3
5
  // handle between each pair. The element writes each panel's `flex` (a share of the room the panels
@@ -93,6 +95,6 @@
93
95
 
94
96
  @media (prefers-reduced-motion: no-preference) {
95
97
  .wui-resizable-handle::after {
96
- transition: background-color 120ms var(--wui-ease-ui);
98
+ transition: background-color var(--wui-duration-fast) var(--wui-ease-ui);
97
99
  }
98
100
  }
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // Rich text: the <wui-rich-text> element behind AppRichText / <app-rich-text>.
2
4
  //
3
5
  // Part of the wui-components layer; see _wui-components.scss for the load order. The shell wears the
@@ -34,8 +36,8 @@ wui-rich-text:not(:defined) > textarea {
34
36
  line-height: 1.5;
35
37
  overflow: hidden;
36
38
  transition:
37
- border-color 0.12s,
38
- background-color 0.12s;
39
+ border-color var(--wui-duration-fast) var(--wui-ease-ui),
40
+ background-color var(--wui-duration-fast) var(--wui-ease-ui);
39
41
  }
40
42
  .wui-rich-text-shell:hover {
41
43
  border-color: var(--color-field-border-hover);
@@ -98,8 +100,8 @@ wui-rich-text[readonly] .wui-rich-text-toolbar {
98
100
  font-size: 13px;
99
101
  cursor: pointer;
100
102
  transition:
101
- background-color 0.12s,
102
- color 0.12s;
103
+ background-color var(--wui-duration-fast) var(--wui-ease-ui),
104
+ color var(--wui-duration-fast) var(--wui-ease-ui);
103
105
  }
104
106
  .wui-rich-text-button:hover:not(:disabled) {
105
107
  background: var(--color-bg-muted);
@@ -237,16 +239,20 @@ wui-rich-text[readonly] .wui-rich-text-prose {
237
239
  margin: 0 0 0.75em;
238
240
  }
239
241
  .wui-rich-text-prose h2,
240
- .wui-rich-text-prose h3 {
242
+ .wui-rich-text-prose .h2,
243
+ .wui-rich-text-prose h3,
244
+ .wui-rich-text-prose .h3 {
241
245
  margin: 1em 0 0.5em;
242
246
  font-weight: 600;
243
247
  line-height: 1.3;
244
248
  color: var(--color-text);
245
249
  }
246
- .wui-rich-text-prose h2 {
250
+ .wui-rich-text-prose h2,
251
+ .wui-rich-text-prose .h2 {
247
252
  font-size: 1.25em;
248
253
  }
249
- .wui-rich-text-prose h3 {
254
+ .wui-rich-text-prose h3,
255
+ .wui-rich-text-prose .h3 {
250
256
  font-size: 1.1em;
251
257
  }
252
258
  .wui-rich-text-prose ul,
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Rolling number ──
2
4
  // AppRollingNumber / <app-rolling-number> (a <wui-rolling-number> element): a figure whose digits
3
5
  // roll to a new value. The element draws one reel (digits 0 to 9, stacked) per digit in the
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // ── Score scale ──
2
4
  // AppScoreScale / <app-score-scale>: one value per radio on a row of equal-width items that wraps on narrow screens.
3
5
  // Each value is a label around a visually hidden native radio, so the arrow keys and the checked state come from the browser.
@@ -25,9 +27,9 @@
25
27
  font-variant-numeric: tabular-nums;
26
28
  cursor: pointer;
27
29
  transition:
28
- border-color 0.12s ease,
29
- background 0.12s ease,
30
- color 0.12s ease;
30
+ border-color var(--wui-duration-fast) var(--wui-ease-ui),
31
+ background var(--wui-duration-fast) var(--wui-ease-ui),
32
+ color var(--wui-duration-fast) var(--wui-ease-ui);
31
33
  }
32
34
  .wui-score-scale__item:not(.wui-score-scale__item--selected):hover {
33
35
  border-color: color-mix(in srgb, var(--color-primary) 30%, transparent);
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // AppScrollbar / opt-in internal scrollers — same tokens as the document rail
2
4
  // (--wui-scrollbar*). Document chrome lives on html/body only; use this class
3
5
  // for panels, drawers, and modal bodies that need a matching thin thumb.
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // Lead capture section of a marketing page (AppSectionLeadCapture).
2
4
  //
3
5
  // Part of the wui-components layer; imported after _sections.scss. Order within the layer is load-bearing (see _wui-components.scss).
@@ -1,3 +1,6 @@
1
+ @use "../config" as *;
2
+ @use "tone-pill" as *;
3
+
1
4
  // ── Section kit ──
2
5
  // AppSection* / <app-section-*>: the hero, features, logos, testimonials, pricing, FAQ and call to
3
6
  // action sections of a public page. One frame for all seven:
@@ -254,8 +257,8 @@
254
257
  filter: grayscale(1);
255
258
  opacity: 0.7;
256
259
  transition:
257
- filter 0.2s ease,
258
- opacity 0.2s ease;
260
+ filter var(--wui-duration-default) var(--wui-ease-ui),
261
+ opacity var(--wui-duration-default) var(--wui-ease-ui);
259
262
  }
260
263
  .wui-section-logo-img:hover,
261
264
  .wui-section-logo a:focus-visible .wui-section-logo-img {
@@ -1,3 +1,5 @@
1
+ @use "../config" as *;
2
+
1
3
  // The select family: <wui-select> in every mode (single, multiple, search, tag, country),
2
4
  // its menu and its parts (chips, draft input, option rows).
3
5