Skip to content

Darkmode #138

May 24, 2023 · 1 comments · 4 replies
Discussion options

You must be logged in to vote

Hey @PatrickLaabs, I'm happy to hear you like the library! 😊

This isn't necessarily particular to this library, but something you can do in CSS directly. I often use TailwindCSS for this, which has built-in support for dark mode: https://tailwindcss.com/docs/dark-mode

With just gomponents, you would need some kind of state server-side and render different components based on that state.

Hope it helps!

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@PatrickLaabs
Comment options

@markuswustenberg
Comment options

@PatrickLaabs
Comment options

@markuswustenberg
Comment options

Answer selected by PatrickLaabs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants