icons icon indicating copy to clipboard operation
icons copied to clipboard

Animated icons

Open bttomio opened this issue 3 years ago • 2 comments

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!

bttomio avatar Feb 16 '21 15:02 bttomio

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 avatar Mar 02 '21 13:03 mitchelloharawild

Thank you very much for your reply, @mitchelloharawild!

bttomio avatar Mar 04 '21 19:03 bttomio