You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
..
copyCodeToClipboard.js feat: add copy button to code blocks 2 years ago
copyCodeToClipboard.min.js 🚚 chore(js): rename minified files 2 years ago
giscus.js feat: add support for giscus and utterances 2 years ago
giscus.min.js 🚚 chore(js): rename minified files 2 years ago
hyvortalk.js feat: add support for Hyvor Talk comments 2 years ago
hyvortalk.min.js 🚚 chore(js): rename minified files 2 years ago
initializeTheme.js feat: add support for giscus & utterances comments 2 years ago
initializeTheme.min.js 🚚 chore(js): rename minified files 2 years ago
katex.min.js 🚚 chore(js): rename minified files 2 years ago
loadComments.js feat: add support for giscus and utterances 2 years ago
loadComments.min.js 🚚 chore(js): rename minified files 2 years ago
themeSwitcher.js 🐛 fix: properly initialise `currentTheme` 2 years ago
themeSwitcher.min.js 🐛 fix: properly initialise `currentTheme` 2 years ago
utterances.js feat: add support for giscus and utterances 2 years ago
utterances.min.js 🚚 chore(js): rename minified files 2 years ago