Skip to content

fix(styles): improve light theme contrast for semantic colors, diffs, and syntax highlighting#3372

Merged
esengine merged 2 commits into
esengine:main-v2from
CVEngineer66:fix/light-theme-contrast
Jun 7, 2026
Merged

fix(styles): improve light theme contrast for semantic colors, diffs, and syntax highlighting#3372
esengine merged 2 commits into
esengine:main-v2from
CVEngineer66:fix/light-theme-contrast

Conversation

@CVEngineer66
Copy link
Copy Markdown
Contributor

Override --ok/--warn/--err in light theme with V1 values (#15803d, #b45309, #dc2626) — previously inherited dark-theme values with insufficient contrast (1.8-2.8:1, now 4.2-6.5:1, WCAG AA).

Add light-theme --add-bg/--del-bg/--add-fg/--del-fg so diff markers are readable on white backgrounds instead of inheriting dark tones.

Add light-theme --hl-* syntax-highlight palette (GitHub-inspired) so code blocks in light mode are legible instead of displaying dark-mode neon colors on white.

Detach .hljs-addition from --hl-string and add .hljs-deletion — both now use --add-fg/--del-fg respectively so diff inline changes match the diff-gutter color.

… and syntax highlighting

- Override --ok/--warn/--err in light theme with V1 values (#15803d,
  #b45309, #dc2626) — previously inherited dark-theme values with
  insufficient contrast (1.8-2.8:1, now 4.2-6.5:1, WCAG AA).
- Add light-theme --add-bg/--del-bg/--add-fg/--del-fg so diff markers
  are readable on white backgrounds instead of inheriting dark tones.
- Add light-theme --hl-* syntax-highlight palette (GitHub-inspired) so
  code blocks in light mode are legible instead of displaying dark-mode
  neon colors on white.
- Detach .hljs-addition from --hl-string and add .hljs-deletion —
  both now use --add-fg/--del-fg respectively so diff inline changes
  match the diff-gutter color.
- Add REASONIX_DEV=1 to the dev script.
@github-actions github-actions Bot added desktop Wails desktop app (desktop/**) v2 Go rewrite (1.x) — main-v2 branch, active development labels Jun 6, 2026
ListBranches sorts by CreatedAt then ID, but Windows filesystem timestamp
resolution is too coarse — two files created rapidly share the same timestamp,
so the ID tiebreaker (child < root) puts child first. Replace positional
assertions with ID-based lookups.
@github-actions github-actions Bot added the agent Core agent loop (internal/agent, internal/control) label Jun 6, 2026
@esengine esengine merged commit fd8e1c4 into esengine:main-v2 Jun 7, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent Core agent loop (internal/agent, internal/control) desktop Wails desktop app (desktop/**) v2 Go rewrite (1.x) — main-v2 branch, active development

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants