@webority/theme 0.26.0 → 0.27.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.27.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": {
|
package/scss/wui/_display.scss
CHANGED
|
@@ -89,6 +89,17 @@
|
|
|
89
89
|
.kpi-delta.down {
|
|
90
90
|
color: var(--color-danger-text);
|
|
91
91
|
}
|
|
92
|
+
// delta-tone: the colour the news deserves when it differs from the direction (refunds rising is
|
|
93
|
+
// bad). Declared after .up / .down at the same specificity, so it wins.
|
|
94
|
+
.kpi-delta.wui-kpi-delta--success {
|
|
95
|
+
color: var(--color-success-text);
|
|
96
|
+
}
|
|
97
|
+
.kpi-delta.wui-kpi-delta--danger {
|
|
98
|
+
color: var(--color-danger-text);
|
|
99
|
+
}
|
|
100
|
+
.kpi-delta.wui-kpi-delta--neutral {
|
|
101
|
+
color: var(--color-text-muted);
|
|
102
|
+
}
|
|
92
103
|
// Trend chart. currentColor so it inherits kpi-value's colour by default, or a wrapping
|
|
93
104
|
// tone context (e.g. .kpi-delta.up) if placed there — no colour hardcoded here.
|
|
94
105
|
.kpi-sparkline {
|