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

Animation keyframes in config are not supported #155

Open
jancbeck opened this issue Nov 6, 2024 · 1 comment
Open

Animation keyframes in config are not supported #155

jancbeck opened this issue Nov 6, 2024 · 1 comment
Labels
bug Something isn't working keep

Comments

@jancbeck
Copy link

jancbeck commented Nov 6, 2024

Describe the bug

Custom keyframes defined in tailwind.config.js are not included in the CSS output.

Your minimal, reproducible example

https://github.com/jancbeck/tailwindcss-themer-keyframes-issue/tree/keyframes-issue

Steps to reproduce

  1. clone repro repo, checkout keyframes-issue branch
  2. cd examples/create-react-app-typescript && npm i
  3. npm start view in browser

Expected behavior

The React logo should be animated since custom keyframes for App-logo-spin have been defined in the TW config

How often does this bug happen?

Every time

Screenshots or Videos

No response

Platform

  • OS: MacOS 15.1
  • Browser: Chrome (130.0.6723.71)

tailwindcss-themer version

v4.1.0

Additional context

Checkout the keyframes-default branch to see how it works in TW when not using this plugin
https://github.com/jancbeck/tailwindcss-themer-keyframes-issue/tree/keyframes-default

@jancbeck
Copy link
Author

jancbeck commented Nov 6, 2024

looks like not only are the keyframes in the theme not applied, but even when defining them in the normal extend object, they are no longer preserved while themer is installed
https://github.com/jancbeck/tailwindcss-themer-keyframes-issue/blob/keyframes-extend-ignored/examples/create-react-app-typescript/tailwind.config.js

@RyanClementsHax RyanClementsHax added bug Something isn't working keep labels Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working keep
Projects
None yet
Development

No branches or pull requests

2 participants