Replies: 1 comment
-
This use case is quite overloaded. I recommend streamlining your pattern or recipe design so it's easier to reason about. Keep a clear separation between your recipes and patterns. Ideally, patterns should be used for layout-related styles and recipes for designing component variants. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Hi, I am trying to implement a pattern and a recipe on the same component to achieve what the styled() function does with the benefits of jsx tracking + config definition however I noticed that the recipe styles no longer get generated when both the recipe and the pattern share the same jsx tracking.
The pattern styles get generated just fine, only the recipe ones stop working.
Link to Reproduction
https://play.panda-css.com/q73i_jIPvO
Steps to reproduce
buttonPattern
inpatterns
jsx
to let the recipe styles generateJS Framework
React (TS)
Panda CSS Version
0.54.0
Browser
No response
Operating System
Additional Information
No response
Beta Was this translation helpful? Give feedback.
All reactions