Open
Description
Description
When I generate panda CSS in a project that uses a mix of emotion css functions and panda css functions, I expect it to only use the panda css styles, but it also picks up emotion css styles.
Link to Reproduction
https://play.panda-css.com/S0BSaf1PHV
Steps to reproduce
- Open the playground, and the "CSS output" tab at the bottom
- Notice that width: '123px' is only used in a non-panda css function, but it is getting added to the CSS output.
JS Framework
No response
Panda CSS Version
0.51.1
Browser
No response
Operating System
- macOS
- Windows
- Linux
Additional Information
CVA works as expected, so I'm hopeful it is possible to do this how I expect.
I believe isRawFn
is the culprit because it returns true if the name === 'css' regardless of the import.
Metadata
Metadata
Assignees
Labels
No labels