mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Fix progress bar palette
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
c316ecca91
commit
fe427364c2
@ -69,8 +69,28 @@ RowLayout {
|
||||
id: syncProgressBar
|
||||
|
||||
// TODO: Rather than setting all these palette colours manually,
|
||||
// create a custom style and do it for all components globally
|
||||
palette.window: palette.dark // NOTE: Fusion theme uses darker window colour for the border of the progress bar
|
||||
// create a custom style and do it for all components globally.
|
||||
//
|
||||
// Additionally, we need to override the entire palette when we
|
||||
// set one palette property, as otherwise we default back to the
|
||||
// theme palette -- not the parent palette
|
||||
palette {
|
||||
text: Style.ncTextColor
|
||||
windowText: Style.ncTextColor
|
||||
buttonText: Style.ncTextColor
|
||||
brightText: Style.ncTextBrightColor
|
||||
highlight: Style.lightHover
|
||||
highlightedText: Style.ncTextColor
|
||||
light: Style.lightHover
|
||||
midlight: Style.ncSecondaryTextColor
|
||||
mid: Style.darkerHover
|
||||
dark: Style.menuBorder
|
||||
button: Style.buttonBackgroundColor
|
||||
window: palette.dark // NOTE: Fusion theme uses darker window colour for the border of the progress bar
|
||||
base: Style.backgroundColor
|
||||
toolTipBase: Style.backgroundColor
|
||||
toolTipText: Style.ncTextColor
|
||||
}
|
||||
value: syncStatus.syncProgress
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user