Skip to content

fix(react): reflect system theme in toggle icon - #1013

Open
mgalore wants to merge 1 commit into
nodejs:mainfrom
mgalore:fix/903-theme-toggle-icon
Open

fix(react): reflect system theme in toggle icon#1013
mgalore wants to merge 1 commit into
nodejs:mainfrom
mgalore:fix/903-theme-toggle-icon

Conversation

@mgalore

@mgalore mgalore commented Aug 8, 2026

Copy link
Copy Markdown

Summary

  • render the light or dark icon when the saved preference is system
  • keep the icon synchronized with operating-system theme changes
  • add focused resolution coverage and a patch changeset

Fixes #903

Validation

  • npm test
  • node --run test:ci
  • node --run lint
  • node --run format:check

Signed-off-by: Jonathan Amponsah 82057176+mgalore@users.noreply.github.com

Signed-off-by: Jonathan Amponsah <82057176+mgalore@users.noreply.github.com>
@mgalore
mgalore requested a review from a team as a code owner August 8, 2026 06:17
@vercel

vercel Bot commented Aug 8, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
api-docs-tooling Ready Ready Preview Aug 8, 2026 6:18am

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

theme switcher initial state for icon is wrong

1 participant