PaletteSwitcher/client/public/index.html
2023-05-29 13:53:04 +02:00

38 lines
1.1 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta name="description" content="Go+Wasm image dithering tool" />
<link
rel="apple-touch-icon"
href="%PUBLIC_URL%/android-chrome-192x192.png"
/>
<link rel="manifest" href="%PUBLIC_URL%/site.webmanifest" />
<title>Palette Switcher</title>
<script>
if (
localStorage.theme === "dark" ||
(!("theme" in localStorage) &&
window.matchMedia("(prefers-color-scheme: dark)").matches)
) {
document.documentElement.classList.add("dark");
} else {
document.documentElement.classList.remove("dark");
}
</script>
<script
async
src="https://analytics.umami.is/script.js"
data-website-id="e17a6636-061a-43f6-bef4-e5787721c5d1"
data-do-not-track="true"
></script>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
</body>
</html>