feat: reset light theme
This commit is contained in:
@@ -4,33 +4,74 @@ import CssBaseline from '@mui/material/CssBaseline';
|
|||||||
|
|
||||||
const lightTheme = createTheme({
|
const lightTheme = createTheme({
|
||||||
palette: {
|
palette: {
|
||||||
mode: 'light',
|
|
||||||
primary: {
|
primary: {
|
||||||
main: '#ff00c3', // Pink as the primary color
|
main: "#ff00c3",
|
||||||
},
|
contrastText: "#ffffff",
|
||||||
background: {
|
|
||||||
default: '#ffffff',
|
|
||||||
paper: '#f5f5f5',
|
|
||||||
},
|
|
||||||
text: {
|
|
||||||
primary: '#000000',
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
MuiTabs: {
|
|
||||||
styleOverrides: {
|
|
||||||
indicator: {
|
|
||||||
backgroundColor: '#ff00c3', // Pink for tab indicators
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
MuiButton: {
|
MuiButton: {
|
||||||
styleOverrides: {
|
styleOverrides: {
|
||||||
root: {
|
root: {
|
||||||
backgroundColor: '#ff00c3', // Pink button background
|
// Default styles for all buttons (optional)
|
||||||
color: '#ffffff',
|
textTransform: "none",
|
||||||
'&:hover': {
|
},
|
||||||
backgroundColor: '#e600b3', // Slightly darker pink on hover
|
containedPrimary: {
|
||||||
|
// Styles for 'contained' variant with 'primary' color
|
||||||
|
"&:hover": {
|
||||||
|
backgroundColor: "#ff66d9",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
outlined: {
|
||||||
|
// Apply white background for all 'outlined' variant buttons
|
||||||
|
backgroundColor: "#ffffff",
|
||||||
|
"&:hover": {
|
||||||
|
backgroundColor: "#f0f0f0", // Optional lighter background on hover
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
MuiLink: {
|
||||||
|
styleOverrides: {
|
||||||
|
root: {
|
||||||
|
"&:hover": {
|
||||||
|
color: "#ff00c3",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
MuiIconButton: {
|
||||||
|
styleOverrides: {
|
||||||
|
root: {
|
||||||
|
// '&:hover': {
|
||||||
|
// color: "#ff66d9",
|
||||||
|
// },
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
MuiTab: {
|
||||||
|
styleOverrides: {
|
||||||
|
root: {
|
||||||
|
textTransform: "none",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
MuiAlert: {
|
||||||
|
styleOverrides: {
|
||||||
|
standardInfo: {
|
||||||
|
backgroundColor: "#fce1f4",
|
||||||
|
color: "#ff00c3",
|
||||||
|
"& .MuiAlert-icon": {
|
||||||
|
color: "#ff00c3",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
MuiAlertTitle: {
|
||||||
|
styleOverrides: {
|
||||||
|
root: {
|
||||||
|
"& .MuiAlert-icon": {
|
||||||
|
color: "#ffffff",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user