From 8799733474178a7381978ee2a00fc2de760566bd Mon Sep 17 00:00:00 2001 From: Joseph Montanaro Date: Mon, 22 Jun 2026 12:11:04 -0400 Subject: [PATCH] change light mode to line up better with dark mode --- src/components/ThemeSwitcher.astro | 2 +- src/layouts/BaseLayout.astro | 4 ++-- src/styles/vars.css | 38 +++++++++++++++++------------- 3 files changed, 25 insertions(+), 19 deletions(-) diff --git a/src/components/ThemeSwitcher.astro b/src/components/ThemeSwitcher.astro index ddcf29b..8567418 100644 --- a/src/components/ThemeSwitcher.astro +++ b/src/components/ThemeSwitcher.astro @@ -34,7 +34,7 @@ button { &:hover { cursor: pointer; - color: var(--accent-color); + color: var(--navbar-accent-color); } /* hide by default, i.e. if JS isn't enabled and the data-theme attribute didn't get set, */ diff --git a/src/layouts/BaseLayout.astro b/src/layouts/BaseLayout.astro index a4705fd..1ca4ff5 100644 --- a/src/layouts/BaseLayout.astro +++ b/src/layouts/BaseLayout.astro @@ -31,7 +31,7 @@ const { pageTitle } = Astro.props; {/* Note: The styles are inside the document here because otherwise it breaks Astro's parsing */}