Fix: Resolve some issues with PWA icons #1

closed
opened by vielle.dev targeting main

This PR halfs the size of the PWA icons so they match the size that they should be (based on file name and manifest) and makes the icons maskable. Making the icons maskable removes the akward orange border which can appear around the icons, by trimming the icon to up to a 40% radius centered circle ((more info on maskable icons here)[https://web.dev/articles/maskable-icon])

I've checked that the icon fits within the maskable region so this should all be fine ^^

Changed files
+2
src
+2
src/webapp/app/manifest.ts
···
src: '/semble-icon-192x192.png',
sizes: '192x192',
type: 'image/png',
+
purpose: 'maskable',
},
{
src: '/semble-icon-512x512.png',
sizes: '512x512',
type: 'image/png',
+
purpose: 'maskable',
},
],
};
src/webapp/public/semble-icon-192x192.png

This is a binary file and will not be displayed.

src/webapp/public/semble-icon-512x512.png

This is a binary file and will not be displayed.