Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Component previews on dark mode don't switch #1125

Closed
zoltanszogyenyi opened this issue Oct 12, 2023 · 0 comments · Fixed by #1195
Closed

Component previews on dark mode don't switch #1125

zoltanszogyenyi opened this issue Oct 12, 2023 · 0 comments · Fixed by #1195
Assignees
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@zoltanszogyenyi
Copy link
Member

Describe the bug

When dark mode is enabled globally the component previews are still light mode. I think that this worked beforehand so I believe something broke in the meantime.

Reproduction

I click on the switch to dark mode on the main navbar and then the layout switches correctly, but the component previews are still light -> they should also change.

Screenshot 2023-10-12 at 10 42 59

Flowbite version and System Info

System:
    OS: macOS 13.4.1
    CPU: (12) x64 Intel(R) Core(TM) i5-10600 CPU @ 3.30GHz
    Memory: 30.45 GB / 72.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.13.0 - ~/.nvm/versions/node/v18.13.0/bin/node
    Yarn: 1.22.19 - ~/.nvm/versions/node/v18.13.0/bin/yarn
    npm: 8.19.3 - ~/.nvm/versions/node/v18.13.0/bin/npm
  Browsers:
    Chrome: 118.0.5993.70
    Firefox: 115.0.2
    Safari: 16.5.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants