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

lukewarlow has just created a new issue for https://github.com/w3c/csswg-drafts:

== [mediaqueries-5] How does script control of preferences work with forced color schemes? ==
Currently you can set a color scheme on your site, which allows you to specify which colour schemes you support.

Some browsers allow the user to force a specific color scheme on a site even if it only supports light mode by default.

This can be disabled by using the `light only` value for the color-scheme property or meta tag.

What behaviour should preference overrides have? `light` - where the browser force dark mode wins, or `light only` where the users choice for the site overrides the browsers force dark mode?

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11575 using your GitHub account


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

Received on Monday, 27 January 2025 12:56:15 UTC