Skip to content

Commit

Permalink
gnome-shell: Use our dash color as the system overlay bg color
Browse files Browse the repository at this point in the history
LP: #2062121
  • Loading branch information
3v1n0 committed Apr 18, 2024
1 parent 40af528 commit f06b74a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions gnome-shell/src/gnome-shell-sass/_yaru-colors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ $focus_border_color: lighten($accent_bg_color, 14%);
$alt_borders_color: if($variant=='light', darken($bg_color, 24%), darken($bg_color, 10%));

$system_borders_color: $yaru_borders_color_dark; // Yaru: use our definition
$system_overlay_bg_color: $dash_background_color; // Yaru - Use system bg color for overlay items

// card elements
$card_bg_color: if($variant =='light', $light_1, lighten($bg_color, 7%));
Expand Down
2 changes: 1 addition & 1 deletion gnome-shell/src/gnome-shell-sass/widgets/_dash.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* Dash */

// uses system colors
$dash_background_color: $system_overlay_bg_color !default; // Yaru: we define those colors in _colors.scss for _dock.scss to use it
$dash_background_color: $system_overlay_bg_color;

$dash_placeholder_size: 32px;
$dash_padding: $base_padding * 2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

// content
.search-section-content {
background-color: $dash_background_color; // Yaru: use same background as dash
background-color: $system_overlay_bg_color;
color: $system_fg_color;
border-radius: $modal_radius * 1.5;
padding: $base_padding * 2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
border-radius: $base_border_radius * 0.5;
border: 1px solid transparent;

background-color: $dash_background_color; // Yaru: use same background as dash
background-color: $system_overlay_bg_color; // Yaru: use same background as dash
border: 1px solid $system_borders_color; // Yaru: use same border as dash

@if $contrast == 'high' {
Expand Down

0 comments on commit f06b74a

Please sign in to comment.