@webority/theme 0.144.1 → 0.145.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webority/theme",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.145.0",
|
|
4
4
|
"description": "Webority shared design system — Bootstrap 5.3 SCSS overrides, --wui-* tokens, and shared component CSS. The single source of brand chrome for React portals and Razor sites.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"publishConfig": {
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"postcss": "^8.5.31"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@webority/tokens": "0.
|
|
50
|
+
"@webority/tokens": "0.145.0",
|
|
51
51
|
"bootstrap": "5.3.3",
|
|
52
52
|
"country-flag-icons": "^1.6.20",
|
|
53
53
|
"sass-embedded": "^1.97.0",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by @webority/tokens 0.
|
|
1
|
+
// Generated by @webority/tokens 0.145.0 from its token source. Do not edit; run webority brand --library.
|
|
2
2
|
$body-color: #252f4a !default;
|
|
3
3
|
$body-secondary-color: #4b5675 !default;
|
|
4
4
|
$body-tertiary-color: #626a82 !default;
|
package/scss/wui/_flow.scss
CHANGED
|
@@ -1245,7 +1245,12 @@ button.wui-step-tile-body:hover .step-label {
|
|
|
1245
1245
|
}
|
|
1246
1246
|
// Below md the phone tab bar is fixed at the bottom, so sticky form actions sit on top of it.
|
|
1247
1247
|
@media (max-width: 767.98px) {
|
|
1248
|
-
|
|
1248
|
+
// Pinned this far up, the bar would cover the last section at the end of the scroll unless the same space is reserved below it.
|
|
1249
|
+
.app-shell:has(> .wui-tabbar) .form-actions-sticky {
|
|
1250
|
+
bottom: calc(var(--wui-tabbar-h) + env(safe-area-inset-bottom));
|
|
1251
|
+
margin-bottom: calc(var(--wui-tabbar-h) + env(safe-area-inset-bottom));
|
|
1252
|
+
z-index: calc(var(--wui-z-fixed) + 1);
|
|
1253
|
+
}
|
|
1249
1254
|
}
|
|
1250
1255
|
@media (prefers-reduced-motion: reduce) {
|
|
1251
1256
|
.form-actions-sticky {
|
package/scss/wui/_shell.scss
CHANGED
|
@@ -287,7 +287,7 @@
|
|
|
287
287
|
display: none;
|
|
288
288
|
width: var(--wui-brand-logo-height, 32px);
|
|
289
289
|
}
|
|
290
|
-
.app-sidebar-brand.wui-brand-mark-only .wui-brand-mark {
|
|
290
|
+
.app-sidebar-brand.wui-brand-mark-only .wui-brand-mark:not(.wui-brand-dark) {
|
|
291
291
|
display: block;
|
|
292
292
|
}
|
|
293
293
|
.app-sidebar-brand .wui-brand-dark {
|
|
@@ -296,7 +296,11 @@
|
|
|
296
296
|
:root[data-theme="dark"] .app-sidebar-brand.wui-brand-themed .wui-brand-light {
|
|
297
297
|
display: none;
|
|
298
298
|
}
|
|
299
|
-
|
|
299
|
+
// `:where` keeps this as light as the collapsed rule that hides the logo, so that later rule still wins.
|
|
300
|
+
:root[data-theme="dark"] .app-sidebar-brand .wui-brand-dark:where(.wui-brand-logo) {
|
|
301
|
+
display: block;
|
|
302
|
+
}
|
|
303
|
+
:root[data-theme="dark"] .app-sidebar-brand.wui-brand-mark-only .wui-brand-mark.wui-brand-dark {
|
|
300
304
|
display: block;
|
|
301
305
|
}
|
|
302
306
|
// The nav list scrolls independently while the brand row stays put. `min-height: 0`
|
|
@@ -574,7 +578,7 @@
|
|
|
574
578
|
.app-shell.collapsed .app-sidebar-brand.wui-brand-has-mark .wui-brand-logo {
|
|
575
579
|
display: none;
|
|
576
580
|
}
|
|
577
|
-
.app-shell.collapsed .app-sidebar-brand.wui-brand-has-mark .wui-brand-mark {
|
|
581
|
+
.app-shell.collapsed .app-sidebar-brand.wui-brand-has-mark .wui-brand-mark:not(.wui-brand-dark) {
|
|
578
582
|
display: block;
|
|
579
583
|
}
|
|
580
584
|
.app-shell.collapsed .app-sidebar-brand:not(.wui-brand-has-mark) .wui-brand-logo {
|