Skip to content

Commit

Permalink
Some tweaks for gnome-tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
lassekongo83 committed Oct 12, 2023
1 parent abae0d3 commit ed801b9
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 1 deletion.
37 changes: 37 additions & 0 deletions gtk/src/adw-gtk3/gtk-3.0/_apps.scss
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,43 @@ $disk_space_free: #eeeeec;
// * gnome-tweaks *
// ****************

.titlebar.tweak-titlebar-left {
background-image: none;
background-color: $sidebar_bg_color;
border-bottom-color: transparent;
&:backdrop {
background-color: $sidebar_backdrop_color;
}

button {
background-color: transparent;
&:hover { background-color: $titlebutton_normal_hover; }
&:hover:active, &:active, &:hover:checked, &:checked { background-color: $titlebutton_normal_active; }
&:backdrop { background: $titlebutton_backdrop; }
&:backdrop:hover { background: $titlebutton_backdrop_hover; }
}
}

.titlebar.tweak-titlebar-right {
background-image: none;
background-color: $bg_color;
border-bottom-color: transparent;
}

.navigation-sidebar {
background-color: $sidebar_bg_color;
&:backdrop {
background-color: $sidebar_backdrop_color;
}

separator.horizontal {
margin: 2px 0;
padding: 0;
background-color: transparent;
}
}

// legacy stuff
list.tweak-categories separator.horizontal {
background: transparent;
margin: 2px 0;
Expand Down
4 changes: 3 additions & 1 deletion gtk/src/adw-gtk3/gtk-3.0/_custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,11 @@
}

// headerbar stuff
headerbar, .titlebar {
headerbar {
box-shadow: 0 1px if($variant == 'light', gtkalpha($headerbar_shade_color, .3), gtkalpha($headerbar_shade_color, .1));
}

headerbar, .titlebar {
// Text colors for gtk named color support (except backdrop and disabled)
&:not(.selection-mode) {
&,
Expand Down

0 comments on commit ed801b9

Please sign in to comment.