cmux/Resources
Lawrence Chen 550d98ca4f
Add Match Terminal Background sidebar setting (#2293)
* Add "Match Terminal Background" sidebar setting

Adds a toggle in Settings > Sidebar Appearance that makes the sidebar
use the same background color and transparency as the terminal area.

Uses layer-level opacity on a fully opaque background color (the same
technique as TitlebarLayerBackground) with effective opacity formula
`1 - (1-alpha)^2` to account for the terminal's two stacked
semi-transparent layers (Bonsplit chrome + Ghostty Metal surface).

Also adds a 1px trailing border derived from the terminal chrome color,
matching the bonsplit tab bar separator logic.

* Fix sidebar border color not updating on theme change

Add @State + .onReceive(.ghosttyDefaultBackgroundDidChange) to
SidebarTrailingBorder so the separator color recomputes when the
Ghostty theme changes, matching the pattern used in SidebarBackdrop.

* Address review comments: localize debug toggle, fix separator refresh

- Localize the debug panel toggle label (Codex P1)
- Add .onAppear to SidebarTrailingBorder for initial color (Cubic P2)
- Fix stale doc comment on SidebarTerminalBackgroundView (Cubic P3)

---------

Co-authored-by: Lawrence Chen <lawrencecchen@users.noreply.github.com>
2026-03-28 04:36:20 -07:00
..
bin Add -r shorthand to SKIP_SESSION_ID check in claude wrapper (#1992) 2026-03-24 20:26:50 -07:00
ghostty Bundle Ghostty themes in cmux (#1314) 2026-03-13 02:44:57 -07:00
shell-integration Reduce shell integration prompt latency (#2109) 2026-03-24 23:08:20 -07:00
terminfo-overlay Release v1.23.0 (#31) 2026-02-09 15:30:43 -08:00
cmux.sdef Update ghostty to v1.3.0 (#1142) 2026-03-09 21:32:54 -07:00
Info.plist fix: restore Sparkle automatic update checks (#1597) 2026-03-17 03:07:38 -07:00
InfoPlist.xcstrings Add browser camera permission support and metadata (#760) (#913) 2026-03-04 18:56:22 -08:00
Localizable.xcstrings Add Match Terminal Background sidebar setting (#2293) 2026-03-28 04:36:20 -07:00