@webority/theme 0.59.3 → 0.60.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.60.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": {
|
|
@@ -120,10 +120,12 @@ button.wui-reaction:hover,
|
|
|
120
120
|
.wui-reaction-add:hover {
|
|
121
121
|
background: var(--color-bg-muted);
|
|
122
122
|
}
|
|
123
|
+
// The border and tint say "mine"; the label stays text colour, because the primary ink is only
|
|
124
|
+
// AA-safe on a plain surface and a light brand's ink falls under 4.5:1 on the tint.
|
|
123
125
|
.wui-reaction-mine {
|
|
124
126
|
border-color: var(--color-primary);
|
|
125
127
|
background: var(--color-primary-soft);
|
|
126
|
-
color: var(--color-
|
|
128
|
+
color: var(--color-text);
|
|
127
129
|
}
|
|
128
130
|
.wui-reaction-count {
|
|
129
131
|
font-variant-numeric: tabular-nums;
|
package/scss/wui/_overlays.scss
CHANGED
|
@@ -247,6 +247,16 @@
|
|
|
247
247
|
padding: 16px 22px;
|
|
248
248
|
border-top: 1px solid var(--color-border);
|
|
249
249
|
}
|
|
250
|
+
// The primary action is last in the DOM, so column-reverse puts it on top of the stack.
|
|
251
|
+
@include media-breakpoint-down(sm) {
|
|
252
|
+
.wui-modal-footer {
|
|
253
|
+
flex-direction: column-reverse;
|
|
254
|
+
align-items: stretch;
|
|
255
|
+
}
|
|
256
|
+
.wui-modal-footer > .btn {
|
|
257
|
+
width: 100%;
|
|
258
|
+
}
|
|
259
|
+
}
|
|
250
260
|
|
|
251
261
|
// Modal close — a steady rounded-square (squircle) that takes a danger tint on
|
|
252
262
|
// hover, so dismissing reads as the destructive-ish gesture it is. The corner is
|