zlacker

[parent] [thread] 5 comments
1. yewenj+(OP)[view] [source] 2023-06-21 16:51:47
I hate when figma just always gives me CSS for absolute positioning. Is there any way around that?
replies(2): >>replyg+L1 >>emilsj+k6
2. replyg+L1[view] [source] 2023-06-21 16:58:48
>>yewenj+(OP)
Supposedly the codegen is more useful now, erring on the side of using flex
3. emilsj+k6[view] [source] 2023-06-21 17:17:10
>>yewenj+(OP)
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 :)

replies(1): >>jt_b+rF1
◧◩
4. jt_b+rF1[view] [source] [discussion] 2023-06-22 02:48:44
>>emilsj+k6
An option for TailwindCSS classes would be really clean too.
replies(2): >>andrub+Yi2 >>luyuan+WS4
◧◩◪
5. andrub+Yi2[view] [source] [discussion] 2023-06-22 09:58:20
>>jt_b+rF1
Yes! Absolutely. I've been looking for best practices around Figma + Tailwind.
◧◩◪
6. luyuan+WS4[view] [source] [discussion] 2023-06-22 22:11:17
>>jt_b+rF1
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...

[go to top]