Óscar Fernández
bf31f7ff47
✨ feat(theme-switcher)!: respect theme_default
when JS is enabled ( #224 )
...
BREAKING CHANGE: changes the behaviour of `theme_default`
2023-11-25 00:08:58 +01:00
Óscar Fernández
afbf4017e2
✨ feat(theme-switcher): add theme reset button ( #198 )
2023-10-06 01:36:56 +02:00
Almost-Senseless-Coder
2eaee6557c
🌐 fix(theme-switcher): properly translate aria-label ( #192 )
...
Co-authored-by: Tim Böttcher <tim.boettcher2@rwth-aachen.de>
Co-authored-by: welpo <welpo@users.noreply.github.com>
2023-10-04 12:41:31 +02:00
Óscar Fernández
2c6ac293ad
♿ ️ fix: improve accessibility and i18n ( #183 )
2023-10-02 18:08:57 +02:00
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