From: Kevin Ottens Date: Wed, 21 Oct 2020 11:40:42 +0000 (+0200) Subject: Don't hardcode the color of text in the header X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~22^2~98^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=de63e5e22136a1463444256ecaf2a78b505246f9;p=nextcloud-desktop.git Don't hardcode the color of text in the header Signed-off-by: Kevin Ottens --- diff --git a/src/gui/tray/Window.qml b/src/gui/tray/Window.qml index e19bd37ba..4299b7707 100644 --- a/src/gui/tray/Window.qml +++ b/src/gui/tray/Window.qml @@ -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 } } diff --git a/theme/Style/Style.qml b/theme/Style/Style.qml index b13a2b57e..039a77cb9 100644 --- a/theme/Style/Style.qml +++ b/theme/Style/Style.qml @@ -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"