2 Commits

Author SHA1 Message Date
welpo
e1dfd2ea07
🐛 fix: properly initialise currentTheme
The `currentTheme` variable is now properly initialized when setting
the initial theme, which fixes the "extra click" issue observed when system preference
is `dark` and there's no saved theme in localStorage.

Also minifies the themeSwitcher.

Fixes #94
2023-07-25 00:40:45 +02:00
welpo
4b43229d0a
🚚 chore(js): rename minified files 2023-07-17 20:40:48 +02:00