mirror of
https://github.com/Eugeny/tabby.git
synced 2026-08-24 10:14:31 -05:00
fix(terminal): restore transparent background when vibrancy is enabled (#11326)
Co-authored-by: Daniil <daniil.pavlovsky@ronix.ru>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user