[csswg-drafts] [mediaqueries-5] Add language about how the browser obtains prefers-color-scheme from the OS (#10015)

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

== [mediaqueries-5] Add language about how the browser obtains prefers-color-scheme from the OS ==
In [mediaqueries-5/#prefers-color-scheme](https://drafts.csswg.org/mediaqueries-5/#prefers-color-scheme), would it be appropriate to provide details about how the browser obtains information from the device about the user's color preference? 

For example: 
> The method by which the user expresses their preference can vary. It might be a system-wide setting exposed by the Operating System, or a setting controlled by the user agent.

Could this type of language be added:
> Information sent from the operating system or the user agent that contains a `Sec-CH-Prefers-Color-Scheme` Client Hint header (which also supports the "dark" / "light" values) that can be used by the `prefers-color-scheme` media feature to tailor the response to the client’s preferences accordingly.


Not to get too into the weeds, but I'm also searching for documentation about how the browser communicates with the OS, if anyone knows of resources for that. 

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


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

Received on Thursday, 29 February 2024 15:49:37 UTC