mirror of https://github.com/nextcloud/desktop
Merge pull request #4986 from nextcloud/bugfix/sync-progress-bar-dark
Fix sync progress bar colours in dark mode
This commit is contained in:
commit
9078cca682
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue