fixed navbar darkmode
This commit is contained in:
@@ -88,7 +88,7 @@ export const CustomThemeProvider: React.FC<CustomThemeProviderProps> = ({ childr
|
||||
palette: {
|
||||
mode,
|
||||
primary: {
|
||||
main: '#0fd13f', // Ihre grüne NavBar
|
||||
main: '#0fd13f', // Grüne NavBar
|
||||
light: mode === 'dark' ? '#4caf50' : '#42a5f5',
|
||||
dark: mode === 'dark' ? '#388e3c' : '#1565c0',
|
||||
contrastText: '#fff',
|
||||
@@ -126,7 +126,7 @@ export const CustomThemeProvider: React.FC<CustomThemeProviderProps> = ({ childr
|
||||
MuiAppBar: {
|
||||
styleOverrides: {
|
||||
colorPrimary: {
|
||||
backgroundColor: '#0fd13f',
|
||||
backgroundColor: mode === 'dark' ? '#388e3c' : '#0fd13f',
|
||||
color: '#ffffff',
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user