primefaces / primefaces/primereact

Dark Mode switches back to light mode on documentation website

Open
#8,543 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Status: Needs Triage
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.