cmux/Sources/Panels
Lawrence Chen bc1b6fd9eb
Honor Ghostty background-opacity across all cmux chrome (#667)
* Honor Ghostty background-opacity across all cmux chrome

Parse background-opacity from Ghostty config and propagate it through
the entire chrome pipeline: bonsplit tab bar (via RRGGBBAA hex),
browser panel/omnibar, titlebar, empty panel, and window background.

Decouple glass effect from sidebar blend mode — bgGlassEnabled now
defaults to false so opacity works independently. Add
GhosttyBackgroundTheme helper for consistent color+opacity resolution
across all UI surfaces.

Fixes https://github.com/manaflow-ai/cmux/issues/263

* Titlebar and chrome opacity matches terminal background-opacity

Use CALayer-level opacity for the titlebar background instead of SwiftUI
Color alpha, matching the terminal's Metal compositing path. Account for
the double alpha stacking in the terminal area (Bonsplit container bg +
Ghostty renderer) so the titlebar visually matches.

Also fix opacity-only config changes not triggering titlebar refresh on
Cmd+Shift+, reload.
2026-03-01 03:48:46 -08:00
..
BrowserPanel.swift Honor Ghostty background-opacity across all cmux chrome (#667) 2026-03-01 03:48:46 -08:00
BrowserPanelView.swift Honor Ghostty background-opacity across all cmux chrome (#667) 2026-03-01 03:48:46 -08:00
CmuxWebView.swift Browser download: keep logs debug-only and harden menu fallback 2026-02-24 20:53:12 -08:00
Panel.swift Revert "Use workspace color for notification ring and selection bar (#664)" 2026-02-27 18:24:51 -08:00
PanelContentView.swift Merge remote-tracking branch 'origin/main' into fix/browser-devtools-shortcuts-pr 2026-02-20 15:48:27 -08:00
TerminalPanel.swift Revert "Use workspace color for notification ring and selection bar (#664)" 2026-02-27 18:24:51 -08:00
TerminalPanelView.swift Fix terminal Cmd+F overlay layering and add regression guardrails 2026-02-22 15:25:30 -08:00