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


I'd still like to consider aligning closely with:

https://drafts.csswg.org/mediaqueries-5/#mf-user-preferences


What about this:

```
"user-preferences" :  [
  {
    "prefers-color-scheme" :  "light",
     ... values....
  }, {
    "prefers-color-scheme" :  "dark",
     ... values....
  }, {
    "forced-colors": "active",
  }
], 
```

Pros: 
  * not a MQ (but can be covered into one easily!)
  * Shares the MQ5 names and values
  * works with `ImageResource` too.

Cons: 
  * Well, I can't think of any 😂

WDYT?  


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

Received on Thursday, 10 June 2021 06:05:41 UTC