Skip to content

Instantly share code, notes, and snippets.

@chadmuro
Created September 16, 2021 23:25
Show Gist options
  • Save chadmuro/9ba78897b93fe80e3681eb09bf04ecab to your computer and use it in GitHub Desktop.
Save chadmuro/9ba78897b93fe80e3681eb09bf04ecab to your computer and use it in GitHub Desktop.
MUI extend theme
import { createTheme } from '@mui/material/styles';
const theme = createTheme({
status: {
danger: '#e53e3e',
},
palette: {
primary: {
main: '#0971f1',
darker: '#053e85',
},
neutral: {
main: '#64748B',
contrastText: '#fff',
},
},
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment