Currently working on removing shadows in the Material-UI theme.
Came across this useful solution that fixed the issue. However, encountered an error related to this topic.
const theme = createMuiTheme({
palette: {
primary: {
light: red[300],
main: red[500],
dark: red[700]
},
secondary: {
light: red.A200,
main: red.A400,
dark: red.A700
}
},
shadows: ['none']
});
Error:
browser.js:49 Warning: Material-UI: the shadows array provided to createMuiTheme should support 25 elevations.
Discovered a potential solution but did not find it helpful: https://github.com/mui-org/material-ui/issues/8289