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

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

Open nicolas-cherel opened 5 months ago

nicolas-cherel commented 5 months ago

• 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.

davestewart commented 4 months ago

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