- From: alancutter <notifications@github.com>
- Date: Tue, 01 Jun 2021 23:49:17 -0700
- To: w3c/manifest <manifest@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 2 June 2021 06:49:41 UTC
I don't think this key-value API surface is suitable:
```
"media_overrides": {
"(prefers-color-scheme: dark)": {
"theme_color": "#fff",
"background_color": "#000"
},
"(prefers-color-scheme: light)": {
"theme_color": "#000",
"background_color": "#fff"
}
}
```
JSON object properties aren't ordered (in the spec). It wouldn't be clear which one "wins" if there are overlaps.
--
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-852785711
Received on Wednesday, 2 June 2021 06:49:41 UTC