From 1bbe4e2222587db4497f67c5f50443dda74e57b1 Mon Sep 17 00:00:00 2001 From: EliverLara Date: Wed, 15 Apr 2020 12:52:44 -0500 Subject: [PATCH] Gnome-shell: Fix blacked text color in world clocks #80 --- gnome-shell/_common.scss | 23 +++++++++++++++++++++++ gnome-shell/gnome-shell.css | 15 +++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/gnome-shell/_common.scss b/gnome-shell/_common.scss index 593b150..559cf02 100644 --- a/gnome-shell/_common.scss +++ b/gnome-shell/_common.scss @@ -1150,6 +1150,29 @@ StScrollBar { icon-size: 16px; padding: 8px; } } +/* World clocks */ +.world-clocks-button { + + // city label + .world-clocks-city { + color: $fg_color; + font-weight: normal; + } + + // timezone time + .world-clocks-time { + font-weight: bold; + color: $fg_color; + font-feature-settings: "lnum"; + text-align: right; + } + + // timezone offset label + .world-clocks-timezone { + color: darken($fg_color,20%); + font-feature-settings: "tnum"; + } +} // a little unstructured mess: diff --git a/gnome-shell/gnome-shell.css b/gnome-shell/gnome-shell.css index f864efe..19f5dd6 100644 --- a/gnome-shell/gnome-shell.css +++ b/gnome-shell/gnome-shell.css @@ -1056,6 +1056,21 @@ StScrollBar { icon-size: 16px; padding: 8px; } +/* World clocks */ +.world-clocks-button .world-clocks-city { + color: #98abb2; + font-weight: normal; } + +.world-clocks-button .world-clocks-time { + font-weight: bold; + color: #98abb2; + font-feature-settings: "lnum"; + text-align: right; } + +.world-clocks-button .world-clocks-timezone { + color: #627a82; + font-feature-settings: "tnum"; } + .system-switch-user-submenu-icon.user-icon { icon-size: 20px; padding: 0 2px; }