primefaces / primefaces/primereact
Dark Mode switches back to light mode on documentation website
Nobody has claimed this yet.
- Dominant language
- CSS
- Stars
- 8.3k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
The Dark Mode switches back to light mode on the PrimeReact documentation website, whenever you navigate to main landing page or use the search bar functionality.
Reproducer
No response
System Information
System: Windows 11
Browser: Chrome v149
Steps to reproduce the behavior
See video below:
https://github.com/user-attachments/assets/cdc95195-ac77-4ebf-a0f8-86e3bbea0712
Expected behavior
The dark mode should stay dark mode until toggled back to light.
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 issue on the documentation website in Chrome on Windows 11, then trace the landing-page navigation and search-bar behavior that resets the theme. Confirm the existing dark-mode state handling and verify that dark mode remains active across both actions until the user toggles it back.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css, react
- Domain
- documentation, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100