gnome-control-center/panels/power/battery-levels.css
Bastien Nocera 2397d0c082 power: Use correct colour for battery level bars
Use 3 symbolic colours to paint the levels in the battery bars, with a
red "error" colour used for the lowest level of battery, an orange
"warning" colour for the pre-error level, and a green "success" colour
used for levels above that.

There's no yellow intermediate colour as this is usually too anxiety
inducing and there's no real need to press users into a "warning"
behaviour when the level will still be comfortable for a long enough
time.

Closes: #725
2020-07-06 17:27:49 +02:00

14 lines
321 B
CSS

levelbar block.warning-battery-offset {
background-color: @error_color;
border-color: @error_color;
}
levelbar block.low-battery-offset {
background-color: @warning_color;
border-color: @warning_color;
}
levelbar block.high-battery-offset {
background-color: @success_color;
border-color: @success_color;
}