Cannot seem to get theming working?
Unanswered
Ghost ant posted this in #help-forum
Ghost antOP
So I'm following the shadcn theming/dark mode tutorial to add these components to my site, and for whatever reason I can't get it working?
https://ui.shadcn.com/docs/dark-mode/next
Either I import my "globals.css" into the layout component and the shadcn designs look as-intended (but the background colour isn't set to the current theme correctly), or I don't import "globals.css" and the component colours respond as expcted to theme changes, but all of the other shadcdn styling doesn't seem to work anymore?
https://ui.shadcn.com/docs/dark-mode/next
Either I import my "globals.css" into the layout component and the shadcn designs look as-intended (but the background colour isn't set to the current theme correctly), or I don't import "globals.css" and the component colours respond as expcted to theme changes, but all of the other shadcdn styling doesn't seem to work anymore?
5 Replies
Ghost antOP
I'm one more hour of smashing my head against my keyboard away from just deleting my whole project.
Ghost antOP
Okay I’m deleting my whole project and using a different technology. I’m not spending more than a whole day trying to get a basic project template working.
So much boilerplate nonsense that’s fragile and doesn’t show useful errors