You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
401 B
19 lines
401 B
<script lang="ts"> |
|
import './layout.css'; |
|
import favicon from '$lib/assets/favicon.svg'; |
|
import { themeStore } from '$lib/stores/theme.svelte'; |
|
import { onMount } from 'svelte'; |
|
|
|
let { children } = $props(); |
|
|
|
// Apply saved theme colors on mount |
|
onMount(() => { |
|
themeStore.applyTheme(); |
|
}); |
|
</script> |
|
|
|
<svelte:head> |
|
<link rel="icon" href={favicon} /> |
|
</svelte:head> |
|
|
|
{@render children()}
|
|
|