[bug]: [registry item] cssVars.theme will not add the variables under "@theme" in globals.css #7119
Open
2 tasks done
Labels
bug
Something isn't working
Describe the bug
I am writing a custom JSON that should add css variables for tailwind v4
using the "$schema": "https://ui.shadcn.com/schema/registry-item.json",
I am able to add light and dark variables, so this validates the cli config, globals.css finding, etc.
but the variables I define under css.Vars.theme have no effect.
To be even ore precise, running a JSON that has light / dark varaibles will output
but runnig a json only with theme:
will output:
it looks like the code is not triggered
Affected component/components
cli > add
How to reproduce
i have the json in my /public folder
Codesandbox/StackBlitz link
No response
Logs
System Info
MacOs packages installed are listed in the steps
Before submitting
The text was updated successfully, but these errors were encountered: