Add a Themes settings page listing every terminal theme; TextBox leaves beta
Summary
Theme settings were spread across App (Appearance, Accent Color), Terminal (theme gallery, Adapt Default Theme) and Browser (Browser Theme). Settings now has a Themes page under General that holds all five. cmux settings open themes (also theme, appearance) opens it, and search hits for these rows land there.
The terminal theme gallery used to show 12 curated names when the search field was empty and capped search at 48 results. It now lists every theme Ghostty ships (plus user theme files), in two groups: the appearance of the slot being edited first ("Dark Themes" when editing Dark), then the other appearance. Search has no cap. The gallery sits last on the page because it is long. The two rows that were both titled "Theme" are now "Appearance" (app) and "Terminal Theme".
TextBox is no longer labeled beta: the sidebar title, the warning note, search keywords, schema descriptions and the web docs callout (all 20 locales) drop it.
Match Terminal Background is now on by default. With a light terminal theme under a dark app appearance, the sidebar and titlebar stayed dark beside a white terminal. sidebarAppearance.matchTerminalBackground now defaults to true, so the sidebar and titlebar take the terminal background. Every app reader uses the catalog default. The AppKit window resolver cannot import CmuxSettings, so WindowChromeSidebarTintDefaults.matchesTerminalBackground mirrors it. A user who set it to false in Settings or cmux.json keeps false.
Settings stays a window. This PR does not include the Settings-as-pane work from #12737.
Testing
swift testinPackages/macOS/CmuxSettingsUI: 215 tests pass, including new gallery tests (every theme listed, grouping per slot, no search cap) and a search test that the moved paths resolve tosetting:themes:*anchors. The first commit adds the tests alone.swift testinPackages/macOS/CmuxAppKitSupportUI(WindowAppearanceResolverTests): new test for the unset default (matches) and an explicitfalse(does not match). The test commit precedes the fix.swift testinPackages/macOS/CmuxSettings: 435 tests pass.python3 scripts/verify-local.py: 15/15 checks pass.python3 scripts/localization_catalog.py check: 0 parity errors across 9 catalogs.- Tagged build and live check of the Themes page: see comment below.
Changelog
Changed: Settings has a Themes page with app appearance, accent color, browser theme and every built-in terminal theme; the sidebar matches the terminal background by default; TextBox is no longer marked beta
🤖 Generated with Claude Code
Summary by CodeRabbit
- New Features
- Added a dedicated Themes section in Settings for app appearance, accent color, browser theme, and terminal themes. Open it with
cmux settings themes,theme, orappearance. - You can use separate light and dark terminal themes. The gallery groups themes by appearance, prioritizes those matching your current appearance, and shows all matching results.
- Added a dedicated Themes section in Settings for app appearance, accent color, browser theme, and terminal themes. Open it with
- Improvements
- The sidebar now matches the terminal background by default; you can turn this off to use the sidebar tint instead.
- Improved the readability of secondary sidebar text and icons against matched backgrounds.
- App icons are centered and scale down proportionally to fit.
- Documentation
- TextBox settings and documentation no longer carry a beta label.