So I finally got around to setting up a dark mode for my site. Currently it’s auto-switching based on the system setting. This is acceptable, but not ideal.
Selfish context: I use dark mode for most things, but prefer the light mode version of my site.
Based on what I’ve found thus far, a persistent toggle setting would require JavaScript. Is there a recommended implementation in 2025? Ideally one that would fallback gracefully in the event that a browser has disabled JS. Thanks in advance.
Notably, I’ve been reading through this one (2023); I haven’t found a more ‘modern’ one as of yet.