From 2c49e8dc4154ad5a61247d5997b71d869f12b1d0 Mon Sep 17 00:00:00 2001 From: Akis Date: Sat, 6 Aug 2022 16:04:03 +0300 Subject: [PATCH] fix colours and add current page highlight on nav --- src/lib/ContactForm.svelte | 4 ++-- src/lib/Footer.svelte | 2 +- src/lib/Hero.svelte | 5 ++--- src/lib/Nav.svelte | 37 +++++++++++++++++++++++++------------ src/lib/app.css | 25 +++++++------------------ src/routes/index.svelte | 6 +++--- src/routes/projects.svelte | 2 +- src/routes/team.svelte | 6 +++--- src/routes/timeline.svelte | 2 +- static/Comfortaa.ttf | Bin 201292 -> 0 bytes static/Inter.ttf | Bin 805360 -> 0 bytes 11 files changed, 45 insertions(+), 44 deletions(-) delete mode 100644 static/Comfortaa.ttf delete mode 100644 static/Inter.ttf diff --git a/src/lib/ContactForm.svelte b/src/lib/ContactForm.svelte index 7cc424a..f9e4003 100644 --- a/src/lib/ContactForm.svelte +++ b/src/lib/ContactForm.svelte @@ -104,7 +104,7 @@ border-radius: 10px; border: none; padding: 0.5rem; - font-family: "Comfortaa", sans-serif; + font-family: var(--font-primary); outline: none; } @@ -120,7 +120,7 @@ } .button:not(select):hover { - background-color: var(--accent-tertiary); + background-color: var(--accent); text-decoration: none; transition: all 0.5s; color: var(--secondary); diff --git a/src/lib/Footer.svelte b/src/lib/Footer.svelte index faf7b21..4668e56 100644 --- a/src/lib/Footer.svelte +++ b/src/lib/Footer.svelte @@ -61,7 +61,7 @@ img { width: 270px; - background: var(--accent-primary); + background: var(--accent); padding: 0.5rem; border-radius: 10px; } diff --git a/src/lib/Hero.svelte b/src/lib/Hero.svelte index f5983a9..7a0cf32 100644 --- a/src/lib/Hero.svelte +++ b/src/lib/Hero.svelte @@ -20,7 +20,6 @@ flex-direction: column; align-items: center; justify-content: center; - font-family: var(--font-header); } .hero > * { @@ -31,12 +30,12 @@ p { font-size: 30px; - color: #b6b6b6; + color: var(--text); } h1 { font-size: 50px; font-weight: 800; - color: var(--accent-primary); + color: var(--accent); } diff --git a/src/lib/Nav.svelte b/src/lib/Nav.svelte index 986f073..19fde59 100644 --- a/src/lib/Nav.svelte +++ b/src/lib/Nav.svelte @@ -1,8 +1,24 @@ -