Skip to content

Commit 2443686

Browse files
committed
chore: make font size responsive
1 parent 222359b commit 2443686

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

src/theme.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { createTheme } from '@mui/material/styles';
1+
import { createTheme, responsiveFontSizes } from '@mui/material/styles';
22

3-
const theme = createTheme({
3+
let theme = createTheme({
44
palette: {
55
primary: {
66
main: '#1c1c17'
@@ -59,4 +59,6 @@ const theme = createTheme({
5959
},
6060
});
6161

62-
export default theme
62+
theme = responsiveFontSizes(theme);
63+
64+
export default theme;

0 commit comments

Comments
 (0)