Created
September 16, 2021 23:25
-
-
Save chadmuro/9ba78897b93fe80e3681eb09bf04ecab to your computer and use it in GitHub Desktop.
MUI extend theme
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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