- From: Marcos Cáceres <notifications@github.com>
- Date: Tue, 01 Jun 2021 23:48:01 -0700
- To: w3c/manifest <manifest@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 2 June 2021 06:49:02 UTC
@tomayac wrote:
> There's some duplication with the "shortcuts", but I think it's tolerable
I'm not liking the duplication of shortcuts, TBH. I wonder if we can do better there... it looks like image resources should sprout at `media` member?
```JSON
{"shortcuts": [
{
"name": "Play",
"short_name": "Play",
"description": "Play the list of podcasts",
"url": "/play?utm_source=homescreen",
"icons": [
{
"media": "(prefers-color-scheme: light)",
"src": "/icons/play-light.png",
"sizes": "192x192"
},
{
"media": "(prefers-color-scheme: dark)",
"src": "/icons/play-dark.png",
"sizes": "192x192"
}
]
}
]}
```
--
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-852784905
Received on Wednesday, 2 June 2021 06:49:02 UTC