mui blue color fixes

This commit is contained in:
AmitChauhan63390
2024-12-08 04:49:29 +05:30
parent 3cf0786389
commit 587dacdaf1
6 changed files with 143 additions and 20 deletions

View File

@@ -6,7 +6,7 @@ const lightTheme = createTheme({
palette: {
mode: 'light',
primary: {
main: '#1e88e5',
main: '#ff00c3', // Pink as the primary color
},
background: {
default: '#ffffff',
@@ -16,13 +16,33 @@ const lightTheme = createTheme({
primary: '#000000',
},
},
components: {
MuiTabs: {
styleOverrides: {
indicator: {
backgroundColor: '#ff00c3', // Pink for tab indicators
},
},
},
MuiButton: {
styleOverrides: {
root: {
backgroundColor: '#ff00c3', // Pink button background
color: '#ffffff',
'&:hover': {
backgroundColor: '#e600b3', // Slightly darker pink on hover
},
},
},
},
},
});
const darkTheme = createTheme({
palette: {
mode: 'dark',
primary: {
main: '#90caf9',
main: '#ff00c3', // Pink as the primary color
},
background: {
default: '#121212',
@@ -32,6 +52,26 @@ const darkTheme = createTheme({
primary: '#ffffff',
},
},
components: {
MuiTabs: {
styleOverrides: {
indicator: {
backgroundColor: '#ff00c3', // Pink for tab indicators
},
},
},
MuiButton: {
styleOverrides: {
root: {
backgroundColor: '#ff00c3', // Pink button background
color: '#ffffff',
'&:hover': {
backgroundColor: '#e600b3', // Slightly darker pink on hover
},
},
},
},
},
});
const ThemeModeContext = createContext({