-
-
Notifications
You must be signed in to change notification settings - Fork 425
Add support for top-down gradient animation #264
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
Conversation
add gradientDirection prop which translates into a rotate transformation applied to the linearGradient SVG element. Providing the option to animate either from left to right or top to bottom. fix #255
hopefully this is what you were looking for @vlkpa |
@danilowoz are you able to review this before October ends? Thanks! |
Sorry for the later answer, it looks good to me! |
🎉 This PR is included in version 6.1.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
is there an option to rotate the background animation to 45 degrees? |
Not really. I tried to implement it first, but it turned out it was pretty challenging, and all animations looked inconsistent. But I'd encourage you to take a look at this, maybe a new pair of eyes might help it. |
Interesting, what about values like 90, -90, -45? |
Adding gradientDirection prop which translates into a rotate transformation applied to the
linearGradient SVG element. Providing the option to animate either from left to right or top to
bottom.
fix #255
Summary
This is related to #255. I was browsing for Hactoberfest tagged issues and this one seemed quite interesting. Plus, I love what you've created here, so I'm glad to contribute.
Related Issue #255
Any Breaking Changes
No breaking changes :)
Checklist
Demo