Skip to content

fix: keep theme backgrounds solid under terminal opacity; add transparency toggle - #15

Merged
allisonhere merged 3 commits into
mainfrom
fix/solid-terminal-background
Nov 8, 2026
Merged

allisonhere merged 3 commits into
mainfrom
fix/solid-terminal-background

Conversation

@allisonhere

@allisonhere allisonhere commented Nov 7, 2026 •

Copy link
Copy Markdown
Owner

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.

  • The default background is now set one step off the theme color (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.
  • New Settings → Display → Appearance → Transparent background (right under Theme) (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.
  • README, CHANGELOG (Unreleased), STATUS and the in-app help are updated.
  • Tests: no built-in theme sets its exact color in solid mode; transparent mode leaves no theme-background cells in 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.mod pins that commit on tideui main (no tag).

🤖 Generated with Claude Code

allisonhere and others added 3 commits November 7, 2026 17:42
…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>
@allisonhere
allisonhere merged commit aaf9dc4 into main Nov 8, 2026
@allisonhere
allisonhere deleted the fix/solid-terminal-background branch November 8, 2026 00:10
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