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



commit 9b7968de5f51e867e1f2c664084c52b4305a8b61
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 | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)
---
diff --git a/data/theme/gnome-shell-sass/widgets/_keyboard.scss 
b/data/theme/gnome-shell-sass/widgets/_keyboard.scss
index f866d77ca9..e01e7247c7 100644
--- a/data/theme/gnome-shell-sass/widgets/_keyboard.scss
+++ b/data/theme/gnome-shell-sass/widgets/_keyboard.scss
@@ -3,14 +3,13 @@
 $key_size: 1.2em;
 $key_border_radius: $base_border_radius + 3px;
 $key_bg_color:  $bg_color;
-// $default_key_bg_color: darken($key_bg_color, 4%);
-$default_key_bg_color: if($variant=='light', darken($osd_bg_color, 11%), lighten($osd_bg_color, 2%));
+$default_key_bg_color: darken($bg_color, 2%);
 
 
 // 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 +70,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]