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

Extract keyframe name when followed by comma #17352

Merged
merged 2 commits into from
Mar 24, 2025
Merged

Conversation

philipp-spiess
Copy link
Member

@philipp-spiess philipp-spiess commented Mar 24, 2025

Fixes #17332

This PR ensures that keyframes are emitted even when they are referenced following a comma, e.g.:

@theme {
  --animate-test: 500ms both fade-in, 1000ms linear 500ms spin infinite;
                                 /* ^ */

  @keyframes fade-in {
    from {
      opacity: 0%;
    }
    to {
      opacity: 100%;
    }
  }
}

Test plan

Added a unit test to capture the issue from #17332

@philipp-spiess philipp-spiess requested a review from a team as a code owner March 24, 2025 11:06

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@philipp-spiess philipp-spiess merged commit e8715d0 into main Mar 24, 2025
6 checks passed
@philipp-spiess philipp-spiess deleted the fix/keyframe-emit branch March 24, 2025 11:25
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.

not all @keyframes included in generated output
2 participants