11 Commits

Author SHA1 Message Date
Óscar
1027f5ba53
🌐 style: improve RTL styling consistency (#381) 2024-09-16 17:50:16 +02:00
Óscar Fernández
afbf4017e2
feat(theme-switcher): add theme reset button (#198) 2023-10-06 01:36:56 +02:00
Óscar Fernández
2c6ac293ad
️ fix: improve accessibility and i18n (#183) 2023-10-02 18:08:57 +02:00
Óscar
14ccb208cf
🎨 refactor: turn macros into partials & sort CSS (#146) 2023-09-12 21:28:33 +02:00
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
welpo
7a1bb1d04c
🎨 refactor: improve code format; set tabs = 4 spaces 2023-04-15 00:58:01 +02:00
welpo
cec746c1ce
💄 style: remove transitions 2023-03-05 19:53:12 +01:00
welpo
722d493a9a
💄 style: default light mode 2023-02-10 02:15:05 +01:00
welpo
4f7e25b01e
💄style: set consistent no border radius
Only border radius left is main picture.
2023-02-08 22:13:39 +01:00
welpo
9637e053c3
💄 style: change switcher margin and width/height to rem 2023-02-07 20:02:02 +01:00
welpo
0b117d1641 first commit 2023-02-02 15:53:54 +01:00