Skip to content

Conversation

@miraclehen
Copy link
Contributor

Make svgOptions optional with defaults in getImages and adjust pixelRound to 1 decimal place

  • Modified getImages to make svgOptions optional with defaults (outlineText: true, includeId: false, simplifyStroke: true) to align with Figma's optional parameters and improve caller flexibility.
  • Updated pixelRound to round to 1 decimal place instead of 2 for cleaner integer results in generated code, matching Figma's pixel value patterns.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant