fix(terminal): restore transparent background when vibrancy is enabled (#11326)

Co-authored-by: Daniil <daniil.pavlovsky@ronix.ru>
This commit is contained in:
Specboss
2026-06-09 09:25:01 +02:00
committed by GitHub
co-authored by Daniil
parent f49ca51be8
commit 5aebd67cf1
+6
View File
@@ -37,6 +37,12 @@ export function getXtermBackgroundColor (
return configuredBackground
}
// Keep terminal surface transparent when window vibrancy is enabled,
// so the OS acrylic/blur effect is visible inside the terminal area too.
if (config.store.appearance?.vibrancy) {
return '#00000000'
}
const { appTheme, appColorScheme } = getActiveTerminalTheme(themes)
return appTheme.followsColorScheme ? appColorScheme.background : appTheme.terminalBackground
}