update full screen modal colors

This commit is contained in:
Sidney Alcantara
2022-06-22 19:15:01 +10:00
parent 45e7b8283d
commit bfa72eab48
2 changed files with 4 additions and 1 deletions

View File

@@ -100,7 +100,7 @@ export const colorsLight = (
.alpha(0.6)
.toHslString(),
".MuiDialog-root:has(.MuiDialog-paperFullScreen) &": {
backgroundColor: "rgba(0, 0, 0, 0.25)",
backgroundColor: "rgba(0, 0, 0, 0)",
},
},
invisible: { backgroundColor: "transparent" },

View File

@@ -288,6 +288,9 @@ export const components = (theme: Theme): ThemeOptions => {
"#root": {
borderRadius: (theme.shape.borderRadius as number) * 2,
overflow: "hidden",
filter: `grayscale(100%) contrast(${
theme.palette.mode === "dark" ? "80" : "75"
}%)`,
transform: `scale(0.9) translateY(${theme.spacing(1)})`,
transition: theme.transitions.create(