From 42d47d1cdbe41503c0b73be3550631379b923c46 Mon Sep 17 00:00:00 2001 From: zepp Date: Thu, 27 Feb 2025 02:52:32 -0500 Subject: [PATCH] remove unused styles and variables, code cleanup remove color values and variable from Navigation.astro add extra whitespace in style tag for Footer.astro --- src/components/Footer.astro | 1 + src/components/Navigation.astro | 16 +--------------- 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/src/components/Footer.astro b/src/components/Footer.astro index ada39e8..1fd2234 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -25,6 +25,7 @@ const backgroundColorNightMode = "#240046"; font-size: 1.3rem; letter-spacing: 0.05rem; } + @media (prefers-color-scheme: dark) { footer { background-color: var(--backgroundColorNightMode); diff --git a/src/components/Navigation.astro b/src/components/Navigation.astro index 27b351f..d9a3503 100644 --- a/src/components/Navigation.astro +++ b/src/components/Navigation.astro @@ -1,9 +1,6 @@ --- const backgroundColor = "#ffd4de"; const backgroundColorNightMode = "#240046"; -const transPrideBlue = "#5bcefa"; -const transPridePink = "#f5a9b8"; -const transPrideWhite = "#ffffff"; --- -