diff --git a/.changeset/proud-cheetahs-pay.md b/.changeset/proud-cheetahs-pay.md new file mode 100644 index 0000000..59caab0 --- /dev/null +++ b/.changeset/proud-cheetahs-pay.md @@ -0,0 +1,5 @@ +--- +"saleor-app-cms-v2": patch +--- + +Fixed background color of the modal. Previously white background was missing and only blur was applied. Now it is blurred and white with an opacity (in the dark mode it is fixed with dark grey) diff --git a/apps/cms-v2/src/modules/theme/styles.css b/apps/cms-v2/src/modules/theme/styles.css index 0327b1e..9a03278 100644 --- a/apps/cms-v2/src/modules/theme/styles.css +++ b/apps/cms-v2/src/modules/theme/styles.css @@ -9,7 +9,7 @@ dialog { .dialog-overlay { z-index: 1; - background: rgba(var(--mu-colors-background-plain), 0.8); + background: color-mix(in srgb, var(--mu-colors-background-plain) 80%, transparent); backdrop-filter: blur(5px); content: ""; position: fixed;