EmielH / tale-hugo

A port of the Tale theme for Hugo. Tale is a minimal theme curated for storytellers.
https://themes.gohugo.io/tale-hugo/
MIT License
248 stars 121 forks source link

Consider following the system light/dark color scheme instead of having a dark mode toggle #70

Open bragefuglseth opened 3 weeks ago

bragefuglseth commented 3 weeks ago

CSS supports automatically following the system color scheme with the prefers-color-scheme media feature. It might make sense to just make the theme follow this instead of having a toggle, since I doubt people would want a specific site built with Tale to have a different color scheme preference from the rest of their system. Most reasonably modern systems (iOS, GNOME, etc.) perform a crossfade animation themselves when switching, so that could also be dropped if doing this.