Skip to content

feat(rw): add dark theme support#17

Merged
yumike merged 3 commits into
mainfrom
feat/dark-theme-support
Mar 5, 2026
Merged

feat(rw): add dark theme support#17
yumike merged 3 commits into
mainfrom
feat/dark-theme-support

Conversation

@yumike
Copy link
Copy Markdown
Contributor

@yumike yumike commented Mar 5, 2026

Summary

  • Bump @rwdocs/viewer and @rwdocs/core to ^0.1.11 for dark theme support
  • Pass Backstage theme mode (light/dark) as colorScheme to mountRw() via MUI's useTheme() hook
  • Re-mount the viewer when the user toggles Backstage themes
  • Fix make test to run in non-watch mode and include frontend plugin tests

Test plan

  • All 19 tests pass (10 frontend + 9 backend)
  • Toggle Backstage dark/light theme — viewer should switch accordingly
  • Verify docs render correctly in both light and dark modes

🤖 Generated with Claude Code

yumike and others added 3 commits March 4, 2026 22:42
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Pass Backstage theme mode as colorScheme to mountRw().
Re-mounts the viewer when the user toggles themes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add --watchAll=false to prevent Jest from hanging in CI.
Add frontend plugin to the test target.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@yumike yumike merged commit 1b86338 into main Mar 5, 2026
1 check passed
@yumike yumike deleted the feat/dark-theme-support branch March 5, 2026 09:20
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.

1 participant