[gnome-shell/wip/jimmac/app-icon-shadows: 16/17] WIP:theme: app icon shadows
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/jimmac/app-icon-shadows: 16/17] WIP:theme: app icon shadows
- Date: Fri, 5 Feb 2021 14:56:15 +0000 (UTC)
commit 6bf183256829fccc69ea334db12e85245ccf476b
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]