From fdc04643bb725c624f2bde132db35873301352a6 Mon Sep 17 00:00:00 2001 From: Korbs Date: Fri, 25 Oct 2024 15:12:59 -0400 Subject: [PATCH] update --- source/src/components/global/Head.astro | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/src/components/global/Head.astro b/source/src/components/global/Head.astro index 61faaef..70a3c94 100644 --- a/source/src/components/global/Head.astro +++ b/source/src/components/global/Head.astro @@ -7,6 +7,8 @@ if (Astro.cookies.get("Theme").value === "Light") { var ThemeScheme = 'light' } else if (Astro.cookies.get("Theme").value === "Dark") { var ThemeScheme = 'dark' +}else if (Astro.cookies.get("Theme").value === undefined) { + var ThemeScheme = 'dark' } ---