@webority/theme 0.80.6 → 0.80.8

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.80.6",
3
+ "version": "0.80.8",
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": {
@@ -37,8 +37,8 @@
37
37
  // runtime CSS var. Routing it through the token makes a light-primary brand's
38
38
  // --wui-primary-text override reach the button.
39
39
  --bs-btn-color: var(--wui-primary-text);
40
- --bs-btn-hover-color: var(--wui-primary-text);
41
- --bs-btn-active-color: var(--wui-primary-text);
40
+ --bs-btn-hover-color: var(--color-primary-hover-text);
41
+ --bs-btn-active-color: var(--color-primary-hover-text);
42
42
  }
43
43
 
44
44
  // Secondary — a soft brand tint (matches the design reference's secondary): a
@@ -76,6 +76,8 @@
76
76
  // Text/icon colour for content sitting ON a solid --color-primary fill — see
77
77
  // --wui-primary-text for why this is a different axis from the -text tokens below.
78
78
  --color-primary-text: var(--wui-primary-text);
79
+ // Label on the pressed primary fill (--color-primary-hover); the hover and press states read it.
80
+ --color-primary-hover-text: var(--wui-primary-text);
79
81
  // The primary as TEXT or a small glyph on a light surface: AA-safe whatever the brand (see
80
82
  // --wui-primary-ink). --color-primary stays the fill, border and focus colour.
81
83
  --color-primary-ink: var(--wui-primary-ink);
@@ -231,6 +233,8 @@
231
233
  // White fails on the lifted dark primary; the derivation in _variables.scss keeps this near-black
232
234
  // at 4.5:1 or better on it.
233
235
  --color-primary-text: #0F0F0F;
236
+ // White fails on the lifted dark hover fill; near-black keeps the pressed label legible on it.
237
+ --color-primary-hover-text: #0F0F0F;
234
238
  // The dark primary is already lifted to clear 4.5:1 on every dark surface and tint.
235
239
  --color-primary-ink: var(--wui-dark-primary);
236
240
  --color-on-primary-ink: #0F0F0F;
@@ -443,6 +443,11 @@
443
443
  display: inline-block;
444
444
  }
445
445
 
446
+ // Bootstrap compiles the title colour from $headings-color, a fixed light-mode value; the token keeps it readable in dark mode.
447
+ .popover {
448
+ --bs-popover-header-color: var(--color-text);
449
+ }
450
+
446
451
  // The popover title is a div, not a heading, so it keeps the heading weight and line height here.
447
452
  .popover-header {
448
453
  font-weight: 600;