[gtk/wip/jimmac/menus-darker: 17/17] Adwaita: darker selected menuitem + sidebars




commit 399b457f54a540d1eeafa79fd089b5e061bd4430
Author: Jakub Steiner <jimmac gmail com>
Date:   Mon Nov 23 15:46:44 2020 +0100

    Adwaita: darker selected menuitem + sidebars
    
    - without sacrificing the fg/bg contrast too much, increase
      selected item visibility
    
    Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3390

 gtk/theme/Adwaita/_colors.scss | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/theme/Adwaita/_colors.scss b/gtk/theme/Adwaita/_colors.scss
index 3eddb09ad5..507286dafe 100644
--- a/gtk/theme/Adwaita/_colors.scss
+++ b/gtk/theme/Adwaita/_colors.scss
@@ -18,7 +18,7 @@ $top_hilight: $borders_edge;
 $dark_fill: mix($borders_color, $bg_color, 50%);
 $headerbar_color: if($variant == 'light', lighten($bg_color, 5%), darken($bg_color, 3%));
 $menu_color: $base_color;
-$menu_selected_color: if($variant == 'light', darken($bg_color, 3%), $bg_color);
+$menu_selected_color: if($variant == 'light', darken($bg_color, 6%), darken($bg_color, 8%));
 
 $scrollbar_bg_color: if($variant == 'light', mix($bg_color, $fg_color, 80%), mix($base_color, $bg_color, 
50%));
 $scrollbar_slider_color: mix($fg_color, $bg_color, 60%);


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