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

Animated icons #52

Open
bttomio opened this issue Feb 16, 2021 · 2 comments
Open

Animated icons #52

bttomio opened this issue Feb 16, 2021 · 2 comments

Comments

@bttomio
Copy link

bttomio commented Feb 16, 2021

In the previous version, we could set animate = spin as a new style for the icon. Is this still possible?

Here is my code:
icon_style(fontawesome("cog", style = "solid"), size = 1, animate = "spin", color = "white")

Thanks a lot for your package!

@mitchelloharawild
Copy link
Owner

Thanks for your kind words. Animations are no longer included in the package, but can be added directly using CSS. I hope that I (or someone else) will create a package dedicated to CSS animations which should work seamlessly with the outputs of this package.

Pinging @emitanaka as this directly relates to https://github.com/emitanaka/anicon/ - would you like to work on https://github.com/mitchelloharawild/animate with me? The plan is to wrap https://github.com/animate-css/animate.css/ and potentially other popular animation libraries for easy use in R Markdown (and hopefully also xaringan slides).

@mitchelloharawild mitchelloharawild changed the title Animate = spin Animated icons Mar 2, 2021
@bttomio
Copy link
Author

bttomio commented Mar 4, 2021

Thank you very much for your reply, @mitchelloharawild!

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

No branches or pull requests

2 participants