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

I've been giving variations on a talk about using color-scheme for a while now - and interestingly I have not had anyone come to me confused about the difference between prefers-color-scheme and color-scheme - one coming from the OS settings and one being togglable in-page.

An author might set `color-scheme: dark;` and if this also changes the `prefers-color-scheme` MQ result to `dark` when the user has no such preference, their OS is set to light, and they didn't choose this dark mode - then that's a problem, right?

I guess it's a moot point, that hypothetical author clearly isn't offering choice anyway. But that bothers me.

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


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

Received on Tuesday, 29 October 2024 22:17:13 UTC