diff options
Diffstat (limited to 'src/routes/(static)')
| -rw-r--r-- | src/routes/(static)/+layout.svelte | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/routes/(static)/+layout.svelte b/src/routes/(static)/+layout.svelte index 8b14fd38..f09852fb 100644 --- a/src/routes/(static)/+layout.svelte +++ b/src/routes/(static)/+layout.svelte @@ -1,6 +1,7 @@ <script> import { SvelteToast } from "@zerodevx/svelte-toast"; import Footer from "$comp/Footer.svelte"; + import { theme } from "$lib/store"; import LandingHeader from "$comp/LandingHeader.svelte"; export let data; @@ -9,7 +10,10 @@ <SvelteToast options={{ reversed: true, intro: { y: 192 } }} /> <LandingHeader {user} /> -<main class="container flex px-4 md:px-40 mx-auto min-h-[600px]"> +<main + class="container flex px-4 md:px-40 mx-auto min-h-[600px]" + data-theme={$theme} +> <slot /> </main> <Footer /> |
