WA-238 Adding WithStyles type in theme/mui.js

This commit is contained in:
apanizo 2018-04-26 15:17:21 +02:00
parent b7d4944b01
commit 64c0341539
1 changed files with 8 additions and 3 deletions

View File

@ -1,7 +1,12 @@
import red from 'material-ui/colors/red';
// @flow
import red from 'material-ui/colors/red'
import { createMuiTheme } from 'material-ui/styles'
import { primary, secondary } from './variables'
export type WithStyles = {
classes: Object,
}
const palette = {
primary: {
main: primary,
@ -18,7 +23,7 @@ const palette = {
// see https://github.com/mui-org/material-ui/blob/v1-beta/src/styles/createMuiTheme.js
export default createMuiTheme({
typography: {
fontFamily: 'Montserrat,sans-serif'
},
fontFamily: 'Montserrat,sans-serif',
},
palette,
})