From 40c8d8ba9fa5d13d0fd3e87fcf498f3666942c21 Mon Sep 17 00:00:00 2001 From: Alexander Mikhaylenko Date: Thu, 7 May 2020 00:37:55 +0500 Subject: [PATCH] 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;