Created
September 16, 2021 23:24
-
-
Save chadmuro/6bfe3fe0e0e5c6b10632b30b0dd805e8 to your computer and use it in GitHub Desktop.
MUI variant 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
const theme = createTheme({ | |
components: { | |
MuiButton: { | |
variants: [ | |
{ | |
props: { variant: 'dashed' }, | |
style: { | |
textTransform: 'none', | |
border: `2px dashed grey${blue[500]}`, | |
}, | |
}, | |
{ | |
props: { variant: 'dashed', color: 'secondary' }, | |
style: { | |
border: `4px dashed ${red[500]}`, | |
}, | |
}, | |
], | |
}, | |
}, | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment