Skip to content

feat(tui): add opt-in transparent backgrounds - #1218

Open
TheGreatAxios wants to merge 4 commits into
cl-8993-light-palettefrom
cl-9024-transparent-bg
Open

TheGreatAxios wants to merge 4 commits into
cl-8993-light-palettefrom
cl-9024-transparent-bg

Conversation

@TheGreatAxios

@TheGreatAxios TheGreatAxios commented Sep 28, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • make transparent backgrounds an explicit opt-in for root, transcript, landing, welcome, provider, and pending-queue canvas surfaces while keeping prompts, overlays, and selected controls opaque
  • select the startup palette before first-run welcome and provider surfaces using explicit setting, COLORFGBG, synchronous macOS appearance, then dark fallback
  • render active provider and selected pending-queue rows on the theme's opaque ground while inactive rows remain canvas-transparent
  • document that transparent-canvas readability depends on matching the selected or detected theme to the host background
  • keep this PR stacked on feat(tui): add automatic light theme selection #1217 (cl-8993-light-palette) at 72253d8b62fe9ed3a95b84b0ee84e87425ee9414

Verification

  • bun test src/tui/theme-transparent.test.ts src/tui/shell.test.ts passes 61 tests across both files
  • headless dark/light transparent renders verify welcome/provider/pending canvas alpha 0, selected provider and pending rows alpha 255, body contrast at least 4.5, inactive rows alpha 0, and pending selection transfer
  • bun run check passes formatting, lint, typecheck, dead-export checks, build, and the guarded randomized full test suite
  • git merge-base HEAD cl-8993-light-palette resolves to 72253d8b62fe9ed3a95b84b0ee84e87425ee9414

Fixes CL-9024

@linear-code

linear-code Bot commented Sep 28, 2026

Copy link
Copy Markdown

CL-9024

@TheGreatAxios
TheGreatAxios changed the base branch from main to cl-8993-light-palette September 28, 2026 17:41
@TheGreatAxios
TheGreatAxios force-pushed the cl-9024-transparent-bg branch 2 times, most recently from 77bae58 to 951bbf7 Compare September 28, 2026 18:03
@TheGreatAxios
TheGreatAxios force-pushed the cl-8993-light-palette branch 2 times, most recently from ae1055b to 72253d8 Compare September 28, 2026 18:37
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