From 8fd3225988d7f1cdf7907cfe1401f3345d0c049e Mon Sep 17 00:00:00 2001 From: Urdons Date: Wed, 24 Jul 2024 19:18:03 -0400 Subject: [PATCH 1/3] Greatly improved Dark and Light mode, Removed Shadows, Updated Tailwind config. --- package.json | 1 + public/home.ejs | 6 +- public/pages/profile.ejs | 8 +- public/pages/user-profile.ejs | 18 ++- public/partials/navbar.ejs | 12 +- public/scripts-src/github/displayData.ts | 2 +- public/scripts-src/userSearch.ts | 6 +- public/scripts/github/displayData.js | 2 +- public/scripts/userSearch.js | 6 +- public/styles/tailwind.css | 169 +++++++++++++++-------- tailwind.config.js | 49 +++++++ 11 files changed, 191 insertions(+), 88 deletions(-) diff --git a/package.json b/package.json index fed19c8..e484c8d 100644 --- a/package.json +++ b/package.json @@ -29,6 +29,7 @@ "express-session": "^1.18.0", "mongoose": "^8.5.1", "node": "^21.6.2", + "nvm": "^0.0.4", "tailwind": "^4.0.0" }, "devDependencies": { diff --git a/public/home.ejs b/public/home.ejs index 32dd0fb..bb048b7 100644 --- a/public/home.ejs +++ b/public/home.ejs @@ -16,12 +16,12 @@ <%- include("partials/navbar.ejs") %> + class="flex justify-center items-center h-[100vh] bg-far-light dark:bg-far-dark dark:text-white lg:px-[20vw] sm:px-0">
- logo

FetchCV

@@ -44,7 +44,7 @@
+ class="inline-flex justify-center transition-all p-2 mx-1 border-[1px] bg-close-light dark:bg-close-dark hover:bg-close-h-light hover:dark:bg-close-h-dark border-close-b-light dark:border-close-b-dark rounded-md"> account_circle

My Profile

diff --git a/public/pages/profile.ejs b/public/pages/profile.ejs index 8bb652c..1a3669b 100644 --- a/public/pages/profile.ejs +++ b/public/pages/profile.ejs @@ -12,7 +12,7 @@ My Profile | FetchCV <%- include("../partials/navbar.ejs") %> - + @@ -29,10 +29,10 @@