Comparing AdwaveInc:main...bernaferrari:main · AdwaveInc/FigmaToCode
Commits on Nov 28, 2025
-
[Feature] Implement twig component (bernaferrari#239)
* Add(tailwind): support for twig components * Support twig component content & embbed * Add(twig): handle content in component * Twig : simplify component name * Improvement(twig): handle twig attributes * Limit twig components attr to instances * Hide component properties starting with . or _ * Handle non twig components --------- Co-authored-by: Paule Herman <paule.herman@clickandboat.com>
Commits on Jan 3, 2026
-
Fix styled component inconsistent naming and missing component defini…
…tion (bernaferrari#246) * fix: inconsistent styled component variable name * fix: Add text wrapper definition by calling build * refactor: declare componentName in CSSCollection * refactor: remove unreachable conditionals * refactor: change first parameter of getComponentName to string * fix: change to assertion(!) * rollback: Rollback getComponentName * rollback: Rollback getComponentName to original * fix: add better fallback * fix: add fallback condition
Commits on Feb 4, 2026
-
fix: don't add opacity modifier for variable colors (bernaferrari#250)
When a color is from a Figma variable that already contains alpha, the output was incorrectly adding an opacity modifier like /50. For example, a variable 'myVar' defined as rgba(255,0,0,0.5) was generating 'bg-myVar/50' instead of just 'bg-myVar'. The fix skips the opacity modifier when colorType is 'variable' since the alpha is already baked into the variable definition. Adding the modifier would incorrectly compound the opacity. Fixes bernaferrari#232 Co-authored-by: Michael Golden <michael@wayframe.com>