[gnome-software: 1/2] Theme: semantic changes and visbility improvements




commit 3403d0fac541d323166fdd3048f3b7cae47dbb19
Author: Feichtmeier <frederik feichtmeier gmail com>
Date:   Tue Feb 11 09:24:23 2020 +0100

    Theme: semantic changes and visbility improvements
    
    -  .installed-icon: indicates that an app is installed on your system, it is not a selection. Thus it 
should use the theme's success_color (in case of Adwaita it's green), which this commit changes
    - .counter-label: indicates that X apps are beeing installed or X updates are availible. Both indications 
should also be done with the success color since it is not a selection and it is positive to have updates, 
which this commit changes
    - .star-enabled: the star is basically invisible in the dark Adwaita theme, since the shade function 
currently used blends the star too much with the background in the dark theme, changing this to simply 
fg_color is perfectly visible in both dark and light Adwaita themes

 src/gtk-style.css | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/gtk-style.css b/src/gtk-style.css
index 11689fe4..55281195 100644
--- a/src/gtk-style.css
+++ b/src/gtk-style.css
@@ -10,7 +10,7 @@
   }
 
 .installed-icon {
-       color: @theme_selected_bg_color;
+       color: @success_color;
 }
 
 .popular-installed-overlay-box {
@@ -409,7 +409,7 @@ flowboxchild {
 /* for the review dialog */
 .star-enabled,
 .star-enabled:disabled {
-       color: shade(@theme_fg_color, 0.8);
+       color: @theme_fg_color;
 }
 .star-disabled,
 .star-disabled:disabled {
@@ -419,7 +419,7 @@ flowboxchild {
 .counter-label {
        text-shadow: none;
        color: @theme_selected_fg_color;
-       background-color: mix(@theme_selected_bg_color, @theme_selected_fg_color, 0.3);
+       background-color: @success_color;
        font-size: smaller;
        border-radius: 4px;
        padding: 0px 4px;


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