diff --git a/client/src/App.js b/client/src/App.js index 6e87e8d1e..bab851995 100644 --- a/client/src/App.js +++ b/client/src/App.js @@ -9,6 +9,10 @@ import { setContext } from 'apollo-link-context' import { Route, BrowserRouter, Switch } from 'react-router-dom' +// Material UI + +import { MuiThemeProvider, createMuiTheme } from '@material-ui/core/styles' + // Components import NavBar from './components/NavBar' @@ -65,31 +69,40 @@ export const client = new ApolloClient({ export const auth = new Auth(result => console.log('auth result', result), client) +/* Here we change the default Material UI theme for Advanced Algos brand colors. */ + +const theme = createMuiTheme({ + palette: { + primary: { main: '#303036' }, // DARK. + secondary: { main: '#F0A202' } // GOLDEN_ORANGE. + } +}) + class App extends Component { render () { return ( - -
- - - - - - - - - - - { - auth.handleAuthentication(props) - return - }} /> - -
-
- + +
+ + + + + + + + + + + { + auth.handleAuthentication(props) + return + }} /> + +
+
)