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' } ---