tabi/content/blog
welpo 1efb0330e3
🐛 fix: remove flash when navigating in dark-mode
The `initialize-theme.js` script takes care of the following:

  1. If there is a stored theme value in the localStorage, set the theme
 based on that value.
  2. If there is no stored theme value, check the  user's system
  preference (dark or light) and set the theme accordingly.

The new `main.js` takes care of the actual theme switching and listening
to system preference changes (if the user has not manually set a theme).

Now the icons are stored in CSS, and are set according to the current
theme. This allows for having different icons that dynamically switch.

Additionally, wraps social and navigation elements in ul/li.

Fixes #76
2023-04-28 16:20:42 +02:00
..
_index.md feat: add anchor header links on hover 2023-03-06 02:22:02 +01:00
almost-no-js.md 🐛 fix: remove flash when navigating in dark-mode 2023-04-28 16:20:42 +02:00
markdown.md 📝 docs: stylise KaTeX 2023-04-28 16:10:26 +02:00
one_more.md 🚚 refactor: move blog posts blog section 2023-03-05 19:44:36 +01:00
security.md 📝 fix: clarify requirements for A+ Observatory score 2023-04-14 23:50:26 +02:00
shortcodes.md feat(shortcodes): update image path retrieval and dimensions in shortcodes 2023-04-16 03:21:41 +02:00
toc.md 🚚 refactor: move blog posts blog section 2023-03-05 19:44:36 +01:00