mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
8f2fc84ae7
commit
e0f46b033d
5 changed files with 32 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue