Skip to content

fix: preserve transparent TUI diff row tints#510

Merged
benvinegar merged 2 commits into
modem-dev:mainfrom
sunanmau5:fix/transparent-tui-diff-tints
Jul 3, 2026
Merged

fix: preserve transparent TUI diff row tints#510
benvinegar merged 2 commits into
modem-dev:mainfrom
sunanmau5:fix/transparent-tui-diff-tints

Conversation

@sunanmau5

@sunanmau5 sunanmau5 commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

What

Transparent background mode in the interactive TUI currently also clears added/removed diff row backgrounds, which makes red/green row tinting disappear.

This makes the interactive TUI match the static pager behavior from #418: neutral surfaces become transparent, while added/removed diff rows stay tinted.

Note: I tested real Git locally. JJ/Sapling use the same normalized render path, but I do not have jj or sl installed locally for full smoke tests.

Demo

Note

I'm using catppucin-frappe in the demo below for the fg colors

Before After
Screenshot 2026-07-03 at 20 15 12 Screenshot 2026-07-03 at 20 13 47

@greptile-apps

greptile-apps Bot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

PR author is not in the allowed authors list.

@benvinegar benvinegar merged commit 916cd8a into modem-dev:main Jul 3, 2026
8 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.

2 participants