bernaferrari / FigmaToCode

Generate responsive pages and apps on HTML, Tailwind, Flutter and SwiftUI.
https://www.figma.com/community/plugin/842128343887142055
GNU General Public License v3.0
3.58k stars 262 forks source link

Support tailwind version #59

Closed marikaross closed 2 years ago

bernaferrari commented 2 years ago

That looks great, but what is the tw prefix?

marikaross commented 2 years ago

Oh goodness 🤦‍♀️. This is a fork and I forgot to check my remote tracking branch - this work is definitely not meant for public consumption. We use an older version of tailwind and the changes I've made support the version(s) of tailwind that use the "tw-" prefix.

I'm going to close this PR, but let me know if any of this work (minus the custom colors) would be useful for public support for older tailwind versions - I'd be happy to contribute to that.