Prevent duplicate keyframes when adding components (#8993)

* fix: prevent duplicate keyframes when adding components

- Check for existing keyframes in @theme inline before adding
- Replace existing keyframes instead of creating duplicates
- Add test to verify keyframe replacement behavior

* chore: changeset

---------

Co-authored-by: shadcn <m@shadcn.com>
This commit is contained in:
Pasquale Vitiello
2025-12-09 10:01:34 +01:00
committed by GitHub
parent bdedce2750
commit 142cd8ef13
3 changed files with 62 additions and 6 deletions

View File

@@ -0,0 +1,5 @@
---
"shadcn": patch
---
Prevent duplicate keyframes when adding components