You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using staticCSS in combination with [slot]Recipes on the buildinfo workflow, no values are assigned into the JSON file, so no CSS is generated.
I understand that slotRecipes are calculated JIT, so if they do not appear in the files mapped by include: [] in config, they will not get pushed into the generated files, however, I thought that staticCSS solved these issues?
The stackblitz shows that this does work when generating a the raw CSS file, does this functionality not also work for the buildinfo workflow?
We're using PandaCSS for a component library, so we cannot use cva (which I understand would solve these issues natively) as we need to be able to use responsive variants, meaning we must rely on [slot]Recipes, and we cannot just ship a static CSS file as we need our consumers to be able to change theme values.
Description
When using
staticCSS
in combination with[slot]Recipes
on thebuildinfo
workflow, no values are assigned into the JSON file, so no CSS is generated.I understand that
slotRecipes
are calculated JIT, so if they do not appear in the files mapped byinclude: []
in config, they will not get pushed into the generated files, however, I thought thatstaticCSS
solved these issues?The stackblitz shows that this does work when generating a the raw CSS file, does this functionality not also work for the
buildinfo
workflow?We're using PandaCSS for a component library, so we cannot use
cva
(which I understand would solve these issues natively) as we need to be able to use responsive variants, meaning we must rely on[slot]Recipes
, and we cannot just ship a static CSS file as we need our consumers to be able to change theme values.Link to Reproduction
https://stackblitz.com/edit/vitejs-vite-xkdk1y
Steps to reproduce
No response
JS Framework
TS
Panda CSS Version
0.48.0
Browser
No response
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: