Re: [csswg-drafts] [mediaqueries] Effect of <meta name=color-scheme> on the (prefers-color-scheme) MQ (#10249)

> Some sites have pages that are dark or light mode only. I.e. a video-streaming page or custom made pages or articles.

My expectation here would be that those pages have `color-scheme: dark`/`color-scheme: light` set on `:root` in CSS, or have a `<meta name=color-scheme content=dark>`/`<meta name=color-scheme content=light>` in the markup. In that case, a user-requested override should have no effect here, as the author has indicated that that page only supports the one `color-scheme` they have defined.

It is only when `light dark` is the value for `color-scheme` (in CSS on `:root` or via the meta tag) that a user can override the value passed down from the OS.

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


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

Received on Wednesday, 21 January 2026 10:04:59 UTC