summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/DiveList.qml
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-06-24 11:18:18 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-06-24 11:18:18 -0700
commite3cd6719c12cb9bd1b35800918792564770929b5 (patch)
tree7f9d55ef2c2cda4396a4d81d7fc2c99a4393846a /mobile-widgets/qml/DiveList.qml
parent94bc7563916f153338145ea4dff558eaa170701a (diff)
downloadsubsurface-e3cd6719c12cb9bd1b35800918792564770929b5.tar.gz
QML UI: Davide's colors for the blue theme
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml/DiveList.qml')
-rw-r--r--mobile-widgets/qml/DiveList.qml7
1 files changed, 4 insertions, 3 deletions
diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml
index 6a511cec7..27ab28cb2 100644
--- a/mobile-widgets/qml/DiveList.qml
+++ b/mobile-widgets/qml/DiveList.qml
@@ -18,6 +18,7 @@ Kirigami.ScrollablePage {
property int credentialStatus: manager.credentialStatus
property int numDives: diveListView.count
property color textColor: subsurfaceTheme.textColor
+ property color secondaryTextColor: subsurfaceTheme.secondaryTextColor
property int horizontalPadding: Kirigami.Units.gridUnit / 2 - Kirigami.Units.smallSpacing + 1
supportsRefreshing: true
@@ -114,21 +115,21 @@ Kirigami.ScrollablePage {
text: dive.date + " " + dive.time
width: Math.max(locationText.width * 0.45, paintedWidth) // helps vertical alignment throughout listview
font.pointSize: subsurfaceTheme.smallPointSize
- color: textColor
+ color: secondaryTextColor
}
// let's try to show the depth / duration very compact
Kirigami.Label {
text: dive.depth + ' / ' + dive.duration
width: Math.max(Kirigami.Units.gridUnit * 3, paintedWidth) // helps vertical alignment throughout listview
font.pointSize: subsurfaceTheme.smallPointSize
- color: textColor
+ color: secondaryTextColor
}
}
Kirigami.Label {
id: numberText
text: "#" + dive.number
font.pointSize: subsurfaceTheme.smallPointSize
- color: textColor
+ color: secondaryTextColor
anchors {
right: parent.right
rightMargin: horizontalPadding