Offer light, dark, and system themes
Default
Rule. Offer light, dark, and system themes, and apply the saved choice before the screen draws.
Why. A flash of the wrong theme at load hurts the eyes and looks broken.
- Make System the default.
- Save the choice and keep it in sync across tabs.
- If storage is blocked, still change the theme for this visit.
Figure. A segmented control with 3 themes. System is the default.