Next.js Discord

Discord Forum

shadcn/ui color themes

Unanswered
American Crocodile posted this in #help-forum
Open in Discord
American CrocodileOP
do i remove the original :root and .dark from my css file and replace it with this

4 Replies

@American Crocodile do i remove the original :root and .dark from my css file and replace it with this
Chum salmon
I don't use shadcn but that sounds correct.
You can simply make a quick backup (comment out the current css) and paste that there.
Then try using shadcn ui component and see.
Exactly, just swap the old ones with the new ones and it should work correctly.
That simple if you’re already on Tailwind v4. If you’re on Tailwind v3 you need to do more than just that.
American CrocodileOP
thanks i got it