allow pre-evaluation of dynamic code for recipes #1332
-
so I'm using
is there a way where I can dynamically generate config for CVA or to ensure that all of these variants css is generated ? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
@abdelrhman-adel For something this complex, why not use a config recipe instead? |
Beta Was this translation helpful? Give feedback.
-
Seems that the only thing required to support evaluated functions is swapping the ts-evaluator env preset from panda/packages/parser/src/parser.ts Line 63 in bc3b077 Here's a test case for the parser:
|
Beta Was this translation helpful? Give feedback.
-
FYI, here's the above as a PR: #1333 |
Beta Was this translation helpful? Give feedback.
was merged here #1376 (comment)