How we used Figma's REST API to supercharge our icon workflow
Have you encounter an issue that the content of some SVG changed after fetch through REST API but designer never change them?
I have not, are you seeing this issue with the script?
Yes, I can see the SVG content changed but the icon's appearance keep same
We are not modifying the SVG's DOM - we simply locate the image URL and download that SVG from Figma.
Can you log this under issues in GitHub? https://github.com/jcusick93/figma-icon-getter/issues
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
Thanks for the call out! Has anyone flagged this to Figma?
Have you encounter an issue that the content of some SVG changed after fetch through REST API but designer never change them?
I have not, are you seeing this issue with the script?
Yes, I can see the SVG content changed but the icon's appearance keep same
We are not modifying the SVG's DOM - we simply locate the image URL and download that SVG from Figma.
Can you log this under issues in GitHub? https://github.com/jcusick93/figma-icon-getter/issues
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
Thanks for the call out! Has anyone flagged this to Figma?