- From: Tab Atkins Jr. via GitHub <noreply@w3.org>
- Date: Thu, 28 Aug 2025 00:16:15 +0000
- To: public-css-archive@w3.org
> As long as we can agree to have some other way via an API to get the user's actual OS/UA colour scheme setting, I will support your proposal, Tab. Note that if you're *not* using one of the "force to a particular value" color-schemes (either not using the meta at all, or using `"light dark"`), you'll be able to obtain the value from just querying the MQ normally. It would only be hidden, currently, when you're actively forcing it to one of the values. So, if you're trying to use analytics to tell if a lot of your users have darkmode turned on in their OS (and would thus benefit from having you spend time on darkmode styles), that'll still work, since you presumably are *not* setting the `meta` to force light mode, as that would be silly (the page's used color scheme will default to `light` anyway). (Or you can just make your analytics check if the `meta` is set to one of the forcing values and ignore that page, whatever.) -- GitHub Notification of comment by tabatkins Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10249#issuecomment-3230307041 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 28 August 2025 00:16:16 UTC