Modified MuiTab component in mui theme

This commit is contained in:
apanizo 2018-10-17 17:25:09 +02:00
parent b9e6e24783
commit 8c9971f19d
1 changed files with 7 additions and 1 deletions

View File

@ -1,7 +1,7 @@
// @flow // @flow
import red from '@material-ui/core/colors/red' import red from '@material-ui/core/colors/red'
import { createMuiTheme } from '@material-ui/core/styles' import { createMuiTheme } from '@material-ui/core/styles'
import { largeFontSize, mediumFontSize, smallFontSize, disabled, primary, secondary, md, lg, background } from './variables' import { largeFontSize, mediumFontSize, smallFontSize, disabled, primary, secondary, md, lg, background, bolder } from './variables'
export type WithStyles = { export type WithStyles = {
classes: Object, classes: Object,
@ -125,6 +125,12 @@ export default createMuiTheme({
color: primary, color: primary,
}, },
}, },
MuiTab: {
label: {
fontFamily: 'Roboto Mono, monospace',
fontWeight: bolder,
},
},
}, },
palette, palette,
}) })