feat: default to light theme on zeropost.ru

This commit is contained in:
Alexey Pavlov
2026-05-31 18:57:26 +03:00
parent 14e1fd14df
commit 9c9758865b
+1 -1
View File
@@ -70,7 +70,7 @@ const themeInitScript = `
(function() {
try {
var saved = localStorage.getItem('theme');
var theme = saved || (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light');
var theme = saved || 'light';
if (theme === 'dark') document.documentElement.classList.add('dark');
} catch(e) {}
})();