Merge pull request #4986 from nextcloud/bugfix/sync-progress-bar-dark

Fix sync progress bar colours in dark mode
This commit is contained in:
Claudio Cambra 2022-09-29 22:37:43 +02:00 committed by GitHub
commit 9078cca682
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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