Fix sync progress bar colours in dark mode

Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
This commit is contained in:
Claudio Cambra 2022-09-29 19:21:49 +02:00 committed by Matthieu Gallien
parent 31478bbd63
commit 6137fe246e

View file

@ -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
}
}