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

Half joking... we could apply them in order: 

```JSON
"background_color": "white",
"media_overrides": {
  "all": {
    "background_color": "green"
  },
  "(prefers-color-scheme: light)": {
    "background_color": "blue",
    "theme_color": "#000"
  }
}
```

Would: 
 1. always override `"background_color": "green",` 
 2. add `"theme_color": "#000"` iff `(prefers-color-scheme: light)`

🧐

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

Received on Tuesday, 1 June 2021 09:36:52 UTC