docs
docs copied to clipboard
Third party icons generation is broken
When generating a new icon set from the SVG file icons is broken.
To reproduce:
- Download SVG from: https://www.svgrepo.com/svg/171799/pdf-file-format-symbol
- Generate icon set from documentation https://vaadin.com/docs/latest/components/icons
I expected that icon should be loaded into the page but right now Vaadin shows a blank icon.
SVG data is there but it is broken:
Thanks for reporting! The generator is perhaps a bit too naive how it handles the files you upload (simply copies the whole file string content to a new SVG element definition).
I recall testing it with FontAwesome SVG files, and those worked as expected. Perhaps by comparing them to this SVG file gives a hint why it doesn't work.
@jouni Here is 1 more good source of SVGs https://github.com/hampusborgos/country-flags/tree/main/svg
I have tried to generate icons but some flags do not work for me.