Skip to content

Always show diff rail, dim inactive hunks#16

Merged
benvinegar merged 1 commit intomasterfrom
always-visible-diff-rail
Mar 21, 2026
Merged

Always show diff rail, dim inactive hunks#16
benvinegar merged 1 commit intomasterfrom
always-visible-diff-rail

Conversation

@benvinegar
Copy link
Member

Summary

  • The left-side rail () with semantic green/red/neutral colors now renders on every hunk row, serving as a permanent add/remove guide
  • Active hunk keeps full-brightness colors; inactive hunks use a dimmed version (35% blend toward panel background)
  • Split-view center separator is now always instead of switching between and

Test plan

  • bun run typecheck passes
  • bun test passes (1 pre-existing unrelated failure)
  • Smoke test: verify dimmed rail visible on inactive hunks, bright rail on active hunk
  • Verify across themes (midnight, graphite, paper, ember)

🤖 Generated with Claude Code

The left-side rail (▌) with green/red/neutral semantic colors now renders
on every hunk, not just the selected one. Inactive hunks use a dimmed
version of the same colors (35% blend toward panel background), while the
active hunk keeps full brightness — making the selected hunk obvious
without losing the add/remove guide on other hunks.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@benvinegar benvinegar merged commit 8cd74fc into master Mar 21, 2026
9 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