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

@ -30,6 +30,12 @@ const iconImage = await getImage({src: icon, height: 32, width: 32, format: "png
href: `/${locale}/`, href: `/${locale}/`,
}))} }))}
/> />
<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"/> <slot name="head"/>
</head> </head>