From 7368b268a9a17dafd1a8cd7be8878712d42a20c3 Mon Sep 17 00:00:00 2001
From: Rizwan <rk00436@surrey.ac.uk>
Date: Tue, 13 Apr 2021 16:26:22 +0100
Subject: [PATCH] Updated dark theme of app

---
 frontend/src/App.js    |  2 +-
 frontend/src/styles.js | 10 ++++++++++
 2 files changed, 11 insertions(+), 1 deletion(-)
 create mode 100644 frontend/src/styles.js

diff --git a/frontend/src/App.js b/frontend/src/App.js
index 8e45360..c22b834 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 0000000..07a94ff
--- /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
-- 
GitLab