-
-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
Hello and thank you for working on this!
I tried to use it in my webapp and decided that it was too limited for my use case, but I would like to mention my issues for you in case it can help you improve the package :)
This is just a quick write down. If I have misunderstood something, or you don't agree with it, feel free to ignore it. Also feel free to close this issue whenever you want.
- The web app manifest should also link to the original SVG. The SVG is the best logo to use if the client supports SVG.
- The original SVG logo should be minified using something like SVGO.
- The web app manifest should specify
purpose: "any"on images that are notmaskable. - The package should be able to generate
monochromeicons for the web app manifest. - When generating
maskableicons, you should be able to choose which background color is used (currently it is white). Apparently possible, but not documented. - IMO you don't need an
icofile in theminimal-2023preset when you can serve apngfile instead. It is very well supported. - You should be able to specify different icons for the
any,maskable, andmonochromepurposes. If you want your icon to look really well, you sometimes need to change it in a way that is incompatible with the other purposes. - The package should be integrated better with Vite. I don't want to manually add the manifest and HTML tags, I want it to either be completely automatic, or be implemented as virtual modules that return html which I can insert in the code. (being solved in #feat: add experimental PWA assets generation and injection vite-plugin-pwa#621)
- I don't want the generated images to be pasted into the same folder as the original logo. That folder is for source files, anything that is generated should be in a temporary folder, or should only be in the final build output. (being solved in #feat: add experimental PWA assets generation and injection vite-plugin-pwa#621)
- Consider adding a
minimal-standardpreset. I think Apple's approach to logos is really bad, they shouldn't need custom images when they can just read the images in the manifest. I would prefer a preset that does not have any images or tags which are custom designed only for a single company or device. - Generated icons have jagged edges #35
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels