@webority/theme 0.53.0 → 0.53.1
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/dist/webority-theme.css +1 -1
- package/package.json +1 -1
- package/scss/_components.scss +16 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webority/theme",
|
|
3
|
-
"version": "0.53.
|
|
3
|
+
"version": "0.53.1",
|
|
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/_components.scss
CHANGED
|
@@ -132,6 +132,22 @@
|
|
|
132
132
|
--bs-btn-disabled-border-color: var(--wui-danger-strong);
|
|
133
133
|
}
|
|
134
134
|
|
|
135
|
+
// Neutral outline on the theme's text tokens. Bootstrap's compiled default draws it in
|
|
136
|
+
// $secondary, which drops to about 2.4:1 on a dark surface.
|
|
137
|
+
.btn-outline-secondary {
|
|
138
|
+
--bs-btn-color: var(--color-text-muted);
|
|
139
|
+
--bs-btn-border-color: var(--color-border-strong);
|
|
140
|
+
--bs-btn-hover-color: var(--color-text);
|
|
141
|
+
--bs-btn-hover-bg: var(--color-bg-muted);
|
|
142
|
+
--bs-btn-hover-border-color: var(--color-border-strong);
|
|
143
|
+
--bs-btn-active-color: var(--color-text);
|
|
144
|
+
--bs-btn-active-bg: var(--color-border);
|
|
145
|
+
--bs-btn-active-border-color: var(--color-border-strong);
|
|
146
|
+
--bs-btn-disabled-color: var(--color-text-muted);
|
|
147
|
+
--bs-btn-disabled-border-color: var(--color-border);
|
|
148
|
+
--bs-btn-focus-box-shadow: 0 0 0 0.25rem var(--bs-focus-ring-color);
|
|
149
|
+
}
|
|
150
|
+
|
|
135
151
|
// Secondary-danger — the destructive counterpart of .btn-secondary: a soft red wash
|
|
136
152
|
// instead of a solid red fill, for a quieter destructive action (e.g. a "Remove" that
|
|
137
153
|
// shouldn't shout like a solid .btn-danger). Mirrors .btn-secondary exactly — low-alpha
|