moving
Some checks failed
Installer Smoke / installer-smoke (push) Has been cancelled

This commit is contained in:
Oleg Maslov
2026-09-02 10:10:29 +02:00
commit 0c3e2ead3b
3841 changed files with 970576 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
(function () {
try {
var value = localStorage.getItem('waggle-theme');
var useLightTheme = value === 'light' ||
(value === 'system' && window.matchMedia &&
!window.matchMedia('(prefers-color-scheme: dark)').matches);
if (useLightTheme) document.documentElement.setAttribute('data-theme', 'light');
} catch (_error) {
// Storage can be unavailable in hardened webviews; dark is the default.
}
})();