css themes fixed

This commit is contained in:
2026-08-23 21:02:38 +01:00
parent e95a5b1a9f
commit 7cb28861e5
3 changed files with 58 additions and 37 deletions
+1 -1
View File
@@ -8,7 +8,7 @@
<script>
(function () {
var stored = localStorage.getItem('poc-theme');
var theme = stored || (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'tokyo' : 'light');
var theme = stored || (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'macchiato' : 'light');
document.documentElement.setAttribute('data-theme', theme);
})();
</script>