FigmaToCode
FigmaToCode copied to clipboard
feat(tailwind colors): add exact colors, style, and color name
• 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.
Hey @nicolas-cherel - you might want to look at two recently-merged PRs which will affect your code:
- #109
- #110 (also modifies how colors are picked)
Thanks for your contribution! Similar ones have been merged, and people love this feature!