fix: change execution mode

This commit is contained in:
2026-03-15 21:10:08 -05:00
parent 9319228ef6
commit a6c889f76a

View File

@@ -43,13 +43,12 @@
</button>
<script is:inline>
const applyTheme = () => {
(() => {
const isDark =
localStorage.theme === 'dark' ||
(!('theme' in localStorage) && window.matchMedia('(prefers-color-scheme: dark)').matches);
document.documentElement.classList.toggle('dark', isDark);
};
applyTheme();
})();
</script>
<script>