[gnome-shell/wip/jimmac/app-icon-shadows] WIP:theme: app icon shadows




commit ddf7d3eab76b6ce36ec48c368301fd122c5011ea
Author: Jakub Steiner <jimmac gmail com>
Date:   Thu Feb 4 14:16:00 2021 +0100

    WIP:theme: app icon shadows
    
    - increase blur but not much, while we can't have multi-layered shadows.
    
    Use the class in:
    
    - window preview
    - FIXME: dash
    - FIXME: app grid
    
    Fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3670

 data/theme/gnome-shell-sass/widgets/_base.scss | 2 +-
 js/ui/dash.js                                  | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/data/theme/gnome-shell-sass/widgets/_base.scss b/data/theme/gnome-shell-sass/widgets/_base.scss
index 914dd5955e..69ebb301a7 100644
--- a/data/theme/gnome-shell-sass/widgets/_base.scss
+++ b/data/theme/gnome-shell-sass/widgets/_base.scss
@@ -14,5 +14,5 @@
 
 // Dropshadow for large icons
 .icon-dropshadow {
-  icon-shadow: 0 1px 2px rgba(black, 0.4);
+  icon-shadow: 0 1px 5px rgba(black, 0.8);
 }
diff --git a/js/ui/dash.js b/js/ui/dash.js
index 16893f9765..56e22720d8 100644
--- a/js/ui/dash.js
+++ b/js/ui/dash.js
@@ -468,6 +468,7 @@ var Dash = GObject.registerClass({
         item.setLabelText(app.get_name());
 
         appIcon.icon.setIconSize(this.iconSize);
+        appIcon.icon.add_style_class_name('icon-dropshadow');
         this._hookUpLabel(item, appIcon);
 
         return item;


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