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
I would like to use @container style() for Conditions, but I ran into this problem.
The text was updated successfully, but these errors were encountered:
azu
changed the title
Mixed conditions in semanticTokens is not working as expected.
Mixed conditions in semanticTokens is not generated into CSS(@layer tokens)
Feb 12, 2025
Description
I have following panda config.
Actual
panda gengerate following css variables.
However,
_dark
condition is not generated.Expected
I expect to generate following css variables.
Link to Reproduction
https://github.com/azu/pandacss-nested-condition-bug
Steps to reproduce
git clone https://github.com/azu/pandacss-nested-condition-bug cd pandacss-nested-condition-bug pnpm install pnpm run dev
"panda config token condition"'s "Dark" is not reflected
"{colors.neutral.100}"
value.However, "inline token condition"'s "Dark" is reflected
_dark
condition.https://github.com/azu/pandacss-nested-condition-bug/blob/9c2220b35a1608ebdf70696095299eb499f7908d/src/app/page.tsx#L64-L71
JS Framework
React(TS)
Panda CSS Version
^0.53.0
Browser
Google Chrome
Operating System
Additional Information
I would like to use
@container style()
for Conditions, but I ran into this problem.The text was updated successfully, but these errors were encountered: