aboutsummaryrefslogtreecommitdiff
path: root/src/SetPointMapControls.qml
diff options
context:
space:
mode:
authorArseniy Movshev <dodoradio@outlook.com>2023-01-18 19:01:10 +0000
committerArseniy Movshev <dodoradio@outlook.com>2023-01-18 20:29:48 +0000
commitd78ce0b466b212bff3bfd256ebf1c0c70d5c4b55 (patch)
tree53ef3608dfe89ecaff3093e041be5fa56d2c0635 /src/SetPointMapControls.qml
parent38d6e68a153061917672af697d1d12f4755387ee (diff)
Tweak the UI colours for aesthetics and readability
consolidate most of the colours into `colors` - also rename this to US 'colors' for consistency make all icons in setpointpage white for readability
Diffstat (limited to '')
-rw-r--r--src/SetPointMapControls.qml14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/SetPointMapControls.qml b/src/SetPointMapControls.qml
index de0078e..417ebbb 100644
--- a/src/SetPointMapControls.qml
+++ b/src/SetPointMapControls.qml
@@ -13,7 +13,7 @@ Item {
anchors.verticalCenterOffset: - height/2 + DeviceInfo.flatTireHeight/2
height: parent.height*0.2
width: height
- iconColor: "blue"
+ iconColor: colors.primary
z: 2
onClicked: mapView.zoomLevel = mapView.zoomLevel + 0.3
}
@@ -24,7 +24,7 @@ Item {
anchors.verticalCenterOffset: height/2 + DeviceInfo.flatTireHeight/2
height: parent.height*0.2
width: height
- iconColor: "blue"
+ iconColor: colors.primary
z: 2
onClicked: mapView.zoomLevel = mapView.zoomLevel - 0.3
}
@@ -45,7 +45,7 @@ Item {
anchors.fill: parent
name: compass.reading.calibrationLevel > 0 ? "ios-compass-outline" : "ios-infinite-outline"
rotation: -45
- color: "blue"
+ color: colors.primary
}
}
IconButton {
@@ -55,7 +55,7 @@ Item {
anchors.verticalCenterOffset: height/2 + DeviceInfo.flatTireHeight/2
height: parent.height*0.2
width: height
- iconColor: "blue"
+ iconColor: colors.primary
z: 2
}
IconButton {
@@ -64,7 +64,7 @@ Item {
anchors.right: parent.horizontalCenter
height: parent.height*0.2
width: height
- iconColor: "blue"
+ iconColor: colors.primary
z: 2
onClicked: {
parent.visible = false
@@ -77,7 +77,7 @@ Item {
anchors.left: parent.horizontalCenter
height: parent.height*0.2
width: height
- iconColor: "blue"
+ iconColor: colors.primary
z: 2
onClicked: primaryButtonAction()
}
@@ -86,6 +86,6 @@ Item {
width: parent.width*0.1
height: width
name: "ios-add"
- color: "blue"
+ color: colors.primary
}
}