Closed IsoPhoenix closed 4 months ago
I can confirm that the dark mode doesn't work for the card. It always shows for me in the light version. I don't know how the example works on the documentation page, but it definitely has some issues.
I can confirm that the dark mode doesn't work for the card. It always shows for me in the light version.
I don't know how the example works on the documentation page, but it definitely has some issues.
I just ended up using next theme and it works fine
+1
This issue has been automatically closed because it received no activity for a while. If you think it was closed by accident, please leave a comment. Thank you.
Hello! I am building a simple starter project using Tailwind and
shadcn-ui
components. I want the webapp to display dark mode/light mode depending on the system preference. My understanding from this documentation is that if I setdarkMode: "media"
intailwind.config.ts
, then the app will automatically detect the system preference of dark mode/light mode. However, despite this modification there is no effect in the webapp when switching dark/light mode on my OS.Am I missing some functionality here? All I've done is install
shadcn-ui
components with the CLI and use them to build a simple page layout (with some help from the examples in the documentation).The repo link is: https://github.com/hcs-t4sg/starter-project-2023-core
I'll also attach my config and global CSS files below.
Thank you!