summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/DiveDetailsView.qml
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-06-21 07:39:07 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-06-21 11:05:36 -0700
commit9ddd26ff37b7bf525aa434f485d0c82f4d246419 (patch)
tree5783f7a6d136c988633ff85acf489d3d6aa65585 /mobile-widgets/qml/DiveDetailsView.qml
parent16f16f6818d1b5f48020ec6de086a5c76026b9bd (diff)
downloadsubsurface-9ddd26ff37b7bf525aa434f485d0c82f4d246419.tar.gz
QML UI: redo all the colors
Naming them the same way Davide named them in his emails and assigning the color values he proposed. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml/DiveDetailsView.qml')
-rw-r--r--mobile-widgets/qml/DiveDetailsView.qml18
1 files changed, 9 insertions, 9 deletions
diff --git a/mobile-widgets/qml/DiveDetailsView.qml b/mobile-widgets/qml/DiveDetailsView.qml
index 2847fb831..dc10bc11f 100644
--- a/mobile-widgets/qml/DiveDetailsView.qml
+++ b/mobile-widgets/qml/DiveDetailsView.qml
@@ -59,7 +59,7 @@ Item {
id: gpsButton
height: Math.round(1.5 * Kirigami.Units.gridUnit)
width: dive.gps == "" ? 0 : buttonText.width + Kirigami.Units.gridUnit
- color: subsurfaceTheme.accentColor
+ color: subsurfaceTheme.darkPrimaryColor
antialiasing: true
radius: Kirigami.Units.smallSpacing * 2
anchors {
@@ -70,7 +70,7 @@ Item {
Kirigami.Label {
id: buttonText
text: qsTr("Map it")
- color: subsurfaceTheme.accentTextColor
+ color: subsurfaceTheme.darkPrimaryTextColor
anchors {
horizontalCenter: parent.horizontalCenter
verticalCenter: parent.verticalCenter
@@ -96,21 +96,21 @@ Item {
text: dive.date + " " + dive.time
width: Math.max(locationText.width * 0.45, paintedWidth)
font.pointSize: subsurfaceTheme.smallPointSize
- color: Kirigami.Theme.textColor
+ color: subsurfaceTheme.diveListTextColor
}
// 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)
font.pointSize: subsurfaceTheme.smallPointSize
- color: Kirigami.Theme.textColor
+ color: subsurfaceTheme.diveListTextColor
}
}
Kirigami.Label {
id: numberText
text: "#" + dive.number
font.pointSize: subsurfaceTheme.smallPointSize
- color: Kirigami.Theme.textColor
+ color: subsurfaceTheme.diveListTextColor
anchors {
right: parent.right
top: locationText.bottom
@@ -142,7 +142,7 @@ Item {
color: "transparent"
opacity: 0.6
border.width: 1
- border.color: Kirigami.Theme.textColor;
+ border.color: subsurfaceTheme.darkPrimaryColor
anchors.fill: parent
}
}
@@ -199,7 +199,7 @@ Item {
}
Rectangle {
- color: subsurfaceTheme.accentColor
+ color: subsurfaceTheme.darkPrimaryColor
height: 1
opacity: 0.5
Layout.columnSpan: 3
@@ -252,7 +252,7 @@ Item {
}
Rectangle {
- color: subsurfaceTheme.accentColor
+ color: subsurfaceTheme.darkPrimaryColor
height: 1
opacity: 0.5
Layout.columnSpan: 3
@@ -294,7 +294,7 @@ Item {
}
Rectangle {
- color: subsurfaceTheme.accentColor
+ color: subsurfaceTheme.darkPrimaryColor
height: 1
opacity: 0.5
Layout.columnSpan: 3