Spaces:
Sleeping
Sleeping
<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> | |
if (localStorage.theme === 'dark') { | |
document.documentElement.classList.add('dark'); | |
} | |
</script> | |
</html> | |