Skip to content

[v4] Color defined in custom property not changed in dark mode #18088

Answered by wongjn
AmProsius asked this question in Help
Discussion options

You must be logged in to vote

You'd use --primary directly, or if you really wanted to use the --color-primary token, you'd use --theme() instead of var(): https://play.tailwindcss.com/tsJImH3vo8

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by AmProsius
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants