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

Ok, so concrete proposal is now `"media_overrides"`, whose member names are a valid  `<media-query-list>` production of Media Queries. For each declared property, the members are limited to:

 *  `theme_color`
 *  `background_color`

Rough processing:

For each "query" of get own property names "media_overrides": 
 1. If query is not a valid MQ, continue.
 2. Evaluate query. If media matches, use the property value (by re-processing it to make sure it's valid). 

That should provide the maximum flexibility. 

Thoughts? 

-- 
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-852014941

Received on Tuesday, 1 June 2021 10:30:11 UTC