<html lang="en" class="h-full"> | |
<head> | |
<meta charset="utf-8" /> | |
<link rel="icon" href="%sveltekit.assets%/favicon.png" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" /> | |
<title>HuggingChat</title> | |
<script> | |
if ( | |
localStorage.theme === "dark" || | |
(!("theme" in localStorage) && window.matchMedia("(prefers-color-scheme: dark)").matches) | |
) { | |
document.documentElement.classList.add("dark"); | |
} | |
</script> | |
%sveltekit.head% | |
</head> | |
<body data-sveltekit-preload-data="hover" class="h-full dark:bg-gray-900"> | |
<div class="contents h-full">%sveltekit.body%</div> | |
</body> | |
</html> | |