mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-28 19:58:56 +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
|
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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue