fixed navbar darkmode

This commit is contained in:
Laura Dolibois
2025-06-14 13:37:15 +02:00
parent 080398cbe0
commit 1fb0b56f1f

View File

@@ -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',
},
},