<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/two-vs-three-state-color-theme-toggles-master-dev-blog-561lejywm" -->

---
title: Two vs. Three-State Color Theme Toggles – Master.dev Blog
description: A debate is unpacked over how many states a dark/light theme toggle should have. Google's Modern Web Guidance recommends a two-state toggle, reportedly...
canonical: https://daily.dev/posts/two-vs-three-state-color-theme-toggles-master-dev-blog-561lejywm
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Two vs. Three-State Color Theme Toggles – Master.dev Blog | daily.dev
og:description: A debate is unpacked over how many states a dark/light theme toggle should have. Google's Modern Web Guidance recommends a two-state toggle, reportedly...
og:url: https://daily.dev/posts/two-vs-three-state-color-theme-toggles-master-dev-blog-561lejywm
og:image: https://api.daily.dev/og/posts/561leJywM.png
og:image:alt: Two vs. Three-State Color Theme Toggles – Master.dev Blog
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Two vs. Three-State Color Theme Toggles – Master.dev Blog

**[Frontend Masters](https://daily.dev/sources/frontendmasters)** · 1 min read · 8 upvotes · 1 comments

## Summary

A debate is unpacked over how many states a dark/light theme toggle should have. Google's Modern Web Guidance recommends a two-state toggle, reportedly authored by Lea Verou, while Bramus Van Damme argues a three-state toggle is clearer for users with auto-toggling system preferences, since a two-state control can misrepresent the current mode. Lea later suggests a zero-state (system-only) approach might be best. The author concludes there's no universal answer: different sites suit different approaches, citing zero-state for a personal blog, three-state for CodePen (useful for developers), and two-state for a site like the New York Times.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://blog.master.dev/two-vs-three-state-color-theme-toggles>

## Questions this post answers

### Should a dark mode toggle have two states or three states (including a system/auto option)?

It depends on the audience and context, not a universal rule. Google's Modern Web Guidance recommends a two-state toggle for simplicity, while a three-state toggle (light, dark, auto) better serves users whose system theme auto-switches throughout the day, since a two-state toggle can silently override that behavior unexpectedly. A zero-state approach, following only the system preference with no manual override, can also be appropriate for simpler sites.

_Weighing dark mode toggle patterns for a real product? daily.dev surfaces frontend UX debates like this one._

### Why might a two-state dark mode toggle be problematic for users with auto-switching system themes?

A two-state toggle can silently lock a user out of their system's automatic light/dark switching once they interact with it, which frustrates users who rely on their OS to change themes based on time of day. Bramus Van Damme argued a three-state toggle (light, dark, auto) avoids this by explicitly preserving an auto option alongside manual light and dark choices.

_Building theme switchers that respect system preferences is easier when daily.dev keeps you close to these UX arguments._

## Similar posts on daily.dev

- [Dark mode toggles: two states are enough • Lea Verou](https://daily.dev/posts/dark-mode-toggles-two-states-are-enough-lea-verou-aojclwsb5) · Lea Verou · 47 upvotes · 18 comments
- [Trying out a Two-state Dark Mode Toggle—zachleat.com](https://daily.dev/posts/trying-out-a-two-state-dark-mode-toggle-zachleat-com-djhvmr6jc) · Zach Leatherman · 5 upvotes · 1 comments
- [The best dark mode toggle is probably none • Lea Verou](https://daily.dev/posts/the-best-dark-mode-toggle-is-probably-none-lea-verou-b87kcu2hu) · Lea Verou · 108 upvotes · 36 comments
- [Modes and Themes That Stick - Building a Persistent Toggle Solution](https://daily.dev/posts/modes-and-themes-that-stick---building-a-persistent-toggle-solution-70bokb2oo) · Always Twisted · 1 upvotes · 1 comments

---

Tags: [#css](https://daily.dev/tags/css), [#ui-ux](https://daily.dev/tags/ui-ux)

[View this post on daily.dev](https://daily.dev/posts/two-vs-three-state-color-theme-toggles-master-dev-blog-561lejywm)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Two vs. Three-State Color Theme Toggles – Master.dev Blog","url":"https://daily.dev/posts/two-vs-three-state-color-theme-toggles-master-dev-blog-561lejywm","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/two-vs-three-state-color-theme-toggles-master-dev-blog-561lejywm"},"datePublished":"2026-09-03T14:55:57.624Z","dateModified":"2026-09-13T21:25:29.128Z","description":"A debate is unpacked over how many states a dark/light theme toggle should have. Google's Modern Web Guidance recommends a two-state toggle, reportedly...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/593e07aa1c148a58ffc6702e58e6b33e?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/593e07aa1c148a58ffc6702e58e6b33e?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Frontend Masters","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Frontend Masters","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/d34dd87208f24090bfb0917307fcf89f","url":"https://daily.dev/sources/frontendmasters"},"commentCount":1,"discussionUrl":"https://daily.dev/posts/two-vs-three-state-color-theme-toggles-master-dev-blog-561lejywm","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":8},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":1}],"keywords":"css,ui-ux","timeRequired":"PT1M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Frontend Masters","item":"https://daily.dev/sources/frontendmasters"},{"@type":"ListItem","position":3,"name":"Two vs. Three-State Color Theme Toggles – Master.dev Blog"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/two-vs-three-state-color-theme-toggles-master-dev-blog-561lejywm#faq","mainEntity":[{"@type":"Question","name":"Should a dark mode toggle have two states or three states (including a system/auto option)?","acceptedAnswer":{"@type":"Answer","text":"It depends on the audience and context, not a universal rule. Google's Modern Web Guidance recommends a two-state toggle for simplicity, while a three-state toggle (light, dark, auto) better serves users whose system theme auto-switches throughout the day, since a two-state toggle can silently override that behavior unexpectedly. A zero-state approach, following only the system preference with no manual override, can also be appropriate for simpler sites. Weighing dark mode toggle patterns for a real product? daily.dev surfaces frontend UX debates like this one."}},{"@type":"Question","name":"Why might a two-state dark mode toggle be problematic for users with auto-switching system themes?","acceptedAnswer":{"@type":"Answer","text":"A two-state toggle can silently lock a user out of their system's automatic light/dark switching once they interact with it, which frustrates users who rely on their OS to change themes based on time of day. Bramus Van Damme argued a three-state toggle (light, dark, auto) avoids this by explicitly preserving an auto option alongside manual light and dark choices. Building theme switchers that respect system preferences is easier when daily.dev keeps you close to these UX arguments."}}]}
```

