[gnome-music/wip/mschraal/dark-mode-fixes: 2/2] data: Fix dark mode star color CSS



commit 6de5d66f230464c46c0dfc441f87c3f641c387d4
Author: Marinus Schraal <mschraal gnome org>
Date:   Tue Sep 18 13:56:02 2018 +0200

    data: Fix dark mode star color CSS
    
    The stars were shaded based on the background color, use an alpha of the
    foreground color instead.

 data/org.gnome.Music.css | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/data/org.gnome.Music.css b/data/org.gnome.Music.css
index 56435171..250b7161 100644
--- a/data/org.gnome.Music.css
+++ b/data/org.gnome.Music.css
@@ -69,12 +69,12 @@ box#ArtistAlbumsWidget .artist-label {
    enable transitions between the non-starred and starred icons. */
 .star {
     background-image: -gtk-icontheme('non-starred-symbolic');
-    color: shade(@theme_bg_color, 0.8);
+    color: alpha(@theme_fg_color, 0.3);
     transition: 100ms linear;
 }
 
 .star:hover {
-    color: shade(@theme_bg_color, 0.5);
+    color: alpha(@theme_fg_color, 0.6);
 }
 
 .star:selected {


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