I'm currently working on a mostly text based website. We are supporting
dark-mode using css
We're currently discussing if we should have a toggle button.
Not all devices support dark-mode, and users don't always want to stick with the choice made by their OS.
On the other hand, this is just extra code that needs to be downloaded by every user — and it needs to remember their preferences with
localStorage, and I like to not create data when I can help it.
What do you think? Is it actually useful to have a dark mode toggle? or should we stick to supporting the choice made by the OS?