From 6137fe246e7c8964343886b08a583b8d74159db5 Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Thu, 29 Sep 2022 19:21:49 +0200 Subject: [PATCH] Fix sync progress bar colours in dark mode Signed-off-by: Claudio Cambra --- src/gui/tray/SyncStatus.qml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/gui/tray/SyncStatus.qml b/src/gui/tray/SyncStatus.qml index bae630a4d..d0361000a 100644 --- a/src/gui/tray/SyncStatus.qml +++ b/src/gui/tray/SyncStatus.qml @@ -68,6 +68,21 @@ RowLayout { sourceComponent: ProgressBar { id: syncProgressBar + // TODO: Rather than setting all these palette colours manually, + // create a custom style and do it for all components globally + palette { + text: Style.ncTextColor + windowText: Style.ncTextColor + buttonText: Style.ncTextColor + light: Style.lightHover + midlight: Style.lightHover + mid: Style.ncSecondaryTextColor + dark: Style.menuBorder + button: Style.menuBorder + window: Style.backgroundColor + base: Style.backgroundColor + } + value: syncStatus.syncProgress } }