feat: override alert title icon styles
This commit is contained in:
13
src/App.tsx
13
src/App.tsx
@@ -63,12 +63,25 @@ const theme = createTheme({
|
|||||||
standardInfo: {
|
standardInfo: {
|
||||||
backgroundColor: "#fce1f4",
|
backgroundColor: "#fce1f4",
|
||||||
color: "#ff00c3",
|
color: "#ff00c3",
|
||||||
|
'& .MuiAlert-icon': {
|
||||||
|
color: "#ff00c3",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
MuiAlertTitle: {
|
||||||
|
styleOverrides: {
|
||||||
|
root: {
|
||||||
|
'& .MuiAlert-icon': {
|
||||||
|
color: "#ffffff",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
function App() {
|
function App() {
|
||||||
return (
|
return (
|
||||||
<ThemeProvider theme={theme}>
|
<ThemeProvider theme={theme}>
|
||||||
|
|||||||
Reference in New Issue
Block a user