themesberg / themesberg/flowbite
Following the exact doc procedure to enable dark mode does not work
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 9.4k
- Forks
- 862
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
Hello, I am trying to implement dark mode exactly by following the procedure described in the documentation. This procedure is identical to the one in the youtube video Flowbite crash course in 20 minutes".
The thing is that even by following this line by line, at the end what i have is a toggle button that does not toggle the dark mode.
The dark mode however works when switching the dark mode in windows.
To Reproduce
Steps to reproduce the behavior:
- follow the exact procedure to enable dark mode
- flip the dark switch
- see that nothing happens
Expected behavior
The dark mode should show when toggling the switch.
Screenshots
see here, the switch changes, the theme doesn't
- Version 3.1.2
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the documented dark-mode procedure described in the issue with Flowbite 3.1.2, then compare the toggle behavior with the Windows theme switch. The work is done when the documented toggle changes the displayed theme as expected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- tailwindcss
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100