Grey icon for PWA

Summary:
Right now, both Launcher and PWA share the same icon.

As to make it easier to identify which one is which, PWA will have a greyed icon instead.

Reviewed By: antonk52

Differential Revision: D47436998

fbshipit-source-id: 69d4d273c35e327263fbbf02d4ac7a005013f1d9
This commit is contained in:
Lorenzo Blasa
2023-07-13 07:41:44 -07:00
committed by Facebook GitHub Bot
parent 2f617d5eab
commit a165d37ab3
3 changed files with 2 additions and 1 deletions

View File

@@ -228,6 +228,7 @@ async function copyStaticResources(outDir: string, versionNumber: string) {
'icon.icns', 'icon.icns',
'icon.ico', 'icon.ico',
'icon.png', 'icon.png',
'icon_grey.png',
'icons.json', 'icons.json',
'index.web.dev.html', 'index.web.dev.html',
'index.web.html', 'index.web.html',

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

View File

@@ -10,7 +10,7 @@
"orientation": "portrait-primary", "orientation": "portrait-primary",
"icons": [ "icons": [
{ {
"src": "/icon.png", "src": "/icon_grey.png",
"type": "image/png", "type": "image/png",
"sizes": "256x256" "sizes": "256x256"
} }