Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add linear gradient support #7

Merged
merged 12 commits into from Jun 20, 2023
Merged

Add linear gradient support #7

merged 12 commits into from Jun 20, 2023

Conversation

lzell
Copy link
Owner

@lzell lzell commented Jun 20, 2023

  • Linear gradient paints saved in Figma as local styles are parsed into a NamedGradient model
  • NamedGradient models are emittable to SwiftUI
  • Run tests with npm run test

Gradients defined in Figma:
Screenshot 2023-06-20 at 09 21 03

And code generated SwiftUI gradients:
Screenshot 2023-06-20 at 09 21 11

@lzell lzell merged commit 8e48846 into main Jun 20, 2023
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.

None yet

1 participant