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

Support simple primitives for icon animation #8

Open
jbergstroem opened this issue Sep 22, 2016 · 3 comments
Open

Support simple primitives for icon animation #8

jbergstroem opened this issue Sep 22, 2016 · 3 comments

Comments

@jbergstroem
Copy link
Contributor

..would be pretty sweet to have an animated cog when compiling node, hey? 😄

@dfrankland
Copy link
Owner

So the icons in the tab are icon fonts, so the only way to do this would be to use simple CSS animations. There'd be no way to do animated cogs (multiple interleaved teethed cogs), unless we switch to gif or something else.

@jbergstroem
Copy link
Contributor Author

jbergstroem commented Sep 22, 2016

I was thinking of just using css animations but found no good way of adding an activeStyle per icon.

@jbergstroem
Copy link
Contributor Author

jbergstroem commented Sep 22, 2016

How about

config.tabIcons.mapActiveStyle: {
  'gcc': 'animation: spin1 2s linear;'
}

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