commit 34025655dfcacb03c7165a3f4379b9f77f03cf07
parent 92b3660a4c49f649855d4752a0b90d4ee42fa0c2
Author: Luca Greco <lgreco@mozilla.com>
Date: Tue, 23 Dec 2025 08:23:37 +0000
Bug 2005033 - Reverting Bug 1984885 changes as short term workaround to sidebar colors regression with some third party themes. r=jsudiaman
This patch is reverting the changes introduced in browser-colors.css and webext-panels.css by Bug 1984885,
it is meant to be a short term workaround to handle the unexpected side-effect on some third party themes
that have been changed behavior in a way that was perceived as a 146 regression by users of some of the
third party themes available on addons.mozilla.org.
As a longer term solution it is not unlikely that Bug 1984885 changes may have to be re-introduced along with
further changes to improve as much as possible the sidebar colors for the existing third party themes
(e.g. along with the additional changes part of the approach being explored in Bug 1952602).
Differential Revision: https://phabricator.services.mozilla.com/D277191
Diffstat:
2 files changed, 0 insertions(+), 7 deletions(-)
diff --git a/browser/base/content/webext-panels.css b/browser/base/content/webext-panels.css
@@ -2,10 +2,6 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-:root {
- background-color: transparent;
-}
-
sidebar-panel-header {
padding-inline: var(--space-large);
diff --git a/browser/themes/shared/browser-colors.css b/browser/themes/shared/browser-colors.css
@@ -60,9 +60,6 @@
--toolbox-textcolor: var(--lwt-text-color, currentColor);
--toolbox-textcolor-inactive: var(--lwt-text-color, currentColor);
- --sidebar-background-color: light-dark(rgba(0, 0, 0, 0.05), rgba(255, 255, 255, 0.1));
- --sidebar-text-color: CanvasText;
-
@media not (prefers-contrast) {
--focus-outline-color: light-dark(#0061e0, #00ddff);
}