Adapting regular style changes to MuiButton in theme

This commit is contained in:
apanizo 2018-09-01 10:05:36 +02:00
parent f2c8c7c67e
commit 7c990e671a
1 changed files with 7 additions and 1 deletions

View File

@ -1,7 +1,7 @@
// @flow
import red from '@material-ui/core/colors/red'
import { createMuiTheme } from '@material-ui/core/styles'
import { primary, secondary, md, xl } from './variables'
import { mediumFontSize, primary, secondary, md, xl } from './variables'
export type WithStyles = {
classes: Object,
@ -27,12 +27,18 @@ export default createMuiTheme({
},
overrides: {
MuiButton: {
root: {
fontFamily: 'Roboto Mono, monospace',
letterSpacing: '1px',
},
containedPrimary: {
backgroundColor: '#467ee5',
},
sizeLarge: {
padding: `${md} ${xl}`,
minHeight: '52px',
fontSize: mediumFontSize,
minWidth: '275px',
},
},
},