Skip to content

Commit

Permalink
feat(responsive): applied responsive-font-sizes to the theme
Browse files Browse the repository at this point in the history
closes #575
  • Loading branch information
travi committed Oct 10, 2019
1 parent c80c6a8 commit b17a58f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/theme.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {createMuiTheme} from '@material-ui/core';
import {createMuiTheme, responsiveFontSizes} from '@material-ui/core';

// palette generated at http://mcg.mbitson.com/ from #c80000
export default function createTheme(colorScheme = 'light') {
return createMuiTheme({
return responsiveFontSizes(createMuiTheme({
typography: {
useNextVariants: true
},
Expand Down Expand Up @@ -48,5 +48,5 @@ export default function createTheme(colorScheme = 'light') {
main: '#666'
}
}
});
}));
}

0 comments on commit b17a58f

Please sign in to comment.