@webority/theme 0.99.0 → 0.101.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.
- package/README.md +9 -9
- package/dist/published-theme.json +8 -31
- package/dist/purge-safelist.json +1 -0
- package/dist/webority-theme.css +1 -1
- package/index.scss +4 -3
- package/package.json +6 -3
- package/scss/_bootstrap.generated.scss +18 -0
- package/scss/_components.scss +38 -38
- package/scss/_marketing.scss +8 -8
- package/scss/_tokens.generated.scss +831 -0
- package/scss/_tokens.scss +4 -638
- package/scss/_variables.scss +7 -12
- package/scss/_wui-components.scss +1 -1
- package/scss/_wui-residual.scss +8 -0
- package/scss/wui/_avatar-picker.scss +2 -2
- package/scss/wui/_calendar.scss +6 -6
- package/scss/wui/_card.scss +1 -1
- package/scss/wui/_carousel.scss +2 -2
- package/scss/wui/_chart-card.scss +2 -2
- package/scss/wui/_chart.scss +8 -8
- package/scss/wui/_chat.scss +2 -2
- package/scss/wui/_choice.scss +78 -78
- package/scss/wui/_code-block.scss +2 -2
- package/scss/wui/_command-palette.scss +9 -9
- package/scss/wui/_comment-thread.scss +5 -5
- package/scss/wui/_consent-banner.scss +2 -2
- package/scss/wui/_controls.scss +52 -52
- package/scss/wui/_data.scss +38 -38
- package/scss/wui/_disclosure.scss +6 -6
- package/scss/wui/_display.scss +51 -51
- package/scss/wui/_dock.scss +4 -4
- package/scss/wui/_drawer.scss +3 -3
- package/scss/wui/_file-viewer.scss +2 -2
- package/scss/wui/_filter-popover.scss +1 -1
- package/scss/wui/_floating.scss +1 -1
- package/scss/wui/_flow.scss +60 -60
- package/scss/wui/_groups.scss +7 -7
- package/scss/wui/_hover-card.scss +1 -1
- package/scss/wui/_image-crop.scss +3 -3
- package/scss/wui/_interaction.scss +3 -3
- package/scss/wui/_kanban.scss +4 -4
- package/scss/wui/_lightbox.scss +2 -2
- package/scss/wui/_media.scss +28 -28
- package/scss/wui/_mention-input.scss +4 -4
- package/scss/wui/_menu-motion.scss +1 -1
- package/scss/wui/_modal-remote.scss +2 -2
- package/scss/wui/_navigation-menu.scss +4 -4
- package/scss/wui/_navigation.scss +25 -25
- package/scss/wui/_notification-center.scss +4 -4
- package/scss/wui/_onboarding-checklist.scss +2 -2
- package/scss/wui/_overlays.scss +21 -21
- package/scss/wui/_pending.scss +1 -1
- package/scss/wui/_rich-text.scss +7 -7
- package/scss/wui/_rolling-number.scss +1 -1
- package/scss/wui/_score-scale.scss +1 -1
- package/scss/wui/_sections.scss +8 -8
- package/scss/wui/_shell-parts.scss +15 -15
- package/scss/wui/_shell.scss +20 -20
- package/scss/wui/_shortcuts.scss +1 -1
- package/scss/wui/_sortable.scss +2 -2
- package/scss/wui/_split-view.scss +4 -4
- package/scss/wui/_theme-toggle.scss +1 -1
- package/scss/wui/_tone-pill.scss +2 -2
- package/scss/wui/_toolbar.scss +2 -2
- package/scss/wui/_tree.scss +3 -3
- package/scss/wui/_typography.scss +6 -6
- package/scss/wui/_utilities.scss +27 -19
- package/scss/wui/_whats-new.scss +4 -4
- package/scss/wui/_workspace.scss +16 -16
- package/scss/wui/tour/_advance.scss +1 -1
- package/scss/wui/tour/_base.scss +1 -1
- package/scss/wui/tour/_end.scss +1 -1
- package/scss/wui/tour/_motion.scss +1 -1
- package/token-meanings.json +56 -64
- package/scss/_wui-aliases.scss +0 -495
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
|
|
158
158
|
/* Tones — tinted surface + on-tint text; icon/remove inherit the tone colour. */
|
|
159
159
|
.chip.primary {
|
|
160
|
-
@include wui-tone-pill-colors(primary, var(--color-primary-
|
|
160
|
+
@include wui-tone-pill-colors(primary, var(--color-primary-text));
|
|
161
161
|
}
|
|
162
162
|
.chip.success {
|
|
163
163
|
@include wui-tone-pill-colors(success);
|
|
@@ -226,7 +226,7 @@
|
|
|
226
226
|
}
|
|
227
227
|
|
|
228
228
|
// Solid — a filled pill carrying white text (near-black on the light-primary in
|
|
229
|
-
// dark mode, via --color-primary
|
|
229
|
+
// dark mode, via --color-on-primary). The fills are the deep, white-safe
|
|
230
230
|
// tokens: --wui-*-strong / --color-primary are AA with white; info & warning
|
|
231
231
|
// have no ready deep token, so they are mixed toward black until white clears
|
|
232
232
|
// AA (warning-with-white only passes on a dark gold — the vibrant --wui-warning
|
|
@@ -239,7 +239,7 @@
|
|
|
239
239
|
}
|
|
240
240
|
.chip-solid.primary {
|
|
241
241
|
background: var(--color-primary);
|
|
242
|
-
color: var(--color-primary
|
|
242
|
+
color: var(--color-on-primary);
|
|
243
243
|
border-color: transparent;
|
|
244
244
|
}
|
|
245
245
|
.chip-solid.success {
|
|
@@ -384,7 +384,7 @@ wui-multiselect[collapse-chips] .ms-chips {
|
|
|
384
384
|
flex-shrink: 0;
|
|
385
385
|
background: var(--color-primary-soft);
|
|
386
386
|
border-color: transparent;
|
|
387
|
-
color: var(--color-primary-
|
|
387
|
+
color: var(--color-primary-text);
|
|
388
388
|
font-weight: 600;
|
|
389
389
|
}
|
|
390
390
|
.search-select-multi .search-select-caret,
|
|
@@ -397,7 +397,7 @@ wui-multiselect[collapse-chips] .ms-chips {
|
|
|
397
397
|
justify-content: center;
|
|
398
398
|
width: 16px;
|
|
399
399
|
flex: none;
|
|
400
|
-
color: var(--color-primary-
|
|
400
|
+
color: var(--color-primary-text);
|
|
401
401
|
opacity: 0;
|
|
402
402
|
}
|
|
403
403
|
.search-select-option[aria-selected='true'] .ms-check {
|
|
@@ -484,7 +484,7 @@ wui-multiselect[collapse-chips] .ms-chips {
|
|
|
484
484
|
// control height, so raise it; sm and lg come from the size-specific `.search-select-{sm,lg}
|
|
485
485
|
// .search-select-control` rules.
|
|
486
486
|
wui-taginput .search-select-multi {
|
|
487
|
-
min-height: var(--wui-control-
|
|
487
|
+
min-height: var(--wui-control-md);
|
|
488
488
|
}
|
|
489
489
|
|
|
490
490
|
/* ── Choice card: image / custom-template variant ── */
|
package/scss/wui/_utilities.scss
CHANGED
|
@@ -91,10 +91,10 @@
|
|
|
91
91
|
transition: color 0.15s;
|
|
92
92
|
}
|
|
93
93
|
.infotip-btn:hover {
|
|
94
|
-
color: var(--color-primary-
|
|
94
|
+
color: var(--color-primary-text);
|
|
95
95
|
}
|
|
96
96
|
.infotip-btn:focus-visible {
|
|
97
|
-
color: var(--color-primary-
|
|
97
|
+
color: var(--color-primary-text);
|
|
98
98
|
outline: var(--wui-focus-ring-width) solid var(--color-focus-ring);
|
|
99
99
|
outline-offset: var(--wui-focus-ring-offset);
|
|
100
100
|
}
|
|
@@ -114,8 +114,8 @@
|
|
|
114
114
|
padding: 12px 14px;
|
|
115
115
|
background: var(--color-surface);
|
|
116
116
|
border: none;
|
|
117
|
-
border-radius: var(--radius-lg);
|
|
118
|
-
box-shadow: var(--shadow-
|
|
117
|
+
border-radius: var(--wui-radius-lg);
|
|
118
|
+
box-shadow: var(--wui-shadow-popover);
|
|
119
119
|
text-align: left;
|
|
120
120
|
white-space: normal;
|
|
121
121
|
cursor: default;
|
|
@@ -196,10 +196,10 @@
|
|
|
196
196
|
place-items: center;
|
|
197
197
|
width: 55px;
|
|
198
198
|
height: 55px;
|
|
199
|
-
border-radius: var(--radius);
|
|
199
|
+
border-radius: var(--wui-radius-md);
|
|
200
200
|
corner-shape: squircle;
|
|
201
201
|
background: var(--color-primary-soft);
|
|
202
|
-
color: var(--color-primary-
|
|
202
|
+
color: var(--color-primary-text);
|
|
203
203
|
}
|
|
204
204
|
.page-header.tone-success .page-header-icon {
|
|
205
205
|
background: var(--color-success-soft);
|
|
@@ -226,7 +226,7 @@
|
|
|
226
226
|
font-weight: 700;
|
|
227
227
|
letter-spacing: 0.06em;
|
|
228
228
|
text-transform: uppercase;
|
|
229
|
-
color: var(--color-primary-
|
|
229
|
+
color: var(--color-primary-text);
|
|
230
230
|
margin-bottom: 3px;
|
|
231
231
|
}
|
|
232
232
|
.page-header.tone-success .page-eyebrow {
|
|
@@ -409,7 +409,7 @@
|
|
|
409
409
|
}
|
|
410
410
|
.topbar-icon-btn:hover {
|
|
411
411
|
background: var(--color-primary-soft);
|
|
412
|
-
color: var(--color-primary-
|
|
412
|
+
color: var(--color-primary-text);
|
|
413
413
|
}
|
|
414
414
|
.topbar-icon-btn.has-badge::after {
|
|
415
415
|
content: "";
|
|
@@ -439,7 +439,7 @@
|
|
|
439
439
|
.wui-dropdown-trigger:focus-visible {
|
|
440
440
|
outline: var(--wui-focus-ring-width) solid var(--color-focus-ring);
|
|
441
441
|
outline-offset: var(--wui-focus-ring-offset);
|
|
442
|
-
border-radius: var(--radius-sm);
|
|
442
|
+
border-radius: var(--wui-radius-sm);
|
|
443
443
|
}
|
|
444
444
|
|
|
445
445
|
// AppPopover wrapper (React panel styling comes from Bootstrap's .popover; this is only the
|
|
@@ -474,7 +474,7 @@
|
|
|
474
474
|
--bs-popover-header-bg: var(--color-surface);
|
|
475
475
|
// A 14px heading: one step above the 13px body, so the card reads as help, not a dialog.
|
|
476
476
|
--bs-popover-header-font-size: 14px;
|
|
477
|
-
box-shadow: var(--wui-shadow-
|
|
477
|
+
box-shadow: var(--wui-shadow-popover);
|
|
478
478
|
}
|
|
479
479
|
.pw-popover .popover-body,
|
|
480
480
|
.infotip-popover .popover-body {
|
|
@@ -605,7 +605,7 @@
|
|
|
605
605
|
color: inherit;
|
|
606
606
|
cursor: pointer;
|
|
607
607
|
opacity: 0.7;
|
|
608
|
-
border-radius: var(--radius-sm);
|
|
608
|
+
border-radius: var(--wui-radius-sm);
|
|
609
609
|
}
|
|
610
610
|
.wui-banner-dismiss:hover {
|
|
611
611
|
opacity: 1;
|
|
@@ -744,7 +744,7 @@
|
|
|
744
744
|
overflow: hidden;
|
|
745
745
|
display: block;
|
|
746
746
|
background: var(--color-border-strong);
|
|
747
|
-
border-radius: var(--radius-sm);
|
|
747
|
+
border-radius: var(--wui-radius-sm);
|
|
748
748
|
}
|
|
749
749
|
.skeleton::after {
|
|
750
750
|
content: "";
|
|
@@ -767,6 +767,14 @@
|
|
|
767
767
|
animation: none;
|
|
768
768
|
}
|
|
769
769
|
}
|
|
770
|
+
.wui-skeleton-lines {
|
|
771
|
+
display: flex;
|
|
772
|
+
flex-direction: column;
|
|
773
|
+
gap: var(--wui-space-xs);
|
|
774
|
+
}
|
|
775
|
+
.wui-skeleton-lines > .skeleton {
|
|
776
|
+
height: 1em;
|
|
777
|
+
}
|
|
770
778
|
|
|
771
779
|
// AppAlert — a soft tinted banner with a filled circular icon badge and a
|
|
772
780
|
// coloured heading line. It reports a state (role="alert"/"status") or, with
|
|
@@ -785,11 +793,11 @@
|
|
|
785
793
|
|
|
786
794
|
// Per-variant surface: soft tint fill + a -50 border (deep enough to read beside the accent
|
|
787
795
|
// edge); body text stays ink. Every colour comes from a --color-* token that the dark theme
|
|
788
|
-
// remaps (
|
|
796
|
+
// remaps (_tokens.generated.scss), so the alert flips with the page in every dark path, the manual
|
|
789
797
|
// data-theme attribute and the auto media query alike, with no per-component dark rules.
|
|
790
798
|
.alert-info {
|
|
791
799
|
--bs-alert-bg: var(--color-info-soft);
|
|
792
|
-
--bs-alert-border-color: var(--color-info-
|
|
800
|
+
--bs-alert-border-color: var(--color-info-border);
|
|
793
801
|
--bs-alert-color: var(--color-text-body);
|
|
794
802
|
--alert-accent: var(--wui-info-active);
|
|
795
803
|
// AA-safe text colour for the heading and an accented <strong>.
|
|
@@ -797,7 +805,7 @@
|
|
|
797
805
|
}
|
|
798
806
|
.alert-success {
|
|
799
807
|
--bs-alert-bg: var(--color-success-soft);
|
|
800
|
-
--bs-alert-border-color: var(--color-success-
|
|
808
|
+
--bs-alert-border-color: var(--color-success-border);
|
|
801
809
|
--bs-alert-color: var(--color-text-body);
|
|
802
810
|
--alert-accent: var(--wui-success-active);
|
|
803
811
|
// AA-safe text colour for the heading and an accented <strong>.
|
|
@@ -805,7 +813,7 @@
|
|
|
805
813
|
}
|
|
806
814
|
.alert-warning {
|
|
807
815
|
--bs-alert-bg: var(--color-warning-soft);
|
|
808
|
-
--bs-alert-border-color: var(--color-warning-
|
|
816
|
+
--bs-alert-border-color: var(--color-warning-border);
|
|
809
817
|
--bs-alert-color: var(--color-text-body);
|
|
810
818
|
--alert-accent: var(--wui-warning-active);
|
|
811
819
|
// AA-safe text colour for the heading and an accented <strong>.
|
|
@@ -813,7 +821,7 @@
|
|
|
813
821
|
}
|
|
814
822
|
.alert-danger {
|
|
815
823
|
--bs-alert-bg: var(--color-danger-soft);
|
|
816
|
-
--bs-alert-border-color: var(--color-danger-
|
|
824
|
+
--bs-alert-border-color: var(--color-danger-border);
|
|
817
825
|
--bs-alert-color: var(--color-text-body);
|
|
818
826
|
--alert-accent: var(--wui-danger-active);
|
|
819
827
|
// AA-safe text colour for the heading and an accented <strong>.
|
|
@@ -1083,7 +1091,7 @@
|
|
|
1083
1091
|
height: 32px;
|
|
1084
1092
|
padding: 0;
|
|
1085
1093
|
background-image: none;
|
|
1086
|
-
border-radius: var(--radius-lg);
|
|
1094
|
+
border-radius: var(--wui-radius-lg);
|
|
1087
1095
|
corner-shape: squircle;
|
|
1088
1096
|
opacity: 1;
|
|
1089
1097
|
filter: none;
|
|
@@ -1129,5 +1137,5 @@
|
|
|
1129
1137
|
cursor: help;
|
|
1130
1138
|
}
|
|
1131
1139
|
.tip-icon:hover {
|
|
1132
|
-
color: var(--color-primary-
|
|
1140
|
+
color: var(--color-primary-text);
|
|
1133
1141
|
}
|
package/scss/wui/_whats-new.scss
CHANGED
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
border: 1px solid var(--color-border);
|
|
59
59
|
border-radius: var(--wui-radius-lg);
|
|
60
60
|
background: var(--color-surface);
|
|
61
|
-
box-shadow: var(--wui-shadow-
|
|
61
|
+
box-shadow: var(--wui-shadow-popover);
|
|
62
62
|
color: var(--color-text-body);
|
|
63
63
|
// Focus lands on the panel itself after an open; the links carry the visible focus.
|
|
64
64
|
outline: none;
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
.wui-whats-new-title {
|
|
77
77
|
margin: 0;
|
|
78
78
|
padding: 14px 16px 10px;
|
|
79
|
-
border-bottom: 1px solid var(--color-border-
|
|
79
|
+
border-bottom: 1px solid var(--color-border-subtle);
|
|
80
80
|
font-size: 15px;
|
|
81
81
|
font-weight: 600;
|
|
82
82
|
}
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
}
|
|
88
88
|
.wui-whats-new-entry {
|
|
89
89
|
padding: 14px 16px;
|
|
90
|
-
border-bottom: 1px solid var(--color-border-
|
|
90
|
+
border-bottom: 1px solid var(--color-border-subtle);
|
|
91
91
|
}
|
|
92
92
|
.wui-whats-new-entry:last-child {
|
|
93
93
|
border-bottom: 0;
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
max-width: 100%;
|
|
119
119
|
height: auto;
|
|
120
120
|
margin-top: 10px;
|
|
121
|
-
border: 1px solid var(--color-border-
|
|
121
|
+
border: 1px solid var(--color-border-subtle);
|
|
122
122
|
border-radius: var(--wui-radius-sm);
|
|
123
123
|
}
|
|
124
124
|
.wui-whats-new-link {
|
package/scss/wui/_workspace.scss
CHANGED
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
outline: calc(var(--wui-focus-ring-width) - 1px) solid var(--color-focus-ring);
|
|
49
49
|
outline-offset: 0;
|
|
50
50
|
background: var(--color-surface);
|
|
51
|
-
border-color: var(--color-
|
|
51
|
+
border-color: var(--color-field-border-focus);
|
|
52
52
|
box-shadow: none;
|
|
53
53
|
}
|
|
54
54
|
// The shared pressed wash of wui/interaction, restated here so it ships with this on-demand layer.
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
.workspace-switcher-footer-action,
|
|
59
59
|
.workspace-switcher-option
|
|
60
60
|
):active:not(:disabled, [aria-disabled="true"]) {
|
|
61
|
-
background-image: linear-gradient(var(--
|
|
61
|
+
background-image: linear-gradient(var(--wui-pressed-overlay), var(--wui-pressed-overlay)) !important;
|
|
62
62
|
}
|
|
63
63
|
.workspace-switcher-trigger.is-compact {
|
|
64
64
|
width: 40px;
|
|
@@ -96,8 +96,8 @@
|
|
|
96
96
|
// A round logo chip on a clean white ring — the same avatar look in the trigger and the menu.
|
|
97
97
|
border-radius: 50%;
|
|
98
98
|
background: var(--color-surface);
|
|
99
|
-
border: 1px solid var(--color-border-
|
|
100
|
-
color: var(--color-primary-
|
|
99
|
+
border: 1px solid var(--color-border-subtle);
|
|
100
|
+
color: var(--color-primary-text);
|
|
101
101
|
font-size: 12px;
|
|
102
102
|
font-weight: 700;
|
|
103
103
|
letter-spacing: 0.02em;
|
|
@@ -155,10 +155,10 @@
|
|
|
155
155
|
max-width: 300px;
|
|
156
156
|
padding: 5px;
|
|
157
157
|
background: var(--color-surface);
|
|
158
|
-
border: 1px solid var(--color-border-
|
|
159
|
-
border-radius: var(--radius-lg);
|
|
158
|
+
border: 1px solid var(--color-border-subtle);
|
|
159
|
+
border-radius: var(--wui-radius-lg);
|
|
160
160
|
corner-shape: squircle;
|
|
161
|
-
box-shadow: var(--wui-shadow-
|
|
161
|
+
box-shadow: var(--wui-shadow-popover);
|
|
162
162
|
}
|
|
163
163
|
.workspace-switcher-menu-label {
|
|
164
164
|
padding: 6px 10px 4px;
|
|
@@ -175,8 +175,8 @@
|
|
|
175
175
|
margin: 2px 4px 6px;
|
|
176
176
|
padding: 6px 10px;
|
|
177
177
|
background: var(--color-bg-subtle);
|
|
178
|
-
border: 1px solid var(--color-border-
|
|
179
|
-
border-radius: var(--radius);
|
|
178
|
+
border: 1px solid var(--color-border-subtle);
|
|
179
|
+
border-radius: var(--wui-radius-md);
|
|
180
180
|
corner-shape: squircle;
|
|
181
181
|
color: var(--color-text-muted);
|
|
182
182
|
}
|
|
@@ -215,7 +215,7 @@
|
|
|
215
215
|
width: 100%;
|
|
216
216
|
padding: 6px 10px;
|
|
217
217
|
border: none;
|
|
218
|
-
border-radius: var(--radius-lg);
|
|
218
|
+
border-radius: var(--wui-radius-lg);
|
|
219
219
|
corner-shape: squircle;
|
|
220
220
|
background: transparent;
|
|
221
221
|
color: var(--color-text);
|
|
@@ -246,7 +246,7 @@
|
|
|
246
246
|
.workspace-switcher .workspace-switcher-option.is-active,
|
|
247
247
|
.workspace-switcher .workspace-switcher-option.is-active:hover {
|
|
248
248
|
background: var(--color-primary-soft);
|
|
249
|
-
color: var(--color-primary-
|
|
249
|
+
color: var(--color-primary-text);
|
|
250
250
|
}
|
|
251
251
|
.workspace-switcher-option-name {
|
|
252
252
|
flex: 1 1 auto;
|
|
@@ -279,7 +279,7 @@
|
|
|
279
279
|
position: relative;
|
|
280
280
|
justify-content: center;
|
|
281
281
|
margin-top: 10px;
|
|
282
|
-
color: var(--color-primary-
|
|
282
|
+
color: var(--color-primary-text);
|
|
283
283
|
font-weight: 600;
|
|
284
284
|
}
|
|
285
285
|
// Dashed divider above the create row — the list and the "Add …" action read as two zones,
|
|
@@ -302,7 +302,7 @@
|
|
|
302
302
|
padding: 6px;
|
|
303
303
|
border-radius: 50%;
|
|
304
304
|
background: var(--color-primary-soft);
|
|
305
|
-
color: var(--color-primary-
|
|
305
|
+
color: var(--color-primary-text);
|
|
306
306
|
}
|
|
307
307
|
|
|
308
308
|
// ── Footer ──
|
|
@@ -321,10 +321,10 @@
|
|
|
321
321
|
width: 100%;
|
|
322
322
|
padding: 6px 10px;
|
|
323
323
|
border: none;
|
|
324
|
-
border-radius: var(--radius-lg);
|
|
324
|
+
border-radius: var(--wui-radius-lg);
|
|
325
325
|
corner-shape: squircle;
|
|
326
326
|
background: transparent;
|
|
327
|
-
color: var(--color-primary-
|
|
327
|
+
color: var(--color-primary-text);
|
|
328
328
|
font-size: 13px;
|
|
329
329
|
font-weight: 600;
|
|
330
330
|
text-align: left;
|
|
@@ -333,7 +333,7 @@
|
|
|
333
333
|
}
|
|
334
334
|
.workspace-switcher .workspace-switcher-footer-action:hover {
|
|
335
335
|
background: var(--color-primary-soft);
|
|
336
|
-
color: var(--color-primary-
|
|
336
|
+
color: var(--color-primary-text);
|
|
337
337
|
}
|
|
338
338
|
|
|
339
339
|
// ── Menu size tiers ── the panel scales with the trigger's `size`. Placed AFTER the base Menu
|
|
@@ -62,6 +62,6 @@
|
|
|
62
62
|
border-radius: inherit;
|
|
63
63
|
corner-shape: inherit;
|
|
64
64
|
pointer-events: none;
|
|
65
|
-
animation: wui-tour-pulse 600ms var(--wui-ease-out
|
|
65
|
+
animation: wui-tour-pulse 600ms var(--wui-ease-out) var(--wui-tour-spot-duration);
|
|
66
66
|
}
|
|
67
67
|
}
|
package/scss/wui/tour/_base.scss
CHANGED
package/scss/wui/tour/_end.scss
CHANGED
|
@@ -77,6 +77,6 @@
|
|
|
77
77
|
// (set inline by tourMotion.js and inherited). Under reduced motion it shows at once.
|
|
78
78
|
@media (prefers-reduced-motion: no-preference) {
|
|
79
79
|
.wui-tour-end-mark path {
|
|
80
|
-
animation: wui-tour-check 300ms var(--wui-ease-out
|
|
80
|
+
animation: wui-tour-check 300ms var(--wui-ease-out) calc(var(--wui-tour-card-delay, 0ms) + 120ms) both;
|
|
81
81
|
}
|
|
82
82
|
}
|
package/token-meanings.json
CHANGED
|
@@ -1,63 +1,65 @@
|
|
|
1
1
|
{
|
|
2
|
-
"--color-accent": "Accent colour, aliased to the warning ramp.",
|
|
3
|
-
"--color-accent-soft": "Soft accent background, aliased to the warning soft tint.",
|
|
4
2
|
"--color-bg": "Page background behind the content area.",
|
|
5
3
|
"--color-bg-muted": "Muted background for grouped areas and quiet controls.",
|
|
6
4
|
"--color-bg-subtle": "Subtle raised background for side panels and bands.",
|
|
7
5
|
"--color-border": "Hairline border of cards, tables and dividers.",
|
|
8
|
-
"--color-border-light": "Softest border for inner dividers and list edges.",
|
|
9
6
|
"--color-border-strong": "Stronger border for emphasised separators.",
|
|
10
|
-
"--color-
|
|
7
|
+
"--color-border-subtle": "Softest border for inner dividers and list edges.",
|
|
8
|
+
"--color-chart-1": "Colour of chart series 1, the brand primary.",
|
|
9
|
+
"--color-chart-2": "Colour of chart series 2 of the eight categorical series.",
|
|
10
|
+
"--color-chart-3": "Colour of chart series 3 of the eight categorical series.",
|
|
11
|
+
"--color-chart-4": "Colour of chart series 4 of the eight categorical series.",
|
|
12
|
+
"--color-chart-5": "Colour of chart series 5 of the eight categorical series.",
|
|
13
|
+
"--color-chart-6": "Colour of chart series 6 of the eight categorical series.",
|
|
14
|
+
"--color-chart-7": "Colour of chart series 7 of the eight categorical series.",
|
|
15
|
+
"--color-chart-8": "Colour of chart series 8 of the eight categorical series.",
|
|
16
|
+
"--color-chart-axis": "Axis line colour of charts.",
|
|
17
|
+
"--color-chart-diverging-high": "Colour of values above the midpoint in a diverging chart.",
|
|
18
|
+
"--color-chart-diverging-low": "Colour of values below the midpoint in a diverging chart.",
|
|
19
|
+
"--color-chart-diverging-mid": "Neutral midpoint colour of a diverging chart.",
|
|
20
|
+
"--color-chart-grid": "Gridline colour of charts.",
|
|
21
|
+
"--color-chart-label": "Tick and legend text colour of charts.",
|
|
22
|
+
"--color-chart-neutral": "Context series colour, such as the last period, and the folded Other slice.",
|
|
23
|
+
"--color-chart-seq-0": "Faintest step of the magnitude ramp, for empty heatmap and calendar cells.",
|
|
24
|
+
"--color-chart-seq-1": "First step of the one-hue magnitude ramp for heatmap and calendar cells.",
|
|
25
|
+
"--color-chart-seq-2": "Second step of the one-hue magnitude ramp for heatmap and calendar cells.",
|
|
26
|
+
"--color-chart-seq-3": "Third step of the one-hue magnitude ramp for heatmap and calendar cells.",
|
|
27
|
+
"--color-chart-seq-4": "Fourth step of the one-hue magnitude ramp for heatmap and calendar cells.",
|
|
28
|
+
"--color-chart-seq-5": "Fifth step of the one-hue magnitude ramp for heatmap and calendar cells.",
|
|
29
|
+
"--color-chart-seq-6": "Strongest step of the one-hue magnitude ramp for heatmap and calendar cells.",
|
|
11
30
|
"--color-danger": "Vivid danger fill for badges, dots and danger buttons.",
|
|
12
|
-
"--color-danger-
|
|
13
|
-
"--color-danger-
|
|
14
|
-
"--color-danger-
|
|
15
|
-
"--color-danger-5": "Faintest danger wash for hover and soft backgrounds.",
|
|
16
|
-
"--color-danger-50": "Danger border tone and the strongest soft danger fill.",
|
|
17
|
-
"--color-danger-active": "Danger ink for icons and active states.",
|
|
18
|
-
"--color-danger-soft": "Soft danger background for alerts.",
|
|
31
|
+
"--color-danger-border": "Tinted danger border of alerts and badges.",
|
|
32
|
+
"--color-danger-pressed": "Danger fill while a control is pressed.",
|
|
33
|
+
"--color-danger-soft": "Soft danger background of alerts and badges.",
|
|
19
34
|
"--color-danger-strong": "Deep danger fill behind white text, such as the danger button.",
|
|
20
35
|
"--color-danger-text": "Danger colour as text on light surfaces, such as validation messages.",
|
|
21
36
|
"--color-danger-text-on-soft": "Danger text on a soft danger tint, such as an alert heading.",
|
|
22
37
|
"--color-field-bg": "Resting fill of input-like controls such as fields and selects.",
|
|
23
38
|
"--color-field-border": "Resting border of an input-like control such as a field or select.",
|
|
39
|
+
"--color-field-border-focus": "Border of a focused, open or active control such as an input or select.",
|
|
24
40
|
"--color-field-border-hover": "Hover border of an input-like control.",
|
|
25
|
-
"--color-focus-border": "Border of a focused, open or active control such as an input or select.",
|
|
26
41
|
"--color-focus-ring": "Colour of the keyboard focus ring drawn on focus-visible controls.",
|
|
27
42
|
"--color-info": "Vivid info fill for badges and dots.",
|
|
28
|
-
"--color-info-
|
|
29
|
-
"--color-info-
|
|
30
|
-
"--color-info-
|
|
31
|
-
"--color-info-5": "Faintest info wash for hover and soft backgrounds.",
|
|
32
|
-
"--color-info-50": "Info border tone and the strongest soft info fill.",
|
|
33
|
-
"--color-info-active": "Info ink for icons and active states.",
|
|
34
|
-
"--color-info-soft": "Soft info background for alerts.",
|
|
43
|
+
"--color-info-border": "Tinted info border of alerts and badges.",
|
|
44
|
+
"--color-info-pressed": "Info fill while a control is pressed.",
|
|
45
|
+
"--color-info-soft": "Soft info background of alerts and badges.",
|
|
35
46
|
"--color-info-strong": "Deepest info fill, used where a strong info fill is needed.",
|
|
36
47
|
"--color-info-text": "Info colour as text on light surfaces.",
|
|
37
48
|
"--color-info-text-on-soft": "Info text on a soft info tint, such as an alert heading.",
|
|
38
|
-
"--color-on-primary
|
|
49
|
+
"--color-on-primary": "Text and icon colour on a solid primary fill.",
|
|
39
50
|
"--color-on-scrim": "Ink on a scrim, such as the text of an overlay.",
|
|
40
|
-
"--color-on-status-fill": "Icon ink on a solid status fill, such as a filled timeline dot.",
|
|
41
|
-
"--color-on-status-strong": "Ink on a deep status fill used as a surface, such as a status badge.",
|
|
42
|
-
"--color-pressed-overlay": "Translucent wash laid over a control while it is pressed.",
|
|
43
51
|
"--color-primary": "Primary fill for buttons, selected states and borders.",
|
|
44
52
|
"--color-primary-hover": "Primary fill while a control is hovered or pressed.",
|
|
45
|
-
"--color-primary-hover-text": "Label on the hovered or pressed primary fill.",
|
|
46
|
-
"--color-primary-ink": "Primary as text and small glyphs on light surfaces, passing AA contrast.",
|
|
47
53
|
"--color-primary-soft": "Soft primary tint behind selected and highlighted rows.",
|
|
48
|
-
"--color-primary-text": "
|
|
54
|
+
"--color-primary-text": "Primary as text and small glyphs on a page, passing AA contrast.",
|
|
49
55
|
"--color-progress-label": "Label text inside a progress bar fill.",
|
|
50
56
|
"--color-progress-track": "Unfilled track of a progress bar.",
|
|
51
57
|
"--color-scrim": "Dim behind page-level backdrops such as drawers, modals and the shell.",
|
|
52
58
|
"--color-scrim-strong": "Stronger dim behind media overlays that carry white ink.",
|
|
53
59
|
"--color-success": "Vivid success fill for badges and dots.",
|
|
54
|
-
"--color-success-
|
|
55
|
-
"--color-success-
|
|
56
|
-
"--color-success-
|
|
57
|
-
"--color-success-5": "Faintest success wash for hover and soft backgrounds.",
|
|
58
|
-
"--color-success-50": "Success border tone and the strongest soft success fill.",
|
|
59
|
-
"--color-success-active": "Success ink for icons and active states.",
|
|
60
|
-
"--color-success-soft": "Soft success background for alerts.",
|
|
60
|
+
"--color-success-border": "Tinted success border of alerts and badges.",
|
|
61
|
+
"--color-success-pressed": "Success fill while a control is pressed.",
|
|
62
|
+
"--color-success-soft": "Soft success background of alerts and badges.",
|
|
61
63
|
"--color-success-strong": "Deep success fill behind white text, such as progress labels.",
|
|
62
64
|
"--color-success-text": "Success colour as text on light surfaces.",
|
|
63
65
|
"--color-success-text-on-soft": "Success text on a soft success tint, such as an alert heading.",
|
|
@@ -67,14 +69,10 @@
|
|
|
67
69
|
"--color-text-muted": "Secondary text for descriptions and muted copy.",
|
|
68
70
|
"--color-text-subtle": "Tertiary text for hints, captions, timestamps and placeholders.",
|
|
69
71
|
"--color-thumb": "Raised thumb that marks the selected option of a segmented control.",
|
|
70
|
-
"--color-warning": "Vivid warning fill for badges and
|
|
71
|
-
"--color-warning-
|
|
72
|
-
"--color-warning-
|
|
73
|
-
"--color-warning-
|
|
74
|
-
"--color-warning-5": "Faintest warning wash for hover and soft backgrounds.",
|
|
75
|
-
"--color-warning-50": "Warning border tone and the strongest soft warning fill.",
|
|
76
|
-
"--color-warning-active": "Warning ink for icons and active states.",
|
|
77
|
-
"--color-warning-soft": "Soft warning background for alerts.",
|
|
72
|
+
"--color-warning": "Vivid warning fill for badges, dots and warning buttons.",
|
|
73
|
+
"--color-warning-border": "Tinted warning border of alerts and badges.",
|
|
74
|
+
"--color-warning-pressed": "Warning fill while a control is pressed.",
|
|
75
|
+
"--color-warning-soft": "Soft warning background of alerts and badges.",
|
|
78
76
|
"--color-warning-strong": "Deepest warning fill, used where a strong warning fill is needed.",
|
|
79
77
|
"--color-warning-text": "Warning colour as text on light surfaces.",
|
|
80
78
|
"--color-warning-text-on-soft": "Warning text on a soft warning tint, such as an alert heading.",
|
|
@@ -86,6 +84,8 @@
|
|
|
86
84
|
"--wui-border-light": "Default hairline border of cards, tables and dividers.",
|
|
87
85
|
"--wui-border-soft": "Softest border, for inner dividers.",
|
|
88
86
|
"--wui-border-strong": "Strong border for emphasised separators, chart axes and unselected control outlines.",
|
|
87
|
+
"--wui-card-shadow-lifted": "Shadow of a lifted card, none in this theme.",
|
|
88
|
+
"--wui-card-shadow-lifted-hover": "Shadow of a lifted card while it is hovered, none in this theme.",
|
|
89
89
|
"--wui-chart-1": "Colour of chart series 1, the brand primary.",
|
|
90
90
|
"--wui-chart-2": "Colour of chart series 2 of the eight categorical series.",
|
|
91
91
|
"--wui-chart-3": "Colour of chart series 3 of the eight categorical series.",
|
|
@@ -94,12 +94,9 @@
|
|
|
94
94
|
"--wui-chart-6": "Colour of chart series 6 of the eight categorical series.",
|
|
95
95
|
"--wui-chart-7": "Colour of chart series 7 of the eight categorical series.",
|
|
96
96
|
"--wui-chart-8": "Colour of chart series 8 of the eight categorical series.",
|
|
97
|
-
"--wui-chart-axis": "Axis line colour of charts.",
|
|
98
97
|
"--wui-chart-diverging-high": "Colour of values above the midpoint in a diverging chart.",
|
|
99
98
|
"--wui-chart-diverging-low": "Colour of values below the midpoint in a diverging chart.",
|
|
100
99
|
"--wui-chart-diverging-mid": "Neutral midpoint colour of a diverging chart.",
|
|
101
|
-
"--wui-chart-grid": "Gridline colour of charts.",
|
|
102
|
-
"--wui-chart-label": "Tick and legend text colour of charts.",
|
|
103
100
|
"--wui-chart-neutral": "Context series colour, such as the last period, and the folded Other slice.",
|
|
104
101
|
"--wui-chart-seq-0": "Faintest step of the magnitude ramp, for empty heatmap and calendar cells.",
|
|
105
102
|
"--wui-chart-seq-1": "First step of the one-hue magnitude ramp for heatmap and calendar cells.",
|
|
@@ -108,11 +105,12 @@
|
|
|
108
105
|
"--wui-chart-seq-4": "Fourth step of the one-hue magnitude ramp for heatmap and calendar cells.",
|
|
109
106
|
"--wui-chart-seq-5": "Fifth step of the one-hue magnitude ramp for heatmap and calendar cells.",
|
|
110
107
|
"--wui-chart-seq-6": "Strongest step of the one-hue magnitude ramp for heatmap and calendar cells.",
|
|
108
|
+
"--wui-close-filter": "Filter applied to a dark-ink close glyph such as the alert close button.",
|
|
111
109
|
"--wui-container-max": "Maximum width of the page container on every surface.",
|
|
112
110
|
"--wui-container-pad": "Side padding of the page container, growing on wider viewports.",
|
|
113
|
-
"--wui-control-
|
|
114
|
-
"--wui-control-
|
|
115
|
-
"--wui-control-
|
|
111
|
+
"--wui-control-lg": "Height of the large control size, for prominent buttons and fields.",
|
|
112
|
+
"--wui-control-md": "Default height of a button, field, select or tab; larger on phones.",
|
|
113
|
+
"--wui-control-sm": "Height of the small control size, for dense toolbars and chips.",
|
|
116
114
|
"--wui-cta-gradient": "Background gradient of the call-to-action band on marketing pages.",
|
|
117
115
|
"--wui-danger": "Vivid danger fill for badges, dots and danger buttons.",
|
|
118
116
|
"--wui-danger-10": "Danger tint 10, the soft background of danger alerts and badges.",
|
|
@@ -153,14 +151,12 @@
|
|
|
153
151
|
"--wui-dark-primary": "Primary as text, rings, focus borders and the fill under dark ink in dark mode.",
|
|
154
152
|
"--wui-dark-primary-hover": "Primary fill while it is hovered in dark mode.",
|
|
155
153
|
"--wui-dark-progress-track": "Unfilled track of a progress bar or meter in dark mode.",
|
|
156
|
-
"--wui-dark-shadow-thumb": "Slider thumb shadow in dark mode, drawn with light ink.",
|
|
157
|
-
"--wui-dark-shadow-thumb-hover": "Slider thumb shadow while it is hovered in dark mode.",
|
|
158
154
|
"--wui-dark-text": "Primary body text colour in dark mode.",
|
|
159
155
|
"--wui-dark-text-muted": "Secondary text colour in dark mode.",
|
|
160
156
|
"--wui-dark-text-subtle": "Tertiary text colour in dark mode, for hints and captions.",
|
|
161
157
|
"--wui-disabled-opacity": "Opacity of a control that dims as a whole when disabled.",
|
|
162
158
|
"--wui-ease-elastic": "Overshooting easing for the tab ink bar's spring into place.",
|
|
163
|
-
"--wui-ease-out
|
|
159
|
+
"--wui-ease-out": "Easing curve matching the locked design's motion exports.",
|
|
164
160
|
"--wui-ease-ui": "Easing curve for interface transitions.",
|
|
165
161
|
"--wui-fg-2": "Marketing alias of the primary body text ink.",
|
|
166
162
|
"--wui-fg-3": "Marketing alias of the secondary text ink.",
|
|
@@ -169,29 +165,26 @@
|
|
|
169
165
|
"--wui-field-bg": "Resting fill of every input-like control, such as fields, selects and textareas.",
|
|
170
166
|
"--wui-field-border": "Resting border of every input-like control.",
|
|
171
167
|
"--wui-field-border-hover": "Hover border of every input-like control.",
|
|
172
|
-
"--wui-field-radius": "Corner radius of
|
|
173
|
-
"--wui-field-radius
|
|
174
|
-
"--wui-field-radius
|
|
168
|
+
"--wui-field-lg-radius": "Corner radius of a large input-like control.",
|
|
169
|
+
"--wui-field-md-radius": "Corner radius of every input-like control.",
|
|
170
|
+
"--wui-field-sm-radius": "Corner radius of a small input-like control.",
|
|
175
171
|
"--wui-first-day": "Weekday calendars start their week on, from 0 for Sunday to 6 for Saturday.",
|
|
176
172
|
"--wui-focus-ring-inset": "Offset that draws the focus ring inside a scrolling container.",
|
|
177
173
|
"--wui-focus-ring-offset": "Gap between a control and its keyboard focus ring.",
|
|
178
174
|
"--wui-focus-ring-width": "Width of the keyboard focus ring.",
|
|
179
|
-
"--wui-font-body": "Body typeface for running text and controls.",
|
|
180
175
|
"--wui-font-display": "Display typeface for headings marked as display text.",
|
|
181
176
|
"--wui-font-mono": "Monospace typeface for code, identifiers and figures that must line up.",
|
|
177
|
+
"--wui-font-ui": "Body typeface for running text and controls.",
|
|
182
178
|
"--wui-fs-2xl": "Double extra-large step of the fluid type scale; a product opts in per element.",
|
|
183
179
|
"--wui-fs-3xl": "Triple extra-large step of the fluid type scale; a product opts in per element.",
|
|
184
|
-
"--wui-fs-48": "Step between the triple and fourth extra-large sizes of the fluid type scale; a product opts in per element.",
|
|
185
180
|
"--wui-fs-4xl": "Fourth extra-large step of the fluid type scale; a product opts in per element.",
|
|
186
181
|
"--wui-fs-5xl": "Fifth extra-large step of the fluid type scale; a product opts in per element.",
|
|
187
|
-
"--wui-fs-64": "Step between the fifth and sixth extra-large sizes of the fluid type scale; a product opts in per element.",
|
|
188
182
|
"--wui-fs-6xl": "Sixth extra-large step of the fluid type scale; a product opts in per element.",
|
|
189
183
|
"--wui-fs-7xl": "First display step above the fluid type scale, 64px on a phone to 120px on a desktop.",
|
|
190
184
|
"--wui-fs-8xl": "Largest display step of the fluid type scale, 72px on a phone to 144px on a desktop.",
|
|
191
185
|
"--wui-fs-base": "Body-size step of the fluid type scale, close to Bootstrap's 1rem.",
|
|
192
186
|
"--wui-fs-lg": "Large step of the fluid type scale; a product opts in per element.",
|
|
193
187
|
"--wui-fs-sm": "Small step of the fluid type scale; a product opts in per element.",
|
|
194
|
-
"--wui-fs-smb": "Step between the small and body sizes of the fluid type scale; a product opts in per element.",
|
|
195
188
|
"--wui-fs-xl": "Extra-large step of the fluid type scale; a product opts in per element.",
|
|
196
189
|
"--wui-fs-xs": "Extra-small step of the fluid type scale; a product opts in per element.",
|
|
197
190
|
"--wui-fw-bold": "Bold text weight.",
|
|
@@ -217,6 +210,7 @@
|
|
|
217
210
|
"--wui-neutral-border-light": "Faintest border tone, for dividers.",
|
|
218
211
|
"--wui-press-duration": "Duration of the pressed feedback on a control.",
|
|
219
212
|
"--wui-press-scale": "Scale a control shrinks to while it is pressed.",
|
|
213
|
+
"--wui-pressed-overlay": "Translucent wash laid over a control while it is pressed.",
|
|
220
214
|
"--wui-primary": "Brand primary fill for primary buttons, selected states and the first chart series.",
|
|
221
215
|
"--wui-primary-10": "Pale soft primary fill or border tint that follows dark mode.",
|
|
222
216
|
"--wui-primary-15": "Lighter soft primary fill or border tint that follows dark mode.",
|
|
@@ -225,7 +219,7 @@
|
|
|
225
219
|
"--wui-primary-5": "Faintest soft primary fill or border tint that follows dark mode.",
|
|
226
220
|
"--wui-primary-50": "Strongest soft primary fill or border tint that follows dark mode.",
|
|
227
221
|
"--wui-primary-hover": "Primary fill while a control is hovered.",
|
|
228
|
-
"--wui-primary-ink": "Primary as text and small glyphs on light surfaces
|
|
222
|
+
"--wui-primary-ink": "Primary as text and small glyphs on light surfaces.",
|
|
229
223
|
"--wui-primary-pressed": "Primary fill while a control is pressed or active.",
|
|
230
224
|
"--wui-primary-text": "Text and icon colour on a solid primary fill, such as a primary button label.",
|
|
231
225
|
"--wui-progress-track": "Unfilled track of a progress bar or meter.",
|
|
@@ -238,12 +232,8 @@
|
|
|
238
232
|
"--wui-scrollbar-active": "Scrollbar thumb colour while it is dragged.",
|
|
239
233
|
"--wui-scrollbar-hover": "Scrollbar thumb colour while it is hovered.",
|
|
240
234
|
"--wui-shadow-card": "Shadow under in-page cards, none in this theme so cards stay flat.",
|
|
241
|
-
"--wui-shadow-
|
|
242
|
-
"--wui-shadow-
|
|
243
|
-
"--wui-shadow-overlay": "Shadow of floating overlays such as menus and popovers.",
|
|
244
|
-
"--wui-shadow-overlay-lg": "Larger overlay shadow, for the largest floating surfaces.",
|
|
245
|
-
"--wui-shadow-thumb": "Shadow under a slider thumb and other small interactive elements.",
|
|
246
|
-
"--wui-shadow-thumb-hover": "Shadow under a slider thumb while it is hovered.",
|
|
235
|
+
"--wui-shadow-modal": "Larger overlay shadow, for the largest floating surfaces.",
|
|
236
|
+
"--wui-shadow-popover": "Shadow of floating overlays such as menus and popovers.",
|
|
247
237
|
"--wui-space-2xl": "Double extra-large step of the spacing scale.",
|
|
248
238
|
"--wui-space-3xl": "Triple extra-large step of the spacing scale.",
|
|
249
239
|
"--wui-space-4xl": "Largest step of the spacing scale.",
|
|
@@ -274,6 +264,8 @@
|
|
|
274
264
|
"--wui-text-4": "Decorative faint ink, not for text a person must read.",
|
|
275
265
|
"--wui-text-5": "Faintest ink, for decorative marks.",
|
|
276
266
|
"--wui-text-heading": "Heading ink for page and section titles.",
|
|
267
|
+
"--wui-thumb-shadow": "Shadow under a slider thumb and other small interactive elements.",
|
|
268
|
+
"--wui-thumb-shadow-hover": "Shadow under a slider thumb while it is hovered.",
|
|
277
269
|
"--wui-warning": "Vivid warning fill for badges and dots.",
|
|
278
270
|
"--wui-warning-10": "Warning tint 10, the soft background of warning alerts and badges.",
|
|
279
271
|
"--wui-warning-20": "Warning tint 20 for soft fills behind warning alerts and badges.",
|