Re:Making Figma better for developers with Dev Mode
by yewenjie on Wednesday June 21, 2023 @12:51PM
(#36421045)
I hate when figma just always gives me CSS for absolute positioning. Is there any way around that?
[ Parent
| on HN ]
Re:Making Figma better for developers with Dev Mode
by emilsjolander on Wednesday June 21, 2023 @01:17PM
(#36421437)
Emil from Figma here! We have made a ton of improvements to the generated CSS code, and while we still sometimes provide absolute positioning we now separate it from the styling & flexbox code that you might actually want to pull into your codebase.
We've also introduced an API extension point so third parties can now provide their own implementation of code snippers (code generation) in Figma's Dev Mode which Anima and a few other partners have already released plugins for :)
Re:Making Figma better for developers with Dev Mode
by jt_b on Wednesday June 21, 2023 @10:48PM
(#36427458)
An option for TailwindCSS classes would be really clean too.
Re:Making Figma better for developers with Dev Mode
by andruby on Thursday June 22, 2023 @05:58AM
(#36429909)
Yes! Absolutely. I've been looking for best practices around Figma + Tailwind.
Re:Making Figma better for developers with Dev Mode
by luyuanxin1995 on Thursday June 22, 2023 @06:11PM
(#36439827)
Hello,
We developed an open source plugin that let you go from Figma to tailwindcss + react. Feel free to check it out
https://www.figma.com/community/plugin/1178847414663679049/B...