diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2017-06-21 15:47:29 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-06-21 17:20:07 -0700 |
commit | e0f46b033d5f641e8bd78e665cbc9539977fa7cb (patch) | |
tree | e6480cb1407997286a71196d7aaa9454dacb32aa /mobile-widgets/qml/DiveList.qml | |
parent | 8f2fc84ae74b12d54b7a801624c27c05fa579582 (diff) | |
download | subsurface-e0f46b033d5f641e8bd78e665cbc9539977fa7cb.tar.gz |
QML UI: attempt to add dark theme
This isn't great, yet, but a first step to show that this is possible
(and in doing so I found quite a few spots where the colors weren't
correctly propagating, yet).
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml/DiveList.qml')
-rw-r--r-- | mobile-widgets/qml/DiveList.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml index 22a0e78e5..f8c82835a 100644 --- a/mobile-widgets/qml/DiveList.qml +++ b/mobile-widgets/qml/DiveList.qml @@ -12,7 +12,7 @@ Kirigami.ScrollablePage { objectName: "DiveList" title: qsTr("Dive list") background: Rectangle { - color: Kirigami.Theme.viewBackgroundColor + color: subsurfaceTheme.backgroundColor } width: subsurfaceTheme.columnWidth property int credentialStatus: manager.credentialStatus @@ -31,7 +31,7 @@ Kirigami.ScrollablePage { checked: diveListView.currentIndex === model.index width: parent.width height: diveListEntry.height + Kirigami.Units.smallSpacing - backgroundColor: checked ? subsurfaceTheme.primaryColor : Kirigami.Theme.viewBackgroundColor + backgroundColor: checked ? subsurfaceTheme.primaryColor : subsurfaceTheme.backgroundColor textColor: checked ? subsurfaceTheme.primaryTextColor : subsurfaceTheme.diveListTextColor property real detailsOpacity : 0 |