mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-21 12:35:52 +03:00
Use accentColor rather than header colour where appropriate
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
7c317cb4d9
commit
a8982465a9
2 changed files with 4 additions and 2 deletions
|
@ -212,7 +212,7 @@ ApplicationWindow {
|
|||
height: parent.height
|
||||
|
||||
backgroundsVisible: false
|
||||
accentColor: Style.currentUserHeaderColor
|
||||
accentColor: Style.accentColor
|
||||
accountState: fileDetailsDrawer.folderAccountState
|
||||
localPath: fileDetailsDrawer.fileLocalPath
|
||||
showCloseButton: true
|
||||
|
|
|
@ -9,8 +9,10 @@ QtObject {
|
|||
readonly property bool darkMode: Theme.darkMode
|
||||
|
||||
// Colors
|
||||
readonly property color ncBlue: Theme.wizardHeaderBackgroundColor
|
||||
readonly property color ncBlue: Theme.wizardHeaderBackgroundColor
|
||||
readonly property color ncHeaderTextColor: Theme.wizardHeaderTitleColor
|
||||
readonly property color accentColor: UserModel.currentUser ? UserModel.currentUser.accentColor : ncBlue
|
||||
|
||||
readonly property color currentUserHeaderColor: UserModel.currentUser ? UserModel.currentUser.headerColor : ncBlue
|
||||
readonly property color currentUserHeaderTextColor: UserModel.currentUser ? UserModel.currentUser.headerTextColor : ncHeaderTextColor
|
||||
readonly property color adjustedCurrentUserHeaderColor: Theme.darkMode ? Qt.lighter(currentUserHeaderColor, 2)
|
||||
|
|
Loading…
Reference in a new issue