Re: [w3c/manifest] Add support for defining a theme color for both light & dark modes (prefers color scheme) (#975)

> Have we fully thought through what happens with forced-color, or the other work being done on Media Queries 5? https://drafts.csswg.org/mediaqueries-5/#forced-colors

Seems perfectly reasonable to me, and I'd say that the ability to tap into queries other than `prefers-color-scheme` is a nice extension point. While defined by the csswg, mediaqueries aren't meant to be limited to css only, and are defined to be usable in other contexts too. This seems like a completely reasonable fit. That said, while all the stuff from MQ5 should be fine, the simple `width` and `height` media features (and some others from MQ3 and MQ4) might need a little clarification to make sure we agree on what is the object whose size (etc) they're measuring. Presumably, that'd be the size of the web app's web view itself, but possibly it could (in some contexts only?) have something to do with the size at which the icon is being displayed, or that sort of things. Probably not, but we should be explicit.

As for [forced colors](https://drafts.csswg.org/css-color-adjust-1/#forced), it comes from a OS / UA setting, so presumably, the OS/UA already knows how to apply it to any amount of web-app chrome that is outside of the web view itself, and for the content of the webview (or the impact on media queries), the spec existing spec should apply just fine as is.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/manifest/issues/975#issuecomment-853562686

Received on Thursday, 3 June 2021 05:00:06 UTC