commit 46e9071cf48d5582fcd66b9692e6b6ca232eccdd
parent 51d77af25f2437292d3f3f6a8e1cc5a7c9e6baf5
Author: Emilio Cobos Álvarez <emilio@crisal.io>
Date: Thu, 18 Dec 2025 09:38:08 +0000
Bug 2006823 - Update foreground color too for selected dark rows.
Differential Revision: https://phabricator.services.mozilla.com/D276973
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/widget/nsXPLookAndFeel.cpp b/widget/nsXPLookAndFeel.cpp
@@ -811,8 +811,6 @@ Maybe<nscolor> nsXPLookAndFeel::GenericDarkColor(ColorID aID) {
case ColorID::MozColheader:
case ColorID::Threedface:
case ColorID::MozCombobox:
- case ColorID::MozCellhighlighttext:
- case ColorID::Selecteditemtext: // --text-color-accent-primary-selected
color = NS_RGB(43, 42, 51);
break;
case ColorID::Threeddarkshadow: // Same as Threedlightshadow but with the
@@ -833,6 +831,8 @@ Maybe<nscolor> nsXPLookAndFeel::GenericDarkColor(ColorID aID) {
case ColorID::Highlight:
color = NS_RGBA(0, 221, 255, 78);
break;
+ case ColorID::MozCellhighlighttext:
+ case ColorID::Selecteditemtext:
case ColorID::Highlighttext:
color = NS_SAME_AS_FOREGROUND_COLOR;
break;