Skip to content

How can I use a JavaScript variable in css #2602

Answered by astahmer
uhuikim asked this question in Q&A
Discussion options

You must be logged in to vote

that can't be done in your app code due to the way Panda works (using static analysis, looking at each file in isolation without resolving import values); but it can be done in your panda.config (there is no static limitations there)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@uhuikim
Comment options

Answer selected by uhuikim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants