[gtk+/gtk-3-22] Adwaita: Leave fg color of hovered emoji alone



commit a6393e1a47cb57d0baae7d15034ab7a12c16d07b
Author: Daniel Boles <dboles src gnome org>
Date:   Tue Sep 5 01:38:35 2017 +0100

    Adwaita: Leave fg color of hovered emoji alone
    
    Only HighContrast has a clear problem, and this avoids some probably
    unwanted changes of certain colours in the weird greyscale emoji I have
    available to test here.

 gtk/theme/Adwaita/_common.scss           |    1 -
 gtk/theme/Adwaita/gtk-contained-dark.css |    2 +-
 gtk/theme/Adwaita/gtk-contained.css      |    2 +-
 3 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index 676e951..bbe63c2 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -4468,6 +4468,5 @@ button.emoji-section {
 
   :hover {
     background: $selected_bg_color;
-    color: $selected_fg_color;
   }
 }
diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css
index eb266d9..77dc6fa 100644
--- a/gtk/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/theme/Adwaita/gtk-contained-dark.css
@@ -1916,7 +1916,7 @@ button.emoji-section:checked label { opacity: 1; }
 
 .emoji { font-size: x-large; padding: 6px; border-radius: 6px; }
 
-.emoji :hover { background: #215d9c; color: #ffffff; }
+.emoji :hover { background: #215d9c; }
 
 /* GTK NAMED COLORS ---------------- use responsibly! */
 /*
diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css
index 6791c1a..653e931 100644
--- a/gtk/theme/Adwaita/gtk-contained.css
+++ b/gtk/theme/Adwaita/gtk-contained.css
@@ -1936,7 +1936,7 @@ button.emoji-section:checked label { opacity: 1; }
 
 .emoji { font-size: x-large; padding: 6px; border-radius: 6px; }
 
-.emoji :hover { background: #4a90d9; color: #ffffff; }
+.emoji :hover { background: #4a90d9; }
 
 /* GTK NAMED COLORS ---------------- use responsibly! */
 /*


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]