mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-23 13:35:58 +03:00
Remove menuBorder Style variable, just use palette (as we have already done in parts)
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
33d525069e
commit
874aaa35a0
2 changed files with 3 additions and 6 deletions
|
@ -24,7 +24,7 @@ ProgressBar {
|
|||
implicitHeight: Style.progressBarBackgroundHeight
|
||||
radius: Style.progressBarRadius
|
||||
color: Style.progressBarBackgroundColor
|
||||
border.color: Style.progressBarBackgroundBorderColor
|
||||
border.color: palette.dark
|
||||
border.width: Style.progressBarBackgroundBorderWidth
|
||||
}
|
||||
|
||||
|
@ -36,8 +36,8 @@ ProgressBar {
|
|||
width: control.visualPosition * parent.width
|
||||
height: parent.height
|
||||
radius: Style.progressBarRadius
|
||||
color: Style.progressBarContentColor
|
||||
border.color: Style.progressBarContentBorderColor
|
||||
color: palette.dark
|
||||
border.color: palette.dark
|
||||
border.width: Style.progressBarContentBorderWidth
|
||||
}
|
||||
}
|
||||
|
|
|
@ -16,7 +16,6 @@ QtObject {
|
|||
readonly property color ncSecondaryTextColor: "#808080"
|
||||
readonly property color lightHover: Theme.darkMode ? Qt.lighter(backgroundColor, 2) : Qt.darker(backgroundColor, 1.05)
|
||||
readonly property color darkerHover: Theme.darkMode ? Qt.lighter(backgroundColor, 2.35) : Qt.darker(backgroundColor, 1.25)
|
||||
readonly property color menuBorder: Theme.darkMode ? Qt.lighter(backgroundColor, 2.5) : Qt.darker(backgroundColor, 1.5)
|
||||
readonly property color backgroundColor: Theme.systemPalette.base
|
||||
readonly property color buttonBackgroundColor: Theme.systemPalette.button
|
||||
readonly property color positiveColor: Qt.rgba(0.38, 0.74, 0.38, 1)
|
||||
|
@ -194,9 +193,7 @@ QtObject {
|
|||
property int progressBarContentBorderWidth: 1
|
||||
property int progressBarBackgroundBorderWidth: 1
|
||||
property color progressBarContentColor: ncBlue
|
||||
property color progressBarContentBorderColor: menuBorder
|
||||
property color progressBarBackgroundColor: backgroundColor
|
||||
property color progressBarBackgroundBorderColor: menuBorder
|
||||
|
||||
property int newActivitiesButtonWidth: 150
|
||||
property int newActivitiesButtonHeight: 40
|
||||
|
|
Loading…
Reference in a new issue