[gtk/gtk-3-24: 1/2] theme: use tabular figures where appropriate
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/gtk-3-24: 1/2] theme: use tabular figures where appropriate
- Date: Fri, 20 Mar 2020 20:37:09 +0000 (UTC)
commit 82b9be3297db7baeb605c286b01978bab02b5373
Author: Lukas K <lu 0x83 eu>
Date: Sat Feb 29 14:32:29 2020 +0100
theme: use tabular figures where appropriate
Set font-feature-settings: "tnum" on spinbuttons, progress bars and
scales
fixes #1478
gtk/theme/Adwaita/_common.scss | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index 03a94d2c63..f733efe77c 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -1443,6 +1443,7 @@ spinbutton {
padding: 1px 2px;
}
}
+ font-feature-settings: "tnum";
}
@@ -3330,7 +3331,10 @@ scale {
}
marks,
- value { color: gtkalpha(currentColor, 0.55); }
+ value {
+ color: gtkalpha(currentColor, 0.55);
+ font-feature-settings: "tnum";
+ }
//marks margins
@each $scale_orient, $marks_class, $marks_pos, $marks_margin in (horizontal, top, top, bottom),
@@ -3598,6 +3602,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]