[gnome-shell/wip/jimmac/osk-338-tweaks] theme: OSK opaque



commit 9dcfb8ad50fd1ab201e4c97c2475e5a1ac6a2689
Author: Jakub Steiner <jimmac gmail com>
Date:   Thu Feb 20 14:08:34 2020 +0100

    theme: OSK opaque
    
    - the on screen keyboard is not an overlay in most cases. the semi-opacity
      is distracting.
    - use opaque background color
    - see discussion on https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/1028
    
      FIXME: whitespace at the bottom without scaling everything down (padding)

 data/theme/gnome-shell-sass/widgets/_keyboard.scss | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/data/theme/gnome-shell-sass/widgets/_keyboard.scss 
b/data/theme/gnome-shell-sass/widgets/_keyboard.scss
index f866d77ca9..b02725884b 100644
--- a/data/theme/gnome-shell-sass/widgets/_keyboard.scss
+++ b/data/theme/gnome-shell-sass/widgets/_keyboard.scss
@@ -9,8 +9,8 @@ $default_key_bg_color: if($variant=='light', darken($osd_bg_color, 11%), lighten
 
 // draw keys using button function
 #keyboard {
-  background-color: transparentize(if($variant=='light', darken($bg_color, 5%), darken($bg_color, 8%)), 0.1);
-  box-shadow: inset 0 1px 0 0 $osd_outer_borders_color;
+  background-color: $bg_color;
+  box-shadow: inset 0 1px 0 0 $borders_color;
 
   .page-indicator {
     padding: $base_padding;
@@ -71,11 +71,11 @@ $default_key_bg_color: if($variant=='light', darken($osd_bg_color, 11%), lighten
 
 // long press on a key popup
 .keyboard-subkeys {
-  color: $osd_fg_color;
+  color: $fg_color;
   -arrow-border-radius: $modal_radius;
-  -arrow-background-color: $osd_bg_color;
+  -arrow-background-color: $bg_color;
   -arrow-border-width: 1px;
-  -arrow-border-color: lighten($osd_bg_color, 9%);
+  -arrow-border-color: $borders_color;
   -arrow-base: 20px;
   -arrow-rise: 10px;
   -boxpointer-gap: $base_spacing;


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