Fix AppBar background colors

This commit is contained in:
Bill Thornton
2025-05-19 11:07:08 -04:00
parent e2a2283052
commit 8fc680f106
2 changed files with 10 additions and 1 deletions

View File

@@ -13,7 +13,7 @@ const ElevationScroll = ({ children, elevate = false }: { children: ReactElement
const isElevated = elevate || trigger;
return React.cloneElement(children, {
color: isElevated ? 'primary' : 'transparent',
color: isElevated ? 'default' : 'transparent',
elevation: isElevated ? 4 : 0
});
};

View File

@@ -57,6 +57,9 @@ const blueradiance = buildCustomColorScheme({
palette: {
background: {
paper: '#011432'
},
AppBar: {
defaultBg: '#011432'
}
}
});
@@ -89,6 +92,9 @@ const purplehaze = buildCustomColorScheme({
},
secondary: {
main: '#ff77f1'
},
AppBar: {
defaultBg: '#000420'
}
}
});
@@ -98,6 +104,9 @@ const wmc = buildCustomColorScheme({
palette: {
background: {
paper: '#0c2450'
},
AppBar: {
defaultBg: '#0c2450'
}
}
});