tale-hugo
tale-hugo copied to clipboard
Consider following the system light/dark color scheme instead of having a dark mode toggle
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.