nicolargo / glances

Glances an Eye on your system. A top/htop alternative for GNU/Linux, BSD, Mac OS and Windows operating systems.
http://nicolargo.github.io/glances/
Other
26.25k stars 1.49k forks source link

Make fields labelled in Green easier to see #2882

Closed techno156 closed 1 month ago

techno156 commented 1 month ago

Is your feature request related to a problem? Please describe. image Currently, glances will highlighted some fields in green, but use dark grey text. This makes the text in the box rather difficult to see at a quick glance, compared to the either the boxes highlighted in red, or ones that have no highlighting at all.

Describe the solution you'd like Ideally, the text colour would be changed from grey to something that has better contrast when highlighted in green, such as black, which would make it stand out more compared to the white text on red.

Describe alternatives you've considered One alternative I considered was to remove the green box entirely, and just label the text green, but that could be more confusing, since it would be mixed with the other text that is coloured green.

Additional context image

I've included an example testing other colours (in MS Paint). Either black or white would be more legible than the original grey.

nicolargo commented 1 month ago

Hi @techno156

on the develop branch, the default colors binding are the following:

image

and

image

On your screenshot, it looks like you have change the Glances configurable file to log user, system and iowait CPU thresholds and not the total. Is it correct ?

PS: We also plan to make the color configurable: https://github.com/nicolargo/glances/issues/2048

techno156 commented 1 month ago

Not sure, as I have not changed any of the glances configuration, and am using the defaults that come with the Arch Linux package (for glances 4.1.2).

nicolargo commented 1 month ago

Can you copy/paste your Glances configuration file ?

techno156 commented 1 month ago

Certainly. I've put it in a gist, since it seems rather long.

https://gist.github.com/techno156/44118b94709743d57b6b94a4ca6b4708

RazCrimson commented 1 month ago

Will make fix for now as WHITE seems more prominent in a colored bg. WebUI seems to be following the proposed solution too.

Current: image

White Version: image