Defining hash: true in config breaks recipe #2512
-
|
I defined a button recipe: What works well, it also styles each button in my app with |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
|
@Gytjarek Could you create a reproduction with play.panda-css.com |
Beta Was this translation helpful? Give feedback.
-
@anubra266 yes, created one: https://play.panda-css.com/Aj_Ylka4zi, so, if you go to the panda config and set |
Beta Was this translation helpful? Give feedback.

This is not a bug. You should not be hardcoding the className; instead, use the
buttonfunction. When hash: true is set, the class name of the button is no longer "button" but rather a generated hash of that className.https://play.panda-css.com/Aj_Ylka4zi/oTFJida6lo