Skip to content

Commit

Permalink
Merge pull request #4986 from nextcloud/bugfix/sync-progress-bar-dark
Browse files Browse the repository at this point in the history
Fix sync progress bar colours in dark mode
  • Loading branch information
claucambra authored Sep 29, 2022
2 parents 31478bb + 6137fe2 commit 9078cca
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/gui/tray/SyncStatus.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
Expand Down

0 comments on commit 9078cca

Please sign in to comment.