aboutsummaryrefslogtreecommitdiff
path: root/src/SetPointPage.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/SetPointPage.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/SetPointPage.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/SetPointPage.qml b/src/SetPointPage.qml
index c22f0c3..234edf0 100644
--- a/src/SetPointPage.qml
+++ b/src/SetPointPage.qml
@@ -23,7 +23,7 @@ Item {
textbox.text = currWaypointData[3]
} else {
editIndex = waypointArray.length
- selectedColor = colours.primary
+ selectedColor = colors.secondary
}
}
}
@@ -59,7 +59,7 @@ Item {
onClicked: root.selectedIcon = model.name
height: iconSelectorView.height
width: height
- iconColor: root.selectedIcon == model.name ? colours.primary : colours.primaryUnselected
+ iconColor: root.selectedIcon == model.name ? colors.textDefault : colors.textUnselected
}
ListModel {
id: iconModel
@@ -115,7 +115,7 @@ Item {
var writebuffer = {}
writebuffer[0] = selectedIcon
writebuffer[1] = [coord.latitude,coord.longitude]
- writebuffer[2] = selectedColor //the colours.primary is currently a placeholder. it would be nice to let users select colours, but I CBA to write a colour picker right now
+ writebuffer[2] = selectedColor //the colors.secondary is currently a placeholder. it would be nice to let users select colours, but I CBA to write a colour picker right now
writebuffer[3] = textBox.text
writebuffer[4] = Date
waypointArray[index] = writebuffer