Skip to content
Snippets Groups Projects
Commit ccfc9a60 authored by Esko Ikkala's avatar Esko Ikkala
Browse files

Add customizable theme

parent 4d1c99d3
No related branches found
No related tags found
No related merge requests found
import React from 'react';
import { MuiThemeProvider, createMuiTheme } from '@material-ui/core/styles';
import MapApp from '../containers/MapApp';
// import green from '@material-ui/core/colors/green';
import deepOrange from '@material-ui/core/colors/deepOrange';
// import red from '@material-ui/core/colors/red';
// import amber from '@material-ui/core/colors/amber';
// import grey from '@material-ui/core/colors/grey';
const theme = createMuiTheme({
palette: {
primary: deepOrange,
},
});
const App = () => (
<MapApp />
<MuiThemeProvider theme={theme}>
<MapApp />
</MuiThemeProvider>
);
export default App;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment