summaryrefslogtreecommitdiff
path: root/src/DefaultMapControls.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/DefaultMapControls.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/DefaultMapControls.qml12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/DefaultMapControls.qml b/src/DefaultMapControls.qml
index 079aefa..6b70f4e 100644
--- a/src/DefaultMapControls.qml
+++ b/src/DefaultMapControls.qml
@@ -10,7 +10,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
}
@@ -21,7 +21,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
}
@@ -42,7 +42,7 @@ Item {
anchors.fill: parent
name: compass.reading.calibrationLevel > 0 ? "ios-compass-outline" : "ios-infinite-outline"
rotation: -45
- color: "blue"
+ color: colors.primary
}
}
IconButton {
@@ -52,7 +52,7 @@ Item {
anchors.left: parent.left
height: parent.height*0.2
width: height
- iconColor: "blue"
+ iconColor: colors.primary
z: 2
onClicked: positionProvider.update()
}
@@ -62,7 +62,7 @@ Item {
anchors.right: parent.horizontalCenter
height: parent.height*0.2
width: height
- iconColor: "blue"
+ iconColor: colors.primary
z: 2
onClicked: pageStack.push(settingsPage,{})
}
@@ -72,7 +72,7 @@ Item {
anchors.left: parent.horizontalCenter
height: parent.height*0.2
width: height
- iconColor: "blue"
+ iconColor: colors.primary
z: 2
onClicked: {
parent.visible = false