fumas/index.html
2024-08-30 05:49:53 +05:00

28 lines
718 B
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>fumas</title>
<script>
if (
localStorage.getItem("color-theme") === "dark" ||
(!("color-theme" in localStorage) &&
window.matchMedia("(prefers-color-scheme: dark)").matches)
) {
document.documentElement.classList.add("dark");
} else {
document.documentElement.classList.remove("dark");
}
</script>
</head>
<body class="bg-[var(--w-bg)] dark:bg-[var(--b-bg)]">
<div id="app"></div>
<script type="module" src="/src/main.js"></script>
</body>
</html>