[gtk/wip/jimmac/headerbar-specialcasing] Adwaita: specialcase switches and scales for headerbars




commit e657da6658afb5e379df4661e6d828d66f8c7a40
Author: Jakub Steiner <jimmac gmail com>
Date:   Wed Jan 6 13:02:21 2021 +0100

    Adwaita: specialcase switches and scales for headerbars
    
    Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3504

 gtk/theme/Adwaita/_common.scss | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index c61c6a8f23..459f3d1ed4 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -2350,6 +2350,8 @@ switch {
 
   @include focus-ring($offset: 0, $outer: true);
 
+  headerbar & { background-color: darken($dark_fill,8%); } //3504
+
   &:checked {
     color: $selected_fg_color;
     border-color: $switch_borders_color;
@@ -2547,6 +2549,8 @@ treeview.view radio:selected { &:focus, & { @extend %radio; }} // This is a work
   border-radius: 3px;
   background-color: $dark_fill;
 
+  headerbar & { background-color: darken($dark_fill,8%); } //3504
+
   &:disabled {
    background-color: $insensitive_bg_color;
    border-color: $insensitive_borders_color;


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