Skip to content

Commit e20a8ed

Browse files
committed
Don't use libadwaita headerbar bg. Fixes #247
1 parent b717644 commit e20a8ed

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

gtk/src/adw-gtk3/gtk-3.0/_apps.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -1159,7 +1159,7 @@ geary-conversation-viewer#conversation_viewer {
11591159
box-shadow: none;
11601160
&:backdrop {
11611161
background-image: none;
1162-
background-color: $headerbar_bg_color;
1162+
background-color: $new_title_bg_color;
11631163
}
11641164
}
11651165
}

gtk/src/adw-gtk3/gtk-3.0/_colors.scss

+2-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,8 @@ $disabled_headerbar_fg: gtkmix($headerbar_fg_color, $headerbar_bg_color, 50%);
110110
$backdrop_headerbar_fg: gtkmix($headerbar_fg_color, $headerbar_backdrop_color, 50%);
111111
$disabled_card_fg: gtkmix($card_fg_color, $card_bg_color, 50%);
112112
$disabled_popover_fg: gtkmix($popover_fg_color, $popover_bg_color, 50%);
113-
$incognito_bg_color: gtkcolor(incognito_bg_color); // adw-gtk3 specific, for gnome web
113+
$incognito_bg_color: gtkcolor(incognito_bg_color); // adw-gtk3 specific: gtk3 gnome web
114+
$new_title_bg_color: gtkcolor(new_title_bg_color); // adw-gtk3 specific for a few selected apps
114115

115116
// titlebuttons
116117
$titlebutton_normal: gtkalpha(currentColor, .1);

gtk/src/adw-gtk3/gtk-3.0/_defaults.scss

+2-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
@define-color view_fg_color #{if($variant == 'light', #333333, white)};
4141

4242
// Header bar, search bar, tab bar
43-
@define-color headerbar_bg_color #{if($variant == 'light', #ffffff, #303030)};
43+
@define-color headerbar_bg_color #{if($variant == 'light', #ebebeb, #303030)};
4444
@define-color headerbar_fg_color #{if($variant == 'light', #2f2f2f, white)}; // adw-gtk3 light theme note: replacing transparentize(black, .2) with equal static color
4545
@define-color headerbar_border_color #{if($variant == 'light', transparentize(black, .2), white)};
4646
@define-color headerbar_backdrop_color @window_bg_color;
@@ -76,3 +76,4 @@
7676

7777
// adw-gtk3 specific
7878
@define-color incognito_bg_color #{if($variant == 'light', #d7e3f0, #1c2438)};
79+
@define-color new_title_bg_color #{if($variant == 'light', #ffffff, #303030)}; // because it's only used in a few selected apps

0 commit comments

Comments
 (0)