You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 8, 2025. It is now read-only.
UX discussion for "Color Scheme Simulation" feature in DevTools
Summary:
Adds an option to simulate different color schemes allowing to test @prefers-color-scheme media queries. Using this media query lets your style sheet specify whether it prefers a light or dark user interface. This feature lets you test your code without having to change settings in your browser (or operating system, if the browser follows a system-wide color scheme setting).
UX discussion for "Color Scheme Simulation" feature in DevTools
Summary:
Adds an option to simulate different color schemes allowing to test @prefers-color-scheme media queries. Using this media query lets your style sheet specify whether it prefers a light or dark user interface. This feature lets you test your code without having to change settings in your browser (or operating system, if the browser follows a system-wide color scheme setting).
Mini-PRD: https://docs.google.com/document/d/1M1YMw83k2wmW7FAnqnIC3DdkPElccxypsCLuWyoIZJY/edit#heading=h.ra7dtg5dt199
Original bug:
Introduced 4 states toggle button (null, no-preference, light, dark)
Meta:
Bug for updating the tooltip:
Hidden behind a pref:
devtools.inspector.color-scheme-simulation.enabledMDN: https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Experimental_features#Color_scheme_simulation
Others:
Screenshot:
The goal should be to polish/simplify the UI (e.g. no-preference doesn't exist anymore)
@violasong @digitarald @martinbalfanz
We could also introduce a popup offering the state options
Honza