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
1 changed files with 15 additions and 0 deletions

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