Added transparent browser background on linux

This commit is contained in:
Lund1337
2025-04-06 19:34:46 +03:00
parent a33e2cbd88
commit 814e697675
2 changed files with 10 additions and 0 deletions

View File

@@ -380,6 +380,11 @@ pref('widget.macos.titlebar-blend-mode.behind-window', true);
pref('zen.widget.macos.window-material', 3);
#endif
// Enable transparent background for linux
#ifdef MOZ_WIDGET_GTK
pref('zen.widget.linux.transparency', true);
#endif
// Urlbar and autocomplete
pref("browser.urlbar.maxRichResults", 6);
pref("browser.urlbar.trimHttps", true);

View File

@@ -167,6 +167,11 @@
}
}
@media (-moz-platform: linux) and -moz-pref('zen.widget.linux.transparency'){
background: transparent;
--zen-themed-toolbar-bg-transparent: transparent;
}
--toolbar-field-background-color: var(--zen-colors-input-bg) !important;
--arrowpanel-background: var(--zen-dialog-background) !important;