feat: override alert title icon styles

This commit is contained in:
karishmas6
2024-10-24 06:55:58 +05:30
parent 1709c04a21
commit c15106121f

View File

@@ -63,12 +63,25 @@ const theme = createTheme({
standardInfo: {
backgroundColor: "#fce1f4",
color: "#ff00c3",
'& .MuiAlert-icon': {
color: "#ff00c3",
},
},
},
},
MuiAlertTitle: {
styleOverrides: {
root: {
'& .MuiAlert-icon': {
color: "#ffffff",
},
},
},
},
},
});
function App() {
return (
<ThemeProvider theme={theme}>