Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: hirokith/FigmaToCode
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: bernaferrari/FigmaToCode
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 4 commits
  • 10 files changed
  • 5 contributors

Commits on Dec 23, 2025

  1. Configuration menu
    Copy the full SHA
    c2581aa View commit details
    Browse the repository at this point in the history

Commits on Jan 3, 2026

  1. Configuration menu
    Copy the full SHA
    88913c2 View commit details
    Browse the repository at this point in the history
  2. 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
    a3626a authored Jan 3, 2026
    Configuration menu
    Copy the full SHA
    6fcdcc3 View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2026

  1. 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>
    michaelgold3n and Michael Golden authored Feb 4, 2026
    Configuration menu
    Copy the full SHA
    3b77692 View commit details
    Browse the repository at this point in the history
Loading