- From: Miriam Suzanne <notifications@github.com>
- Date: Tue, 04 May 2021 15:02:49 -0700
- To: w3c/manifest <manifest@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 4 May 2021 22:03:01 UTC
That approach makes sense to me as well – although I might think of it as a default/shorthand, and longhand list of alternates, rather than new and legacy values. That would allow a simpler combination in the short term:
```
"theme_color": "red",
"theme_colors": [
{ "color": "darkred", "media": "(prefers-color-scheme: dark)" }
]
```
Authors could also choose to provide only the default:
```
"theme_color": "red",
```
Or (down the road) move to only using the longhand:
```
"theme_colors": [
{ "color": "red" },
{ "color": "darkred", "media": "(prefers-color-scheme: dark)" }
]
```
--
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-832279632
Received on Tuesday, 4 May 2021 22:03:01 UTC