<html lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<link rel="icon" href="%sveltekit.assets%/favicon.png" /> | |
<meta name="viewport" content="width=device-width" /> | |
%sveltekit.head% | |
</head> | |
<body data-sveltekit-preload-data="hover" class="dark:bg-gray-900"> | |
<div style="display: contents">%sveltekit.body%</div> | |
</body> | |
<script> | |
localStorage.theme !== 'light' && document.documentElement.classList.add('dark'); | |
</script> | |
</html> | |