[libadwaita/wip/jimmac/triangle-to-arrow] style: switch from triangles to arrows




commit 9f13d90e3c3439a75c63a7a8f831f4f9a8d0051a
Author: Jakub Steiner <jimmac gmail com>
Date:   Wed Mar 9 13:33:40 2022 +0100

    style: switch from triangles to arrows
    
    - expander triangles no longer in fashion
    
    See https://gitlab.gnome.org/GNOME/gtk/-/issues/4737

 src/adw-combo-row.ui                   |  2 +-
 src/stylesheet/widgets/_buttons.scss   | 10 +++++-----
 src/stylesheet/widgets/_dropdowns.scss |  2 +-
 src/stylesheet/widgets/_expanders.scss |  6 +++---
 4 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/src/adw-combo-row.ui b/src/adw-combo-row.ui
index ae7a4370..98aafdc7 100644
--- a/src/adw-combo-row.ui
+++ b/src/adw-combo-row.ui
@@ -21,7 +21,7 @@
         <property name="valign">center</property>
         <child>
           <object class="GtkImage">
-            <property name="icon_name">pan-down-symbolic</property>
+            <property name="icon_name">go-down-symbolic</property>
             <style>
               <class name="dropdown-arrow"/>
             </style>
diff --git a/src/stylesheet/widgets/_buttons.scss b/src/stylesheet/widgets/_buttons.scss
index 7e7b70ff..9cfb3356 100644
--- a/src/stylesheet/widgets/_buttons.scss
+++ b/src/stylesheet/widgets/_buttons.scss
@@ -427,16 +427,16 @@ menubutton {
       -gtk-icon-source: -gtk-icontheme('open-menu-symbolic');
     }
     &.down {
-      -gtk-icon-source: -gtk-icontheme('pan-down-symbolic');
+      -gtk-icon-source: -gtk-icontheme('go-down-symbolic');
     }
     &.up {
-      -gtk-icon-source: -gtk-icontheme('pan-up-symbolic');
+      -gtk-icon-source: -gtk-icontheme('go-up-symbolic');
     }
     &.left {
-      -gtk-icon-source: -gtk-icontheme('pan-start-symbolic');
+      -gtk-icon-source: -gtk-icontheme('go-start-symbolic');
     }
     &.right {
-      -gtk-icon-source: -gtk-icontheme('pan-end-symbolic');
+      -gtk-icon-source: -gtk-icontheme('go-end-symbolic');
     }
   }
 }
@@ -560,7 +560,7 @@ splitbutton {
   }
 
   > menubutton > button > arrow.none {
-    -gtk-icon-source: -gtk-icontheme('pan-down-symbolic');
+    -gtk-icon-source: -gtk-icontheme('go-down-symbolic');
   }
 }
 
diff --git a/src/stylesheet/widgets/_dropdowns.scss b/src/stylesheet/widgets/_dropdowns.scss
index af178d27..deca3b3b 100644
--- a/src/stylesheet/widgets/_dropdowns.scss
+++ b/src/stylesheet/widgets/_dropdowns.scss
@@ -11,7 +11,7 @@ dropdown > button > box {
 dropdown,
 combobox {
   arrow {
-    -gtk-icon-source: -gtk-icontheme('pan-down-symbolic');
+    -gtk-icon-source: -gtk-icontheme('go-down-symbolic');
     min-height: 16px;
     min-width: 16px;
   }
diff --git a/src/stylesheet/widgets/_expanders.scss b/src/stylesheet/widgets/_expanders.scss
index fec19d2e..6fcf75b8 100644
--- a/src/stylesheet/widgets/_expanders.scss
+++ b/src/stylesheet/widgets/_expanders.scss
@@ -1,12 +1,12 @@
 expander {
   min-width: 16px;
   min-height: 16px;
-  -gtk-icon-source: -gtk-icontheme('pan-end-symbolic');
-  &:dir(rtl) { -gtk-icon-source: -gtk-icontheme('pan-end-symbolic-rtl'); }
+  -gtk-icon-source: -gtk-icontheme('go-end-symbolic');
+  &:dir(rtl) { -gtk-icon-source: -gtk-icontheme('go-end-symbolic-rtl'); }
 
   &:disabled { filter: opacity($disabled_opacity); }
 
-  &:checked { -gtk-icon-source: -gtk-icontheme('pan-down-symbolic'); }
+  &:checked { -gtk-icon-source: -gtk-icontheme('go-down-symbolic'); }
 }
 
 expander-widget {


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