Use the LightMode
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Dieser Commit ist enthalten in:
Chaoscaot 2024-02-13 20:31:47 +01:00
Ursprung 5fb5234370
Commit deef2ae345

Datei anzeigen

@ -31,6 +31,12 @@ const iconImage = await getImage({src: icon, height: 32, width: 32, format: "png
}))}
/>
<script is:inline>
if (localStorage["theme-mode"] === "light" || (!("theme-mode" in localStorage) && window.matchMedia("(prefers-color-scheme: light)").matches)) {
document.documentElement.classList.remove("dark");
}
</script>
<slot name="head"/>
</head>
<body class="dark:bg-zinc-800">