Repository navigation
fix: keep theme backgrounds solid under terminal opacity; add transparency toggle - #15
Merged
Merged
Conversation
…rency toggle kitty and similar terminals apply their background opacity to every cell whose color equals the terminal's default background. Tide set that default (OSC 11) to the theme background, which it paints every cell in, so with opacity configured the whole UI looked see-through. Set the default one step off the theme color instead, via tideui.TerminalDefaultBg, at startup and on every theme change. Settings > Display > Panes > Transparent background (display.transparent) sets the exact theme color and rewrites theme-background cells to the default background (tideui.TransparentBackground), so the terminal's opacity shows through while selected rows and dialogs stay solid. Ported from TideMail 948785d. Needs allisonhere/tideui#3; go.mod pins its commit until that is tagged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
It is a theme-level choice, so it sits in Appearance right below the theme selector instead of at the end of Panes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
allisonhere/tideui#3 is merged (4ef89a3); pin that commit instead of the deleted PR branch. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
With background opacity set in kitty, Ghostty and similar terminals, all of Tide looked see-through. Those terminals make every cell whose color equals the default background transparent, and Tide set that default (OSC 11) to the theme background it paints everywhere.
tideui.TerminalDefaultBg), at startup and on every theme change (settings preview and save, theme picker, Omarchy theme follow). It's invisible to the eye, and every cell stays opaque.display.transparent, off by default). It sets the exact theme color and rewrites theme-background cells to SGR 49 (tideui.TransparentBackground), so the terminal's opacity shows through. Selected rows and dialogs stay solid.View(); the setting round-trips through Settings.Ported from TideMail 948785d (shipped in TideMail v1.9.0).
Uses allisonhere/tideui#3, merged as 4ef89a3;
go.modpins that commit on tideui main (no tag).🤖 Generated with Claude Code