[gnome-music/cherry-pick-6de5d66f] data: Fix dark mode star color CSS



commit f222bbdb39d1e07b1e298fb1f9da735a3cf49599
Author: Marinus Schraal <mschraal gnome org>
Date:   Tue Sep 18 11:56:02 2018 +0000

    data: Fix dark mode star color CSS
    
    The stars were shaded based on the background color, use an alpha of the
    foreground color instead.
    
    
    (cherry picked from commit 6de5d66f230464c46c0dfc441f87c3f641c387d4)

 data/application.css | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/data/application.css b/data/application.css
index 528fe975..28e86768 100644
--- a/data/application.css
+++ b/data/application.css
@@ -79,12 +79,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]