How to use ShadCN dark mode, if youre using JSX instead of tsx?
Answered
Torymid wasp posted this in #help-forum
Torymid waspOP
Title
5 Replies
@Torymid wasp Title
you can add a
dark to your elements to use it@B33fb0n3 you can add a dark to your elements to use it
Torymid waspOP
so like this? It doesnt work
<Toaster dark/>
<Toaster dark/>
@Torymid wasp so like this? It doesnt work
<Toaster dark/>
oh sorry my bad. More like <p className="dark">Some text</p>
Answer
@B33fb0n3 oh sorry my bad. More like <p className="dark">Some text</p>
Torymid waspOP
thanks man
happy to help