mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-21 20:45:51 +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
|
||||
|
|
|
@ -11,6 +11,8 @@ QtObject {
|
|||
// Colors
|
||||
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