Skip to content

feat: add system-aware dark mode and complete localization - #62

Open
iamkunal9 wants to merge 3 commits into
router-for-me:mainfrom
iamkunal9:main
Open

feat: add system-aware dark mode and complete localization#62
iamkunal9 wants to merge 3 commits into
router-for-me:mainfrom
iamkunal9:main

Conversation

@iamkunal9

@iamkunal9 iamkunal9 commented Jul 23, 2026

Copy link
Copy Markdown

Summary

  • Add persisted System / Light / Dark theme selection.
  • Follow the operating system theme while System mode is selected.
  • Apply semantic light and dark color tokens across the UI.
  • Add translated theme labels for all supported locales.
  • Localize runtime status and error messages returned by the native backend.
  • Prevent raw Chinese backend errors from appearing in English, Japanese, or Traditional Chinese UI.
  • Use locale-aware translation fallbacks: Traditional Chinese falls back to Traditional Chinese, while Japanese and English fall back to English.
  • Add regression coverage for runtime message localization.

Verification

  • bun test scripts/runtimeText.test.ts
  • bun run check
  • bun run build
  • Manual browser smoke test for English, Traditional Chinese, Japanese, and Simplified Chinese switching.
  • Confirmed English mode renders no visible Chinese text on the initial UI.

@iamkunal9 iamkunal9 changed the title feat: add system-aware dark mode feat: add system-aware dark mode and complete localization Jul 24, 2026
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