@react-ui-org/react-ui 0.50.1 → 0.50.2
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,4 +1,7 @@
|
|
1
|
+
// 1. Make it possible to keep the original box shadow of the component: if `--rui-focus-box-shadow` is set to
|
2
|
+
// `initial`, `revert` or `unset`, `--rui-local-box-shadow` is used.
|
3
|
+
|
1
4
|
$tap-target-size: var(--rui-tap-target-size);
|
2
5
|
$focus-outline: var(--rui-focus-outline);
|
3
6
|
$focus-outline-offset: var(--rui-focus-outline-offset);
|
4
|
-
$focus-box-shadow: var(--rui-focus-box-shadow);
|
7
|
+
$focus-box-shadow: var(--rui-focus-box-shadow, var(--rui-local-box-shadow, initial)); // 1.
|
package/src/lib/theme.scss
CHANGED
@@ -138,6 +138,8 @@
|
|
138
138
|
//
|
139
139
|
// Shared Settings
|
140
140
|
// ===============
|
141
|
+
//
|
142
|
+
// 1. Use `initial`, `revert` or `unset` to keep the original box shadow of the component.
|
141
143
|
|
142
144
|
// Borders
|
143
145
|
--rui-border-width: 1px;
|
@@ -151,7 +153,7 @@
|
|
151
153
|
--rui-tap-target-size: 10mm;
|
152
154
|
--rui-focus-outline: 0.2em solid var(--rui-color-active-focus);
|
153
155
|
--rui-focus-outline-offset: 1px;
|
154
|
-
--rui-focus-box-shadow:
|
156
|
+
--rui-focus-box-shadow: initial; // 1.
|
155
157
|
|
156
158
|
// Bottom spacings
|
157
159
|
--rui-spacing-bottom-default: var(--rui-spacing-5);
|