diff options
author | Claudio Cambra <claudio.cambra@gmail.com> | 2022-09-29 20:21:49 +0300 |
---|---|---|
committer | Matthieu Gallien <matthieu_gallien@yahoo.fr> | 2022-09-29 22:55:44 +0300 |
commit | 6137fe246e7c8964343886b08a583b8d74159db5 (patch) | |
tree | d13e9b09b8ebf11256f2cb27dc01bac841b619bf /src | |
parent | 31478bbd63ef72a37f0993eb71b7e8a38ec9ab28 (diff) |
Fix sync progress bar colours in dark mode
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/tray/SyncStatus.qml | 15 |
1 files changed, 15 insertions, 0 deletions
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 } } |