From d78ce0b466b212bff3bfd256ebf1c0c70d5c4b55 Mon Sep 17 00:00:00 2001 From: Arseniy Movshev Date: Wed, 18 Jan 2023 19:01:10 +0000 Subject: 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 --- src/DefaultMapControls.qml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/DefaultMapControls.qml') 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 -- cgit v1.2.3-54-g00ecf