Respect system theme in cmux picker

This commit is contained in:
Lawrence Chen 2026-03-13 04:52:23 -07:00
parent 48f656a7b9
commit 1309152bfc
No known key found for this signature in database
2 changed files with 2 additions and 1 deletions

View file

@ -5405,6 +5405,7 @@ struct CMUXCLI {
environment["CMUX_THEME_PICKER_CONFIG"] = try cmuxThemeOverrideConfigURL().path
environment["CMUX_THEME_PICKER_BUNDLE_ID"] = currentCmuxAppBundleIdentifier() ?? Self.cmuxThemeOverrideBundleIdentifier
environment["CMUX_THEME_PICKER_TARGET"] = defaultThemePickerTargetMode(current: selection).rawValue
environment["CMUX_THEME_PICKER_COLOR_SCHEME"] = defaultAppearancePrefersDarkThemes() ? "dark" : "light"
if let light = selection.light {
environment["CMUX_THEME_PICKER_INITIAL_LIGHT"] = light
}

@ -1 +1 @@
Subproject commit a8f08b0bf0a263c6b84b4df69673d9ba8c93dd06
Subproject commit 2ba8dfac27051c6566ceded486a1ea2af4b07f03