fix: use neutral gray background for dark mode
## Changes - Replace MUI default blue-tinted dark background with neutral grays (#151518 for default, #1c1c21 for paper/cards) - Remove decorative blue/purple SVG blob overlay from dark mode background ## Benefits - Dark mode now has a clean, neutral gray appearance instead of a blue tint
This commit is contained in:
1 parent
189293b04d
commit
75eca743b4
2 files changed
+4
-4
No files matched your search
@@ -47,10 +47,6 @@ const AppLayout = ({ children }: AppLayoutProps) => {
|
|||||||
sx={{
|
sx={{
|
||||||
minHeight: "100vh",
|
minHeight: "100vh",
|
||||||
backgroundColor: theme.palette.background.default,
|
backgroundColor: theme.palette.background.default,
|
||||||
backgroundImage: mode === "dark" ? `url("${BackgroundSVG}")` : "none",
|
|
||||||
backgroundSize: "100% 100%",
|
|
||||||
backgroundPosition: "center",
|
|
||||||
backgroundRepeat: "no-repeat",
|
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<OfflineBanner visible={serverUnreachable} />
|
<OfflineBanner visible={serverUnreachable} />
|
||||||
|
|||||||
@@ -31,4 +31,8 @@ export const darkPalette = {
|
|||||||
secondary: {
|
secondary: {
|
||||||
main: colors.gray700,
|
main: colors.gray700,
|
||||||
},
|
},
|
||||||
|
background: {
|
||||||
|
default: "#151518",
|
||||||
|
paper: "#1c1c21",
|
||||||
|
},
|
||||||
};
|
};
|
||||||
Reference in new issue
Block a user