css invalid property value when define tokens #1017
-
Descriptiondefine "tokens" in panda.config (or config in playground) export const config = defineConfig({ I found css "invalid property key". Link to Reproductionhttps://play.panda-css.com/1vH08K6zOU Steps to reproducesee in playground. JS FrameworkReact Panda CSS Version0.6.0 BrowserMicrosoft Edge Version 114.0.1823.67, Google Chrome 114.0.5735.198 Operating System
Additional InformationNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey @tanangular, You should keep tokens within the Adding the token directly on the We'll do a better job explaining this in the docs. |
Beta Was this translation helpful? Give feedback.
Hey @tanangular,
You should keep tokens within the
theme.extend
keyword if you intend to extend the default theme tokens and add yours.Adding the token directly on the
theme
overrides all tokens.We'll do a better job explaining this in the docs.