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 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
2 years ago
..
_archive.scss 🎨 refactor: improve code format; set tabs = 4 spaces 2 years ago
_cards.scss 💄 style: use shadow instead of border for cards 2 years ago
_code.scss 🎨 refactor: improve code format; set tabs = 4 spaces 2 years ago
_footer.scss 🐛 fix: remove flash when navigating in dark-mode 2 years ago
_header.scss 🐛 fix: remove flash when navigating in dark-mode 2 years ago
_home-banner.scss 💄 style: simplify colourscheme 2 years ago
_image.scss 🎨 refactor: improve code format; set tabs = 4 spaces 2 years ago
_misc.scss style: prevent header anchor selection 2 years ago
_pagination.scss 🔥 refactor: remove useless lines 2 years ago
_posts_list.scss 🎨 refactor: improve code format; set tabs = 4 spaces 2 years ago
_table.scss 🎨 refactor: improve code format; set tabs = 4 spaces 2 years ago
_tags.scss 🎨 refactor: improve code format; set tabs = 4 spaces 2 years ago
_theme-switch.scss 🐛 fix: remove flash when navigating in dark-mode 2 years ago