Add dark theme
Builds / ExectOS WebSite (push) Successful in 33s

This commit is contained in:
2026-11-29 21:04:43 +01:00
parent 0680c332aa
commit 5e5d203966
3 changed files with 259 additions and 33 deletions
@@ -3,6 +3,15 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="/images/exectos_logo.png" />
<link rel="stylesheet" type="text/css" href="/css/style.css">
<script>
(function() {
var theme = "light";
try {
theme = localStorage.getItem("exectos-theme") === "dark" ? "dark" : "light";
} catch (e) {}
document.documentElement.setAttribute("data-theme", theme);
})();
</script>
<meta http-equiv="Content-type" content="application/xhtml+xml;charset=utf-8" />
<!--meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" /-->
<meta name="viewport" content="width=device-width, initial-scale=0.1">