[gtk/wip/exalm/polish: 3/8] adwaita: Use tabular figures where appropriate



commit 40c8d8ba9fa5d13d0fd3e87fcf498f3666942c21
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Thu May 7 00:37:55 2020 +0500

    adwaita: Use tabular figures where appropriate
    
    Port 82b9be3297db7baeb605c286b01978bab02b5373 from GTK3.

 gtk/theme/Adwaita/_common.scss | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index cacedb5045..49d68bc1ac 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -1221,6 +1221,8 @@ spinbutton {
       padding: 1px 2px;
     }
   }
+
+  font-feature-settings: "tnum";
 }
 
 
@@ -2743,7 +2745,10 @@ scale {
     }
   }
 
-  > value { color: gtkalpha(currentColor, 0.55); }
+  > value {
+    color: gtkalpha(currentColor, 0.55);
+    font-feature-settings: "tnum";
+  }
 
   &.horizontal {
     > marks {
@@ -3027,6 +3032,7 @@ progressbar {
   // FIXME: insensitive state missing and some other state should be set probably
   font-size: smaller;
   color: transparentize($fg_color, 0.6);
+  font-feature-settings: "tnum";
 
   &:backdrop {
     box-shadow: none;


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