dooboolab-community/dooboo-ui

[FR] Apply and detect dark mode in storybook

hyochan opened this issue · 1 comments

Is your feature request related to a problem? Please describe.
In our docs, we provide each Dark and Light theme separately to show how they look different.
However, this document does not look natural because, in every doc, two different theme components are shown which makes user hard to read.

For example, in our doc
Screenshot 2023-02-06 at 10 37 42 AM

We don't want to copy and paste the same components to show dark mode components.

Describe the solution you'd like
Use the switch to toggle the theme and check out different styles. Maybe using storybook-dark-mode might help.

Describe alternatives you've considered
N/A

Additional Context
https://betterprogramming.pub/building-dark-mode-for-storybook-and-web-applications-99d3a0b76312

Closes via #246