[@astrojs/tailwind] Cannot use custom animations defined by extending tailwind.config.cjs #5030
Labels
- P4: important
Violate documented behavior or significantly impacts performance (priority)
What version of
astro
are you using?v1.4.6
Are you using an SSR adapter? If so, which one?
None
What package manager are you using?
npm
What operating system are you using?
Windows
Describe the Bug
When adding a new animation by extending the theme in tailwind.config.cjs as described in the tailwind documentation I am unable to get the example shown in the docs (wiggle) to work at all. Using the built in animations works just fine and the tailwind vs code plugin seems to find the new keyword and associated keyframes just fine. Copy pasting the same tailwind.config.cjs into the Tailwind Playground (and applying animate-wiggle to some element) shows it working just fine.
Recreated with the tailwind starter in gitpod before I read the issue template, I can recreate it in stackblitz if needed.
Link to Minimal Reproducible Example
https://gitpod.io#snapshot/41df471a-0ddf-4b48-b255-8d080df2aef5
Participation
The text was updated successfully, but these errors were encountered: