panda css className concatenation does not result into generating specified style in layer.css #1798
Replies: 4 comments
-
*update
on the other side, if i manually input bg color magenta.100
Comparing to this, the project above which is linked to the successful project. The layout.css that has been built has all the classes that is defined with cva recipe. |
Beta Was this translation helpful? Give feedback.
-
i found the solution -_ -.. |
Beta Was this translation helpful? Give feedback.
-
adding style object (per say, {w: 'max-content'} )directly into css function result to successfully create a '.w_max-content' class and style in layer.css. But when its style is set passed via props leads to add the class in the DOM element but style does not apply because '.w_max-content' styling does not exist in layer.css file |
Beta Was this translation helpful? Give feedback.
-
hey, seems like there's a lot going on and I'm failing to understand what the remaining issue is can you make a minimal reproduction here and/or write a summary of what's left to fix ? |
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.
-
Description
Im using @shadow-panda for UI styling. Using the presets I created my own tokens and atomic recipe using cva
I was able to find the tokens that i defined in a system-styled/tokens/index.mjs which means i successfully codegen my configuration.
but the style does not seem to apply.
*update
: I was able to use atomic recipe until I removed node_modules and panda codegen. After clearing node_modules and re-generating codegen suddenly atomic recipe does not work
Link to Reproduction
link

this is a working directory and it shows that the same recipe is working as expected
Steps to reproduce
JS Framework
nextjs
Panda CSS Version
^0.19.0
Browser
No response
Operating System
Additional Information
No response
Beta Was this translation helpful? Give feedback.
All reactions