3 ms·
Is there some way to export Figma's local variables to a CSS custom properties?
by megaman821 3y ago
Is there some way to export Figma's local variables to a CSS custom properties?
- actuallyakbar 3y agoHey, Akbar here (Dev Advocate for Figma) - variables are surfaced in CSS code snippets. If you're looking for something more custom, you can take advantage of our new Variables Plugin API beta (https://www.figma.com/plugin-docs/working-with-variables https://www.figma.com/plugin-docs/working-with-variables) and export them with what you need!
- chuckn0risk 3y agoHi Megan, Louis co-founder of Specify here. This is one of the reason we built Specify (specifyapp.com) which is a Design API that helps you sync design tokens and assets from Figma to any platforms and formats. Specify helps you get automated pull requests containing your design tokens and assets defined in Figma. You basically just have to configure Specify once, and every time designers update colors in Figma you'll get automated pull requests with colors transformed exactly how you want.