Skip to content

Fix dark theme regressions from the Forge Midnight recolor - #112

Merged
github-actions[bot] merged 1 commit into
mainfrom
fix/dark-theme-ci-regressions
Aug 1, 2026
Merged

Fix dark theme regressions from the Forge Midnight recolor#112
github-actions[bot] merged 1 commit into
mainfrom
fix/dark-theme-ci-regressions

Conversation

@mohitranka

Copy link
Copy Markdown
Contributor

Summary

  • 37e4292 ("Update the dark theme") broke CI on main: accent and user_gutter_active collapsed to the same sage color, dim text on panel_alt dropped below WCAG AA contrast (4.36:1), and three tests still asserted hex literals from the pre-recolor palette.
  • Gave user_gutter_active its own lighter tint (#A3C7BC) so it stays visually distinct from the submitted-message accent color.
  • Brightened text_muted (#8A877D#908D83) so dim on panel_alt clears 4.5:1 contrast.
  • Updated the three stale test literals (background snapshot, drop-in override target, broken-toml corruption target) to track the new palette values.

Test plan

  • cargo test -p forge-tui --lib theme — all theme tests pass
  • cargo test -p forge-tui --lib — full crate suite, 670 passed
  • cargo fmt --check -p forge-tui — clean

The recolor in 37e4292 set accent and user_gutter_active to the same
value, broke a WCAG AA contrast check for dim text on raised surfaces,
and left three tests asserting stale hex literals from the old palette.

- Give user_gutter_active its own lighter tint so it stays visually
  distinct from the submitted-message accent color.
- Brighten text_muted slightly so dim-on-panel_alt clears 4.5:1 contrast.
- Update test literals (background snapshot, drop-in override target,
  broken-toml corruption target) to track the new palette.
@github-actions
github-actions Bot enabled auto-merge (squash) August 1, 2026 10:38
@github-actions
github-actions Bot merged commit 84df81c into main Aug 1, 2026
6 checks passed
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