@juspay/svelte-ui-components 2.98.2 → 2.99.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/dist/Modal/Modal.svelte +6 -1
- package/package.json +1 -1
package/dist/Modal/Modal.svelte
CHANGED
|
@@ -244,7 +244,12 @@
|
|
|
244
244
|
}
|
|
245
245
|
|
|
246
246
|
.overlay-active {
|
|
247
|
-
|
|
247
|
+
/* Prefer the modal-specific token; fall back to the legacy generic
|
|
248
|
+
--background-color (kept for backward compatibility), then the default.
|
|
249
|
+
The generic name collides with app-level --background-color tokens, which
|
|
250
|
+
silently override the overlay; --modal-overlay-background-color lets a
|
|
251
|
+
consumer theme the backdrop without that collision. */
|
|
252
|
+
background-color: var(--modal-overlay-background-color, var(--background-color, #00000066));
|
|
248
253
|
backdrop-filter: var(--modal-overlay-backdrop-filter, none);
|
|
249
254
|
-webkit-backdrop-filter: var(--modal-overlay-backdrop-filter, none);
|
|
250
255
|
pointer-events: auto;
|