7 Comments
User's avatar
Tom's avatar

Have you encounter an issue that the content of some SVG changed after fetch through REST API but designer never change them?

Expand full comment
Josh Cusick's avatar

I have not, are you seeing this issue with the script?

Expand full comment
Tom's avatar

Yes, I can see the SVG content changed but the icon's appearance keep same

Expand full comment
Josh Cusick's avatar

We are not modifying the SVG's DOM - we simply locate the image URL and download that SVG from Figma.

Expand full comment
Josh Cusick's avatar

Can you log this under issues in GitHub? https://github.com/jcusick93/figma-icon-getter/issues

Expand full comment
Darian Rosebrook's avatar

This is an issue directly from figma. Svgs will render slightly differently every time something on the canvas changes. Location, file size, an update in figma. This will always cause an issue until figma changes this behavior

Expand full comment
Josh Cusick's avatar

Thanks for the call out! Has anyone flagged this to Figma?

Expand full comment