From a40752d1d0e03e6f4de2507a3d863a995c08ef89 Mon Sep 17 00:00:00 2001 From: Jakub Steiner Date: Thu, 30 May 2019 09:26:12 +0200 Subject: [PATCH] theme: overview is OSD styled FIXME: .show-apps-icon isn't colored for some reason --- data/theme/gnome-shell-sass/_colors.scss | 9 ++++++--- data/theme/gnome-shell-sass/_common.scss | 4 ++-- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/data/theme/gnome-shell-sass/_colors.scss b/data/theme/gnome-shell-sass/_colors.scss index ecfe7b373..9eb251772 100644 --- a/data/theme/gnome-shell-sass/_colors.scss +++ b/data/theme/gnome-shell-sass/_colors.scss @@ -20,8 +20,11 @@ $error_color: #ff8080; $success_color: if($variant == 'light', #33d17a, darken(#33d17a, 10%)); $destructive_color: if($variant == 'light', #e01b24, darken(#e01b24, 10%)); -$osd_fg_color: $fg_color; -$osd_bg_color: transparentize($bg_color, 0.02); +$osd_fg_color: #eeeeec; +$osd_text_color: white; +$osd_bg_color: transparentize(darken(desaturate(#3d3846, 100%), 4%),0.3); +$osd_insensitive_bg_color: transparentize(mix($osd_fg_color, opacify($osd_bg_color, 1), 10%), 0.5); +$osd_insensitive_fg_color: mix($osd_fg_color, opacify($osd_bg_color, 1), 50%); $osd_borders_color: transparentize(black, 0.3); $osd_outer_borders_color: if($variant=='light', transparentize(black, 0.6), #3d3d3d); @@ -38,4 +41,4 @@ $backdrop_bg_color: $bg_color; $backdrop_fg_color: mix($fg_color, $backdrop_bg_color, 80%); $backdrop_insensitive_color: if($variant =='light', darken($backdrop_bg_color,15%), lighten($backdrop_bg_color,15%)); $backdrop_borders_color: mix($borders_color, $bg_color, 90%); -$backdrop_dark_fill: mix($backdrop_borders_color,$backdrop_bg_color, 35%); \ No newline at end of file +$backdrop_dark_fill: mix($backdrop_borders_color,$backdrop_bg_color, 35%); diff --git a/data/theme/gnome-shell-sass/_common.scss b/data/theme/gnome-shell-sass/_common.scss index 5b4472a43..7362fc682 100644 --- a/data/theme/gnome-shell-sass/_common.scss +++ b/data/theme/gnome-shell-sass/_common.scss @@ -1380,10 +1380,10 @@ StScrollBar { #dash { font-size: 9pt; - color: $fg_color; + color: $osd_fg_color; background-color: $osd_bg_color; padding: 4px 0; - border: 1px solid $bubble_outer_borders_color; + border: 1px solid $osd_borders_color; border-left: 0px; border-radius: 0px 9px 9px 0px;