Skip to content

fix: add dark mode support to macOS pkg installer#13

Merged
christiangda merged 1 commit intomainfrom
fix/installer-dark-mode-support
Mar 22, 2026
Merged

fix: add dark mode support to macOS pkg installer#13
christiangda merged 1 commit intomainfrom
fix/installer-dark-mode-support

Conversation

@christiangda
Copy link
Contributor

@christiangda christiangda commented Mar 22, 2026

Summary

  • Add @media (prefers-color-scheme: dark) styles to all three installer HTML pages (welcome, readme, license) so text, code blocks, tables, and links are readable in dark mode
  • Add <meta name="color-scheme" content="light dark"> to explicitly declare dual-scheme support, ensuring the WebView applies correct default backgrounds and adapts native UI elements
  • Light mode rendering is unchanged

Test plan

  • Build the .pkg installer and run it on macOS with light appearance — verify no visual regression
  • Switch to dark appearance and re-run the installer — verify all text, code blocks, tables, and links are readable
  • Check all three installer screens: Welcome, Read Me, and License

🤖 Generated with Claude Code

Text and code blocks were unreadable when macOS was set to dark mode
because all colors were hardcoded for light backgrounds. Add
prefers-color-scheme media queries and color-scheme meta tag to
welcome, readme, and license pages.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@christiangda christiangda self-assigned this Mar 22, 2026
@christiangda christiangda merged commit 79926bf into main Mar 22, 2026
8 checks passed
@christiangda christiangda deleted the fix/installer-dark-mode-support branch March 22, 2026 11:51
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