Theme customization with custom root doesn't work with DaisyUI v5 #3944
Unanswered
Dm1Korneev
asked this question in
Q&A
Replies: 1 comment
-
Yes, To make it work as expected, you can do something like: #test {
--color-primary: blue;
} https://play.tailwindcss.com/73r0OovNAU?file=css Let me know if you have a question. |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Demo: https://play.tailwindcss.com/lzRo98rs2W?file=css
I am trying to reassign primary color while using custom root id
Looks like it doesn't work properly as custom value assigned to ":root" and not to my custom root element so later it was overridden with default color. See demo.
How I can handle it?
Beta Was this translation helpful? Give feedback.
All reactions