mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
parent
72edd591e6
commit
ccc9ff2201
|
@ -1,10 +1,10 @@
|
||||||
import React, { Component } from 'react'
|
import React, { Component } from 'react'
|
||||||
import { JssProvider } from 'react-jss'
|
import { JssProvider } from 'react-jss'
|
||||||
import { withStyles, createStyleSheet, MuiThemeProvider } from 'material-ui/styles'
|
import { withStyles, MuiThemeProvider } from 'material-ui/styles'
|
||||||
import { getContext } from '../styles/context'
|
import { getContext } from '../styles/context'
|
||||||
|
|
||||||
// Apply some reset
|
// Apply some reset
|
||||||
const styleSheet = createStyleSheet(theme => ({
|
const styleSheet = theme => ({
|
||||||
'@global': {
|
'@global': {
|
||||||
html: {
|
html: {
|
||||||
background: theme.palette.background.default,
|
background: theme.palette.background.default,
|
||||||
|
@ -15,7 +15,7 @@ const styleSheet = createStyleSheet(theme => ({
|
||||||
margin: 0
|
margin: 0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}))
|
})
|
||||||
|
|
||||||
let AppWrapper = props => props.children
|
let AppWrapper = props => props.children
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue