summaryrefslogtreecommitdiffstats
path: root/qt-mobile/qml/main.qml
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-22 11:36:11 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-22 11:36:11 -0700
commite8f8051efe9aba8d5d5a463f13dcd3cfe29ec14b (patch)
tree27afc9bf66b735d93a74fd5dca4317b8f08a0243 /qt-mobile/qml/main.qml
parent77e1c2afa9799aff5e8ece932a2d084a4e8fbf1e (diff)
downloadsubsurface-e8f8051efe9aba8d5d5a463f13dcd3cfe29ec14b.tar.gz
QML UI: use consistent, darker text color for dive list
We received suggestions from users to darken the text color in the dive list a bit and this does seem to be a lot more readable. Especially since people are likely to use this outdoors the higher contrast seems reasonable. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile/qml/main.qml')
-rw-r--r--qt-mobile/qml/main.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-mobile/qml/main.qml b/qt-mobile/qml/main.qml
index 71d507ce7..d4a56a50d 100644
--- a/qt-mobile/qml/main.qml
+++ b/qt-mobile/qml/main.qml
@@ -255,6 +255,7 @@ MobileComponents.ApplicationWindow {
property color accentColor: "#2d5b9a"
property color shadedColor: "#132744"
property color accentTextColor: "#ececec"
+ property color diveListTextColor: Qt.rgba(0,0,0,0.76) // the Kirigami theme text color is too light
property int columnWidth: Math.round(rootItem.width/(MobileComponents.Units.gridUnit*30)) > 0 ? Math.round(rootItem.width / Math.round(rootItem.width/(MobileComponents.Units.gridUnit*30))) : rootItem.width
}