Skip to content
Commit 174cd66a authored by Prajna Sariputra's avatar Prajna Sariputra Committed by David Edmundson
Browse files

energy: Use text colour for the grid lines

Currently the grid lines always uses black as the colour, making them hard to see with dark themes, using the text colour instead should ensure enough contrast for them to be visible.

[Bug 447970](https://bugs.kde.org/show_bug.cgi?id=447970) might be relevant, although the original reporter was talking about the red line graph being hard to see rather than the grid lines.

I tested this patch on top of KInfoCenter 5.27.3 on Arch Linux, and here are the results:

Before (Breeze Dark):
![stock_breeze_dark](/uploads/b6833e7a355bc39c03a5a9b98a4429d5/stock_breeze_dark.png)

After (Breeze Dark):
![new_breeze_dark](/uploads/a9a049a82254f2eba2c0375dfb7bf6d3/new_breeze_dark.png)

Before (Breeze Light):
![stock_breeze_light](/uploads/bbc1a15438a0c3da99fc376553347735/stock_breeze_light.png)

After (Breeze Light):
![new_breeze_light](/uploads/e223fa03699d3d230cc97987209bb0ca/new_breeze_light.png)
parent 8b26dfe3
Pipeline #367784 passed with stage
in 2 minutes and 39 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment