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.8k stars 303 forks source link

Simplify Tailwind implementation #110

Closed davestewart closed 4 months ago

davestewart commented 5 months ago

This PR simplifies the Tailwind config, code location and implementation.

It aims to:

Code

Main UI

CleanShot 2024-07-12 at 13 04 05

Plugin UI

CleanShot 2024-07-12 at 13 08 56

davestewart commented 4 months ago

@bernaferrari – this is now ready to go:

It's up to you what you name this PR as; could be:

bernaferrari commented 4 months ago

Either way the name is fine. Thanks for all the help!

davestewart commented 4 months ago

Great! OK, now to move on with the flex wrap stuff

davestewart commented 4 months ago

@bernaferrari

Looks like I introduced a bug with the de-duping of colors for non-Tailwind platforms:

CleanShot 2024-07-12 at 13 28 44

Let me take a look now.