some tuning

This commit is contained in:
Michael Zanetti 2019-03-08 17:57:15 +01:00
parent 2b42b20a24
commit 44290e4146
2 changed files with 7 additions and 2 deletions

View File

@ -17,11 +17,11 @@ Item {
switch (root.state) {
case "on":
case "green":
return "#91dd77";
return "#73c0b3";
case "off":
return "lightgray";
case "orange":
return "#dddd77";
return "#fedf6f";
case "red":
return "#dd7777"
}

View File

@ -139,6 +139,11 @@ Item {
ColumnLayout {
Label {
text: qsTr("Current air quality")
font.pixelSize: app.smallFont
}
RowLayout {
spacing: app.margins
ColorIcon {