Is the NextJs dark mode example broken? #8105
Closed
matthiashermsen
started this conversation in
General
Replies: 1 comment
-
Sorry, I was missing the globals.css import ( |
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.
-
I'm using NextJs and followed this example
https://ui.shadcn.com/docs/dark-mode/next
but on my machine it looks like
I created a sandbox for reproduction
https://stackblitz.com/edit/stackblitz-starters-t8x3h8h3?file=components%2FModeToggle.tsx
Since the element "Toggle theme" is visible although it has the class
sr-only
I think something might be broken ( Tailwind config )Beta Was this translation helpful? Give feedback.
All reactions