Urgent.News

What's breaking now, across thousands of outlets.

Tech

Dark mode toggles: two states are enough

Two-state dark mode toggles are more user-friendly than tri-state options. Users typically do not seek to express intent for things to stay unchanged. Instead, they use toggles when something needs to change. For instance, on a documentation site, users are there to look something up. A landing page visitor may be evaluating the product's suitability.

A media reader is on the site for the news. A graphics app user wants to draw something. Tinkering with the theme is not a primary goal; users only adjust it when things are off. The tri-state control aims to address an uncommon user need that doesn't justify the added complexity and UX friction. In fact, tri-state toggles are prevalent, but that doesn't make them good.

The underlying model should have three states, but only one is relevant to users at any given moment. A dark mode toggle is a temporary comfort adjustment, not a long-term stance on color schemes. The third state assumes a user scenario where a website looks fine, but the user seeks a dark mode toggle for future-proofing, which is an unnatural interaction driven by an unreal user goal.

Even the strongest advocates of tri-state toggles admit it's rarely needed or a one-off scenario. While adding a third state may not hurt, UI complexity carries a cost. It increases cognitive load for interacting with the control and influences design decisions. A two-state toggle is compact and efficient, often as simple as a single icon that switches to another when clicked.

Tri-state controls, while common, often lack the system preference option, making the "System" state unreachable once selected and violating usability principles such as user control and freedom. Two-state toggles should still be able to express all three states. Exposing all three states in the UI is simply leaking the underlying model.

Written by urgent.news from Lobsters's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at lea.verou.me →

More in Tech

OnePlus begins ColorOS 17 testing on flagship phones

OnePlus has opened closed beta testing of ColorOS 17 for the OnePlus 15 and OnePlus 15R in India, putting its planned transition away from OxygenOS into the hands of users for the first time.

  • OnePlus starts ColorOS 17 beta testing on OnePlus 15 and 15R in India
  • 300 applicants narrowed down to top scorers for firmware access
  • ColorOS 17 based on Android 17, focusing on performance and stability

Atlassian closes one-click Rovo data leak flaw

Atlassian has fixed a security flaw in its Rovo artificial intelligence assistant that could have allowed attackers to turn a single malicious link into a channel for stealing sensitive corporate…

  • Atlassian patched RovoBlast flaw in Rovo AI assistant.
  • Attackers could steal data via malicious link and RovoChatPrompt.
  • Atlassian released server-side fix July 8, no separate patch needed.

More from Monday 10 August →