[gnome-software/add-shadows-to-icons] app row: Add shadow to app icons



commit f1431bea906a2059169019c8cc4c80d208ce8d6f
Author: Felipe Borges <felipeborges gnome org>
Date:   Tue Mar 12 12:56:48 2019 +0100

    app row: Add shadow to app icons
    
    The new GNOME application icons require shadows when placed on a
    light background.
    
    See https://gitlab.gnome.org/GNOME/Initiatives/issues/2
    
    Fixes #573

 src/gs-app-row.ui          | 3 +++
 src/gs-details-page.ui     | 3 +++
 src/gs-first-run-dialog.ui | 3 +++
 3 files changed, 9 insertions(+)
---
diff --git a/src/gs-app-row.ui b/src/gs-app-row.ui
index c381e24a..69da5193 100644
--- a/src/gs-app-row.ui
+++ b/src/gs-app-row.ui
@@ -25,6 +25,9 @@
             <property name="pixel_size">64</property>
             <property name="margin_start">24</property>
             <property name="valign">center</property>
+           <style>
+              <class name="icon-dropshadow"/>
+            </style>
           </object>
         </child>
         <child>
diff --git a/src/gs-details-page.ui b/src/gs-details-page.ui
index 40814e2d..a3c4b94e 100644
--- a/src/gs-details-page.ui
+++ b/src/gs-details-page.ui
@@ -74,6 +74,9 @@
                                 <property name="halign">start</property>
                                 <property name="valign">start</property>
                                 <property name="pixel_size">96</property>
+                                <style>
+                                  <class name="icon-dropshadow"/>
+                                </style>
                               </object>
                             </child>
                             <child>
diff --git a/src/gs-first-run-dialog.ui b/src/gs-first-run-dialog.ui
index 823fc535..3861bd82 100644
--- a/src/gs-first-run-dialog.ui
+++ b/src/gs-first-run-dialog.ui
@@ -32,6 +32,9 @@
                 <property name="visible">True</property>
                 <property name="pixel_size">128</property>
                 <property name="icon_name">org.gnome.Software</property>
+                <style>
+                  <class name="icon-dropshadow"/>
+                </style>
               </object>
             </child>
             <child>


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