Don't hardcode the color of text in the header

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
This commit is contained in:
Kevin Ottens 2020-10-21 13:40:42 +02:00
parent 0e9efe728a
commit de63e5e221
No known key found for this signature in database
GPG key ID: 074BBBCB8DECC9E2
2 changed files with 3 additions and 2 deletions

View file

@ -378,7 +378,7 @@ Window {
width: Style.currentAccountLabelWidth width: Style.currentAccountLabelWidth
text: UserModel.currentUser.name text: UserModel.currentUser.name
elide: Text.ElideRight elide: Text.ElideRight
color: "white" color: Style.ncTextColor
font.pixelSize: Style.topLinePixelSize font.pixelSize: Style.topLinePixelSize
font.bold: true font.bold: true
} }
@ -387,7 +387,7 @@ Window {
width: Style.currentAccountLabelWidth width: Style.currentAccountLabelWidth
text: UserModel.currentUser.server text: UserModel.currentUser.server
elide: Text.ElideRight elide: Text.ElideRight
color: "white" color: Style.ncTextColor
font.pixelSize: Style.subLinePixelSize font.pixelSize: Style.subLinePixelSize
} }
} }

View file

@ -6,6 +6,7 @@ import QtQuick 2.5
QtObject { QtObject {
// Colors // Colors
property color ncBlue: "#0082c9" property color ncBlue: "#0082c9"
property color ncTextColor: "white"
property color lightHover: "#f7f7f7" property color lightHover: "#f7f7f7"
property color menuBorder: "#bdbdbd" property color menuBorder: "#bdbdbd"