Description
When I try to define a CSS recipe using PandaCSS, I do not get errors when using invalid or inappropriate values for properties. For example, borderRadius accepts non-strict tokens and non-existing properties like xxxRadius does not give any error.
Link to Reproduction
https://play.panda-css.com/AdekKLOMx1
Steps to reproduce
- Import defineRecipe from PandaCSS.
- Define a new recipe using defineRecipe.
- In the recipe, use an unacceptable value (like a non-strict token) for a CSS property like borderRadius.
- Also try adding a non-existing CSS property.
- Confirm that no error appears.
JS Framework
React (TS)
Panda CSS Version
0.18.3
Browser
Google Chrome 119
Operating System
Additional Information
Recipe example:
defineRecipe({
className: "button",
base: {
color: "this.color.does.not.exist",
borderRadius: "asd",
xxxRadius: "dsa",
}
})
Description
When I try to define a CSS recipe using PandaCSS, I do not get errors when using invalid or inappropriate values for properties. For example, borderRadius accepts non-strict tokens and non-existing properties like xxxRadius does not give any error.
Link to Reproduction
https://play.panda-css.com/AdekKLOMx1
Steps to reproduce
JS Framework
React (TS)
Panda CSS Version
0.18.3
Browser
Google Chrome 119
Operating System
Additional Information
Recipe example: