From 304b5601f79c3f0420c514c4f1248651ebe39fb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20=C5=A0tamcar?= Date: Sat, 14 Sep 2024 15:01:43 +0200 Subject: [PATCH] Fix not rounded corners when using theme colors (fixes #470) --- .../userchrome/profile/chrome/pwa/utils/systemIntegration.jsm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/native/userchrome/profile/chrome/pwa/utils/systemIntegration.jsm b/native/userchrome/profile/chrome/pwa/utils/systemIntegration.jsm index 1c3ab9bc..7d47c178 100644 --- a/native/userchrome/profile/chrome/pwa/utils/systemIntegration.jsm +++ b/native/userchrome/profile/chrome/pwa/utils/systemIntegration.jsm @@ -45,7 +45,7 @@ function configureThemeColor (window, styles, colorR, colorG, colorB) { } // Set background and text colors to the titlebar and tabs - styles.innerHTML += `#navigator-toolbox, html[tabsintitlebar] #main-menubar > *, html[tabsintitlebar] #titlebar > * { background-color: ${backgroundColor} !important; color: ${textColor} !important; }`; + styles.innerHTML += `#navigator-toolbox { background-color: ${backgroundColor} !important; color: ${textColor} !important; }`; styles.innerHTML += `.tabbrowser-tab { color: ${textColor} !important; }`; }