mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-22 14:32:07 +08:00
Nicer blue/red colors offroad alert button
This commit is contained in:
@@ -111,10 +111,10 @@ void OffroadHome::refresh() {
|
||||
border-radius: 5px;
|
||||
font-size: 40px;
|
||||
font-weight: bold;
|
||||
background-color: red;
|
||||
background-color: #E22C2C;
|
||||
)");
|
||||
if (alerts_widget->updateAvailable){
|
||||
style.replace("red", "blue");
|
||||
style.replace("#E22C2C", "#364DEF");
|
||||
}
|
||||
alert_notification->setStyleSheet(style);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user