Dark mode toggles: two states are enough

(lea.verou.me)

6 points | by JeremyTheo a day ago ago

3 comments

  • OroPla 20 hours ago ago

    I agree, but as long as the site follows my system settings I won't be needing a toggle at all. But I guess it should be there anyway.

  • sans_souse a day ago ago

    I would point out that the "system" setting actually does have a special-use case: some users have their OS set to auto toggle from Dark to Light at a specific time (ie: sun down). Imagine how their daily flow is interupted by this? Especially since dark/light mode can be critically important nowadays with hands free night driving. A bright white screen can temporarily blind you.

    • OroPla 20 hours ago ago

      From the article:

      > When you press it for the first time, it toggles to the opposite of what you’re currently seeing, and stores the literal value (light or dark). The next time you press it, it toggles back to the system default, and removes the stored value.

      The article even provides a demonstration demo: https://lea.verou.me/blog/2026/dark-mode-toggles/demo