diff --git a/frontend/src/App.js b/frontend/src/App.js index 8e4536031444a7722ebf7a86f99d7c2ce0f7990d..c22b8348bc8a7d85a9adbab38e85dbcb28c4d93d 100644 --- a/frontend/src/App.js +++ b/frontend/src/App.js @@ -10,7 +10,7 @@ import ViewPost from './components/Pages/ViewPost/ViewPost.js'; import AddPost from './components/Pages/AddPost/AddPost.js'; import Auth from './components/Auth/Auth.js'; import { AuthProvider } from './context/auth.js'; -import AuthRoute from './util/AuthRoute.js'; +import AuthRoute from './components/AuthRoute/AuthRoute.js'; const httpLink = createHttpLink({ uri: 'http://localhost:5000/graphql' diff --git a/frontend/src/styles.js b/frontend/src/styles.js new file mode 100644 index 0000000000000000000000000000000000000000..07a94ff4296f780d85043295df262e1c63812088 --- /dev/null +++ b/frontend/src/styles.js @@ -0,0 +1,10 @@ +import { createMuiTheme } from '@material-ui/core/styles'; + +export const darkTheme = createMuiTheme({ + palette: { + type: 'dark', + primary: { + main: '#64b5f6', + }, + } +}); \ No newline at end of file