Darkmode #138
-
Hey everyone, I am just wondering, how can I either force to always have my website being shown in the "darkmode", or Like: Has anyone came across a solution to this? Best |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
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! |
Beta Was this translation helpful? Give feedback.
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!