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 <miur...@linux.com> Date: Sun, 25 Oct 2020 11:45:03 +0900 Subject: [PATCH] Change x/y label color Signed-off-by: Hiroshi Miura <miur...@linux.com> --- 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 Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1852172 Title: Battery history and statistics graphs markings are unreadable on a dark theme To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-power-manager/+bug/1852172/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs