4 Commits (228f1ea6e51cf75bb1a44db7aa94cd634802e177)

Author SHA1 Message Date
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>
1 year ago
Óscar Fernández 2c6ac293ad
️ fix: improve accessibility and i18n (#183) 1 year ago
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
2 years ago
welpo 4b43229d0a
🚚 chore(js): rename minified files 2 years ago