FigmaToCode icon indicating copy to clipboard operation
FigmaToCode copied to clipboard

feat(tailwind colors): add exact colors, style, and color name

Open nicolas-cherel opened this issue 1 year ago • 1 comments

• now supports styles, if a style is used for a figma node, its styles take precedence on node fills. (probably need factorization for other frameworks) • add a setting to only allow named color for exact matches with tailwind • use figma name, either alias or style for colors. Those colors need to be added to tailwind configuration.

nicolas-cherel avatar Jun 12 '24 14:06 nicolas-cherel

Hey @nicolas-cherel - you might want to look at two recently-merged PRs which will affect your code:

davestewart avatar Jul 12 '24 12:07 davestewart

Thanks for your contribution! Similar ones have been merged, and people love this feature!

bernaferrari avatar Mar 08 '25 02:03 bernaferrari