Re: [csswg-drafts] [mediaqueries-5] How does script control of preferences work with forced color schemes? (#11575)

> IUC light only was to instruct the UA to not try and automagically create a dark theme (Chrome had this [as an experiment](https://developer.chrome.com/blog/auto-dark-theme/) once, but the feature (thankfully) got pulled).

Fwiw they still have that available on Chrome for Android, and that's essentially the basis for this discussion. (Without going off topic I'd be curious to hear why you think it's good it got pulled? I use it daily and it's actually pretty sweet, borderline an accessibility feature to me).

My question was more around what the behaviour the override has irrespective of the meta tag aspect (for the sake of discussion lets imagine the site defines support for `light dark`). Should the override pick "light" or effectively "light only" such that the browser wont still try to force dark.

I think the discussion about expiicit `light only` and requesting an override to dark should be in https://github.com/w3c/csswg-drafts/issues/11576?

-- 
GitHub Notification of comment by lukewarlow
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11575#issuecomment-3426907430 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 21 October 2025 14:14:58 UTC