5 Commits (8fe96d3f46f0e58b63b03dbc5d64d33938c977dc)

Author SHA1 Message Date
welpo 9a1f5db45c
feat: listen for changes on OS theme to switch accordingly
As long as the visitor has not changed the default theme, the site will
change between dark and light themes matching the OS setting.
2 years ago
serginogal 2f80b0b5ad feat: clean js code 2 years ago
welpo af80aef00c
feat: change default theme to OS default
Update the theme switcher code to set the default theme to the OS
default, rather than the "light" theme. This provides a more seamless
user experience for users whose OS is set to a dark mode. The current
theme setting in local storage will still be respected if present. This
change was made to improve the accessibility and usability.

Fixes #38
2 years ago
welpo 722d493a9a
💄 style: default light mode 2 years ago
welpo 0b117d1641 first commit 2 years ago