News for hackers. Stuff that matters.
Re:Making Figma better for developers with Dev Mode by megaman821 on Wednesday June 21, 2023 @03:41PM (#36423325)
Is there some way to export Figma's local variables to a CSS custom properties?
Re:Making Figma better for developers with Dev Mode by actuallyakbar on Wednesday June 21, 2023 @04:12PM (#36423723)
Hey, 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) and export them with what you need!

Re:Making Figma better for developers with Dev Mode by chuckn0risk on Thursday June 22, 2023 @09:19AM (#36431729)
Hi 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.