mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-21 20:45:51 +03:00
Don't hardcode the color of text in the header
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
This commit is contained in:
parent
0e9efe728a
commit
de63e5e221
2 changed files with 3 additions and 2 deletions
|
@ -378,7 +378,7 @@ Window {
|
|||
width: Style.currentAccountLabelWidth
|
||||
text: UserModel.currentUser.name
|
||||
elide: Text.ElideRight
|
||||
color: "white"
|
||||
color: Style.ncTextColor
|
||||
font.pixelSize: Style.topLinePixelSize
|
||||
font.bold: true
|
||||
}
|
||||
|
@ -387,7 +387,7 @@ Window {
|
|||
width: Style.currentAccountLabelWidth
|
||||
text: UserModel.currentUser.server
|
||||
elide: Text.ElideRight
|
||||
color: "white"
|
||||
color: Style.ncTextColor
|
||||
font.pixelSize: Style.subLinePixelSize
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,6 +6,7 @@ import QtQuick 2.5
|
|||
QtObject {
|
||||
// Colors
|
||||
property color ncBlue: "#0082c9"
|
||||
property color ncTextColor: "white"
|
||||
property color lightHover: "#f7f7f7"
|
||||
property color menuBorder: "#bdbdbd"
|
||||
|
||||
|
|
Loading…
Reference in a new issue