import React from 'react' ; import ReactDOM from 'react-dom' ; import { createMuiTheme , ThemeProvider } from '@material-ui/core' ; import Router from './Router' ; import reportWebVitals from './reportWebVitals' ; const theme = createMuiTheme ( { palette : { primary : { main : '#5e4b8e' , } , secondary : { main : '#5cbdbc' , } , } , } ) ; ReactDOM . render ( < React . StrictMode > < ThemeProvider theme = { theme } > < Router /> < /ThemeProvider> , < /React.StrictMode>, document.getElementById('root')); reportWebVitals ( ) ;