From 90d20f27b313ae492a69594e7c31e74ccd6a0565 Mon Sep 17 00:00:00 2001 From: Martin Stransky Date: Fri, 24 May 2019 08:51:48 +0000 Subject: [PATCH] [Linux/Gtk] Get and use Gtk theme text color for active/pressed button, - Follow Gtk and get theme button text color directly from "button" CSS node instead of "button label" - Provide new -moz-gtk-buttonactivetext color for active/pressed button text color - Replace ButtonText color with -moz-gtk-buttonactivetext when it's appropriate Differential Revision: https://phabricator.services.mozilla.com/D30566 --- components/style/properties/longhands/color.mako.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/components/style/properties/longhands/color.mako.rs b/components/style/properties/longhands/color.mako.rs index b367f2bbd86..a83787dd48e 100644 --- a/components/style/properties/longhands/color.mako.rs +++ b/components/style/properties/longhands/color.mako.rs @@ -35,6 +35,7 @@ pub mod system_colors { -moz-eventreerow -moz-field -moz-fieldtext -moz-dialog -moz-dialogtext -moz-dragtargetzone -moz-gtk-info-bar-text -moz-html-cellhighlight -moz-html-cellhighlighttext -moz-mac-buttonactivetext + -moz-gtk-buttonactivetext -moz-mac-chrome-active -moz-mac-chrome-inactive -moz-mac-defaultbuttontext -moz-mac-focusring -moz-mac-menuselect -moz-mac-menushadow -moz-mac-menutextdisable -moz-mac-menutextselect