tabi-lean/templates
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
..
macros 🐛 fix: handle missing image metadata gracefully 2023-04-16 18:06:20 +02:00
partials 🐛 fix: remove flash when navigating in dark-mode 2023-04-28 16:20:42 +02:00
shortcodes 🐛 fix: handle missing image metadata gracefully 2023-04-16 18:06:20 +02:00
tags 💄 style: respect the tags capitalisation 2023-04-17 02:22:07 +02:00
404.html ♻️ refactor: improve spacing and indentation 2023-03-06 00:20:31 +01:00
archive.html 💄 style: use day-month format 2023-03-06 23:02:38 +01:00
base.html 🚚 refactor: rename minified KaTeX css 2023-04-28 16:12:14 +02:00
cards.html feat: allow dual date-format (short/long) 2023-03-10 23:25:54 +01:00
index.html 🐛 fix: add end-of-file newline 2023-02-06 02:20:56 +01:00
page.html ♻️ refactor: improve spacing and indentation 2023-03-06 00:20:31 +01:00
section.html feat: allow dual date-format (short/long) 2023-03-10 23:25:54 +01:00