mirror of
https://github.com/VibedByKaKi/t3-code-android-nightly.git
synced 2026-10-11 04:41:17 +02:00
28 lines
869 B
HTML
28 lines
869 B
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>git service</title>
|
|
<script>
|
|
// Set the theme class before first paint. Key "theme": "light" |
|
|
// "dark"; absent = follow the system preference.
|
|
(() => {
|
|
try {
|
|
const stored = localStorage.getItem("theme");
|
|
const dark =
|
|
stored === "dark" ||
|
|
(stored !== "light" &&
|
|
matchMedia("(prefers-color-scheme: dark)").matches);
|
|
document.documentElement.classList.toggle("dark", dark);
|
|
} catch {
|
|
/* storage disabled — leave the default (light) */
|
|
}
|
|
})();
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div id="root"></div>
|
|
<script type="module" src="/src/ui/main.tsx"></script>
|
|
</body>
|
|
</html>
|