From 72b4fd25500b4dee3b79e844b83ceef177783556 Mon Sep 17 00:00:00 2001 From: Leni Aniva Date: Tue, 15 Oct 2024 13:51:46 -0700 Subject: [PATCH] feat: Style name heading and nav-link --- src/app.css | 6 ++++++ src/lib/components/ThemeSwitch.svelte | 2 +- src/routes/+page.svelte | 15 +++++++++------ src/routes/Navbar.svelte | 2 +- 4 files changed, 17 insertions(+), 8 deletions(-) diff --git a/src/app.css b/src/app.css index 80580bc..11d1545 100644 --- a/src/app.css +++ b/src/app.css @@ -37,6 +37,9 @@ --ring: 20 14.3% 4.1%; --radius: 0.5rem; + + --name: theme('colors.java.800'); + --navlink: theme('colors.eucalyptus.400'); } .dark { @@ -68,6 +71,8 @@ --destructive-foreground: 60 9.1% 97.8%; --ring: 24 5.7% 82.9%; + --name: theme('colors.java.300'); + --navlink: theme('colors.eucalyptus.200'); } } @@ -107,6 +112,7 @@ a, button { text-shadow: 0 0 5px; } .nav-link { + color: var(--navlink); @apply text-lg; font-weight: 500; font-family: serif; diff --git a/src/lib/components/ThemeSwitch.svelte b/src/lib/components/ThemeSwitch.svelte index cd4f708..33288b7 100644 --- a/src/lib/components/ThemeSwitch.svelte +++ b/src/lib/components/ThemeSwitch.svelte @@ -19,7 +19,7 @@ } -