diff --git a/source/src/layouts/Base.astro b/source/src/layouts/Base.astro index cb6dad6..349fbcd 100644 --- a/source/src/layouts/Base.astro +++ b/source/src/layouts/Base.astro @@ -10,6 +10,13 @@ import Footer from "@components/global/Footer.astro"; // Styles import '@styles/index.scss' import '@styles/mobile.scss' + +// User Configuration +if (Astro.cookies.get("Theme").value === "Light") { + var ThemeScheme = 'light' +} else if (Astro.cookies.get("Theme").value === "Dark") { + var ThemeScheme = 'dark' +} ---