We can see a changed color of legend labels with modification of fixed color values. It should be get from theme color instead of fixed value.
>From ebe0b3a96deb7039c70843bece6b958bdf0b25f0 Mon Sep 17 00:00:00 2001 From: Hiroshi Miura <[email protected]> Date: Sun, 25 Oct 2020 11:45:03 +0900 Subject: [PATCH] Change x/y label color Signed-off-by: Hiroshi Miura <[email protected]> --- src/egg-graph-widget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/egg-graph-widget.c b/src/egg-graph-widget.c index 7c2fc9e..75783b9 100644 --- a/src/egg-graph-widget.c +++ b/src/egg-graph-widget.c @@ -491,7 +491,7 @@ egg_graph_widget_draw_labels (EggGraphWidget *graph, cairo_t *cr) cairo_save (cr); /* do x text */ - cairo_set_source_rgb (cr, 0.2f, 0.2f, 0.2f); + cairo_set_source_rgb (cr, 0.5f, 0.5f, 0.5f); for (i = 0; i < 11; i++) { g_autofree gchar *text = NULL; b = priv->box_x + ((gdouble) i * divwidth); -- 2.25.1 -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-power-manager in Ubuntu. https://bugs.launchpad.net/bugs/1852172 Title: Battery history and statistics graphs markings are unreadable on a dark theme Status in gnome-power-manager package in Ubuntu: Confirmed Bug description: 1 - Use a dark theme using Gnome Tweaks. 2 - Open Power Statistics 3 - Click on Laptop battery -> History or Statistics tab. The markings on the X and Y axes are not readable since the text colour does not adapt to the dark theme. ProblemType: Bug DistroRelease: Ubuntu 19.10 Package: gnome-power-manager 3.32.0-1 ProcVersionSignature: Ubuntu 5.3.0-19.20-generic 5.3.1 Uname: Linux 5.3.0-19-generic x86_64 ApportVersion: 2.20.11-0ubuntu8.2 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Tue Nov 12 12:25:29 2019 ExecutablePath: /usr/bin/gnome-power-statistics InstallationDate: Installed on 2019-10-19 (23 days ago) InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017) ProcEnviron: LANG=en_IN LANGUAGE=en_IN:en PATH=(custom, no user) SHELL=/bin/bash XDG_RUNTIME_DIR=<set> SourcePackage: gnome-power-manager UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-power-manager/+bug/1852172/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

