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

Add keyframes as utilities instead of base #2108

Merged
merged 1 commit into from
Aug 2, 2020

Conversation

adamwathan
Copy link
Member

@adamwathan adamwathan commented Aug 2, 2020

This PR updates the animation plugin to add the keyframes rules to the "utilities" layer rather than the "base" layer. Sounds a little bit weird until you realize that doing it any other way means you need @tailwind base in your CSS for animations to work, which feels wrong. You should be able to use our animations using just the "utilities" layer.

Fixes #2103.

@adamwathan adamwathan merged commit 911afff into master Aug 2, 2020
@adamwathan adamwathan deleted the add-keyframes-as-utilities branch August 2, 2020 12:15
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

Successfully merging this pull request may close these issues.

missing Keyframe css for animations if @tailwind base is missing
1 participant