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

Export gradients #123

Open
ptxmac opened this issue Oct 13, 2021 · 1 comment
Open

Export gradients #123

ptxmac opened this issue Oct 13, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@ptxmac
Copy link
Contributor

ptxmac commented Oct 13, 2021

It would be really cool to be able to export gradients from figma.

Not sure how it could be done for Android, but for iOS it would require each color of the gradient to be saved separately, and then extensions on e.g. LinearGradient / Gradient for swiftui. (And something similar for UIKit)

@subdan subdan added the enhancement New feature or request label Oct 14, 2021
@ptxmac
Copy link
Contributor Author

ptxmac commented Oct 14, 2021

I made a very quick'n'drity experiment for this: ptxmac@6c14f08

it only supports swiftui, and I haven't tested dark mode or non-main bundle assets

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants