Created
March 7, 2022 17:15
-
-
Save yaralahruthik/036ad065a61a442a8a72fa010358e74d to your computer and use it in GitHub Desktop.
MUI 10x simplification
This file contains 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'; | |
export const theme = createTheme({ | |
typography: { | |
// Tell MUI what's the font-size on the html element is. | |
htmlFontSize: 10, | |
}, | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment