menu
announcement

Spectrum is now read-only. Learn more about the decision in our official announcement.

Diez

Diez is the design language framework 🎨🏗📱💻 Easily adopt a unified design language across codebases, platforms, and teams.

Channels
Team

Figma SVG export

June 1, 2020 at 2:53pm

Figma SVG export

June 1, 2020 at 2:53pm
I noticed int the figma extractor code it is hardcoded to be png. If we want to use Figma to store our icons, it makes more sense to download them as svgs. Is there a reason why this isn't a configurable option?

June 1, 2020 at 3:09pm
There is a github issue to add SVG support, with work started on a pull request. I looked at working on it, however I need to learn more about Diez.
Right now I just export in SVG from Figma. There's a little button that does that. I found I later add props to my SVG so it's not something I want in a design framework. Colors and fonts and shadow you can put in your design framework. Those extract. Perhaps you can manually type in something for curve radius.
Edited