Replies: 1 comment
-
Please add these css globals to the tokens you want to allow them in. theme: {
extend: {
tokens: {
colors: {
inherit: { value: 'inherit' },
initial: { value: 'initial' },
auto: { value: 'auto' },
},
},
},
}, It might feel inconvenient but puts you in better control of how you want to control the strictness |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
When strict token mode is enabled, it prohibits the use of widely utilized values such as auto, inherit, and initial. This restriction hampers the flexibility of the strict mode, as these values are essential for various design scenarios and are integral to the cascade and inheritance mechanisms of CSS.
Link to Reproduction
https://stackblitz.com/edit/vitejs-vite-lfwyue?file=src%2FApp.tsx&terminal=dev
Steps to reproduce
JS Framework
No response
Panda CSS Version
0.41.0
Browser
No response
Operating System
Additional Information
No response
Beta Was this translation helpful? Give feedback.
All reactions