fix(frontend): use opaque background icons for PWA install

The manifest's largest, maskable icon (ms-icon-310x310) was transparent,
so installing the PWA produced a transparent app icon. Generate opaque
192/512 "any" + maskable icons from favicon-bg.png (solid #524B6B
background, maskable variants padded into the inner 80% safe zone) and
point the manifest at them instead of the transparent ms-icon entry.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-16 10:39:41 +03:00
parent 70d12615b8
commit da4ce37aff
5 changed files with 14 additions and 7 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

+14 -7
View File
@@ -35,21 +35,28 @@
"type": "image/png" "type": "image/png"
}, },
{ {
"src": "/images/android-icon-192x192.png", "src": "/images/pwa-192x192.png",
"sizes": "192x192", "sizes": "192x192",
"type": "image/png", "type": "image/png",
"purpose": "any" "purpose": "any"
}, },
{ {
"src": "/images/apple-icon-180x180.png", "src": "/images/pwa-512x512.png",
"sizes": "180x180", "sizes": "512x512",
"type": "image/png" "type": "image/png",
"purpose": "any"
}, },
{ {
"src": "/images/ms-icon-310x310.png", "src": "/images/pwa-maskable-192x192.png",
"sizes": "310x310", "sizes": "192x192",
"type": "image/png", "type": "image/png",
"purpose": "any maskable" "purpose": "maskable"
},
{
"src": "/images/pwa-maskable-512x512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "maskable"
} }
] ]
} }