Spaces:
Sleeping
Sleeping
File size: 656 Bytes
11dbfc8 1c8195c 11dbfc8 1c8195c 229d4b4 11dbfc8 1c8195c 11dbfc8 6a35655 9c68297 5da61b4 7f827cf 6a35655 11dbfc8 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
<!DOCTYPE html>
<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>
%sveltekit.head%
</head>
<body data-sveltekit-preload-data="hover" class="dark:bg-gray-900 h-full">
<div class="contents h-full">%sveltekit.body%</div>
</body>
<script>
if (
localStorage.theme === "dark" ||
(!("theme" in localStorage) && window.matchMedia("(prefers-color-scheme: dark)").matches)
) {
document.documentElement.classList.add("dark");
}
</script>
</html>
|