Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
August 26, 2021 08:43 pm GMT

Should websites have a dark-mode toggle button?

I'm currently working on a mostly text based website. We are supporting dark-mode using css media-queries.

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?


Original Link: https://dev.to/shadowfaxrodeo/should-websites-have-a-dark-mode-toggle-button-1an1

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To