Newer
Older
import React from 'react'
import ReactDOM from 'react-dom'
piotr.kupczyk@id.ethz.ch
committed
import { MuiThemeProvider, createMuiTheme } from '@material-ui/core/styles'
piotr.kupczyk@id.ethz.ch
committed
import DragAndDropProvider from './components/common/dnd/DragAndDropProvider.jsx'
piotr.kupczyk@id.ethz.ch
committed
import indigo from '@material-ui/core/colors/indigo'
import lightBlue from '@material-ui/core/colors/lightBlue'
const theme = createMuiTheme({
typography: {
useNextVariants: true
},
palette: {
primary: {
main: indigo[700]
},
secondary: {
main: lightBlue[600]
},
background: {
primary: '#ebebeb',
secondary: '#dbdbdb'
piotr.kupczyk@id.ethz.ch
committed
}
}
})
let App = require('./components/App.jsx').default
piotr.kupczyk@id.ethz.ch
committed
piotr.kupczyk@id.ethz.ch
committed
<Provider store={store}>
<MuiThemeProvider theme={theme}>
piotr.kupczyk@id.ethz.ch
committed
<DragAndDropProvider>
piotr.kupczyk@id.ethz.ch
committed
<App />
piotr.kupczyk@id.ethz.ch
committed
</DragAndDropProvider>
piotr.kupczyk@id.ethz.ch
committed
</MuiThemeProvider>
module.hot.accept('./components/App.jsx', () => setTimeout(render))