chore: format

This commit is contained in:
2025-10-10 16:43:21 +02:00
parent f0aabd63b6
commit 75c29e0ba4
551 changed files with 433948 additions and 94145 deletions

View File

@@ -1,10 +1,11 @@
!(function (window, document) {
var LM = 'light-mode';
var DM = 'dark-mode';
var h = new Date().getHours();
if ('matchMedia' in window && window.matchMedia('(prefers-color-scheme)')) return;
var m = h <= window._sunrise || h >= window._sunset ? DM : LM;
var n = m === DM ? LM : DM;
document.body.classList.add(m);
document.body.classList.remove(n);
var LM = "light-mode";
var DM = "dark-mode";
var h = new Date().getHours();
if ("matchMedia" in window && window.matchMedia("(prefers-color-scheme)"))
return;
var m = h <= window._sunrise || h >= window._sunset ? DM : LM;
var n = m === DM ? LM : DM;
document.body.classList.add(m);
document.body.classList.remove(n);
})(window, document);