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/SetPointPage.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/SetPointPage.qml') 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 -- cgit v1.2.3-70-g09d2