6 Commits

Author SHA1 Message Date
welpo
f9335b3fa4
feat: add KaTeX support 2023-04-15 19:55:57 +02:00
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.
2023-02-16 21:23:48 +01:00
serginogal
2f80b0b5ad feat: clean js code 2023-02-16 22:19:58 +09:00
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
2023-02-15 20:36:26 +01:00
welpo
722d493a9a
💄 style: default light mode 2023-02-10 02:15:05 +01:00
welpo
0b117d1641 first commit 2023-02-02 15:53:54 +01:00