Created
June 8, 2022 19:18
-
-
Save alansouzati/5570fae5284289d8535cf79357229308 to your computer and use it in GitHub Desktop.
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
const theme = createTheme(); | |
theme.typography = { | |
title: { | |
fontSize: “40px”, | |
[theme.breakpoints.down(“sm”)]: { | |
fontSize: “18px” | |
} | |
} | |
}; | |
export default function App() { | |
return ( | |
<ThemeProvider theme={theme}> | |
<Typography variant=”title”>Resize me</Typography> | |
</ThemeProvider> | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment