Skip to content

Improve light mode readability: palette rendering, selection, text contrast - #12

Merged
scokeepa merged 1 commit into
masterfrom
fix/light-readability-palette
Apr 14, 2026
Merged

Improve light mode readability: palette rendering, selection, text contrast#12
scokeepa merged 1 commit into
masterfrom
fix/light-readability-palette

Conversation

@scokeepa

Copy link
Copy Markdown
Owner

Summary

  • ANSI 0-15 colors now resolve through theme palette instead of hardcoded xterm defaults
  • Light palette matched to VS Code/Cursor with high contrast on white background
  • Yellow slots use dark gold instead of vivid yellow (PSReadLine highlight fix)
  • Selection: vivid blue #267ADB with auto white-text inversion
  • UI text darkened to #111111 for near-black readability

Test plan

  • Light mode: all terminal text readable on white background
  • PSReadLine input highlighting not eye-burning yellow
  • Mouse selection shows vivid blue highlight with white text
  • Dark mode: no regression

Made with Cursor

…ntrast, text darkness

- TerminalColor.PaletteIndex: preserves ANSI 0-15 index so renderer can
  resolve against current theme palette instead of hardcoded xterm defaults
- TerminalControl.ResolvePalette(): maps indexed colors to theme palette at render time
- Default Light palette: VS Code-matched colors with high contrast on white bg
  Yellow slots use dark gold (#795600/#806B00) instead of eye-burning vivid yellow
- Selection background: #267ADB (vivid blue) with auto white-text inversion
- ForegroundBrush: #111111 (near-black), ForegroundDimBrush: #555555
- SystemColors text keys: #111111 for maximum readability

Made-with: Cursor
@scokeepa
scokeepa merged commit b04c355 into master Apr 14, 2026
@scokeepa
scokeepa deleted the fix/light-readability-palette branch April 14, 2026 05:15
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