mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
16f16f6818
commit
9ddd26ff37
3 changed files with 30 additions and 22 deletions
|
@ -31,7 +31,9 @@ Kirigami.ScrollablePage {
|
|||
checked: diveListView.currentIndex === model.index
|
||||
width: parent.width
|
||||
height: diveListEntry.height + Kirigami.Units.smallSpacing
|
||||
background.opacity: checked ? 0.4 : 1
|
||||
background.opacity: checked ? 0.8 : 1
|
||||
backgroundColor: checked ? subsurfaceTheme.primaryColor : Kirigami.Theme.viewBackgroundColor
|
||||
textColor: checked ? subsurfaceTheme.primaryTextColor : subsurfaceTheme.diveListTextColor
|
||||
|
||||
property real detailsOpacity : 0
|
||||
|
||||
|
@ -55,7 +57,7 @@ Kirigami.ScrollablePage {
|
|||
id: leftBarDive
|
||||
width: dive.tripMeta == "" ? 0 : Kirigami.Units.smallSpacing
|
||||
height: diveListEntry.height * 0.8
|
||||
color: subsurfaceTheme.accentColor
|
||||
color: subsurfaceTheme.lightPrimaryColor
|
||||
anchors {
|
||||
left: parent.left
|
||||
top: parent.top
|
||||
|
@ -123,7 +125,7 @@ Kirigami.ScrollablePage {
|
|||
visible: deleteButtonVisible
|
||||
height: diveListEntry.height - Kirigami.Units.smallSpacing
|
||||
width: height - 3 * Kirigami.Units.smallSpacing
|
||||
color: "#FF3030"
|
||||
color: subsurfaceTheme.contrastAccentColor
|
||||
antialiasing: true
|
||||
radius: Kirigami.Units.smallSpacing
|
||||
anchors {
|
||||
|
@ -173,7 +175,7 @@ Kirigami.ScrollablePage {
|
|||
right: parent.right
|
||||
rightMargin: Kirigami.Units.gridUnit * -2
|
||||
}
|
||||
color: subsurfaceTheme.accentColor
|
||||
color: subsurfaceTheme.lightPrimaryColor
|
||||
visible: section != ""
|
||||
Kirigami.Label {
|
||||
id: sectionText
|
||||
|
@ -199,7 +201,7 @@ Kirigami.ScrollablePage {
|
|||
leftMargin: horizontalPadding * 2
|
||||
right: parent.right
|
||||
}
|
||||
color: textColor
|
||||
color: subsurfaceTheme.lightPrimaryTextColor
|
||||
}
|
||||
}
|
||||
Rectangle {
|
||||
|
@ -210,7 +212,7 @@ Kirigami.ScrollablePage {
|
|||
rightMargin: Kirigami.Units.gridUnit * -2
|
||||
right: parent.right
|
||||
}
|
||||
color: subsurfaceTheme.accentColor
|
||||
color: subsurfaceTheme.lightPrimaryColor
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue