Replies: 3 comments 3 replies
-
@rudeayelo I'm not sure I understand what you mean. |
Beta Was this translation helpful? Give feedback.
-
Here's an idea: would it be possible to include the information in |
Beta Was this translation helpful? Give feedback.
-
i'd like this included as a feature as well -- even though keyframes are global CSS, it makes a lot of sense to have these styles colocated with the component it's exclusive to, especially since both stitches and styled components had APIs for this. I would imagine this looks like the ability to define an animation outside of the config file, or to be able to define it as part of a CVA or SVA |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I'm developing a component library using workspaces in a monorepo structure, the tree looks pretty standard
The problem I'm finding is that
keyframes
are supposed to be specified in thepanda.config.ts
file, but I want to keep some animations scoped to a singular package. If I put thekeyframes
definition in thecomponent
'spanda.config.ts
, the generatedkeyframes.css
doesn't make it to theapp-using-preset-and-component
.To make it work, I have to add the
keyframes
definition in the app that's consuming the components using the animation, which definitely breaks separation of concerns.Is there anything I can do to define the
keyframes
from the scoped package?Beta Was this translation helpful? Give feedback.
All reactions