diff --git a/src/gui/ResolveConflictsDialog.qml b/src/gui/ResolveConflictsDialog.qml index af404fba4..a4b8474cd 100644 --- a/src/gui/ResolveConflictsDialog.qml +++ b/src/gui/ResolveConflictsDialog.qml @@ -167,7 +167,7 @@ ApplicationWindow { } Rectangle { - color: Style.backgroundColor + color: palette.base anchors.fill: parent z: 1 } diff --git a/src/gui/macOS/ui/FileProviderEvictionDialog.qml b/src/gui/macOS/ui/FileProviderEvictionDialog.qml index 87b4c5e98..c62363b65 100644 --- a/src/gui/macOS/ui/FileProviderEvictionDialog.qml +++ b/src/gui/macOS/ui/FileProviderEvictionDialog.qml @@ -31,7 +31,7 @@ ApplicationWindow { property string accountUserIdAtHost: "" title: qsTr("Evict materialised files") - color: Style.backgroundColor + color: palette.base flags: Qt.Dialog | Qt.WindowStaysOnTopHint width: 640 height: 480 diff --git a/src/gui/tray/CallNotificationDialog.qml b/src/gui/tray/CallNotificationDialog.qml index 6524c105b..22f11da71 100644 --- a/src/gui/tray/CallNotificationDialog.qml +++ b/src/gui/tray/CallNotificationDialog.qml @@ -86,7 +86,7 @@ ApplicationWindow { width: parent.width height: contentLayout.height + (root.windowSpacing * 2) radius: Systray.useNormalWindow ? 0.0 : Style.trayWindowRadius - color: Style.backgroundColor + color: palette.base border.width: Style.trayWindowBorderWidth border.color: palette.dark clip: true diff --git a/src/gui/tray/EditFileLocallyLoadingDialog.qml b/src/gui/tray/EditFileLocallyLoadingDialog.qml index 0696c302a..47dd20d09 100644 --- a/src/gui/tray/EditFileLocallyLoadingDialog.qml +++ b/src/gui/tray/EditFileLocallyLoadingDialog.qml @@ -30,7 +30,7 @@ ApplicationWindow { Rectangle { id: windowBackground - color: Style.backgroundColor + color: palette.base radius: Style.trayWindowRadius border.color: palette.dark anchors.fill: parent diff --git a/src/gui/tray/NCProgressBar.qml b/src/gui/tray/NCProgressBar.qml index 5c0d2afb3..93b4d771c 100644 --- a/src/gui/tray/NCProgressBar.qml +++ b/src/gui/tray/NCProgressBar.qml @@ -23,7 +23,7 @@ ProgressBar { implicitWidth: Style.progressBarWidth implicitHeight: Style.progressBarBackgroundHeight radius: Style.progressBarRadius - color: Style.progressBarBackgroundColor + color: palette.base border.color: palette.dark border.width: Style.progressBarBackgroundBorderWidth } diff --git a/theme/Style/Style.qml b/theme/Style/Style.qml index 6c10e4c99..301c42fbf 100644 --- a/theme/Style/Style.qml +++ b/theme/Style/Style.qml @@ -15,7 +15,6 @@ QtObject { readonly property color ncTextBrightColor: "white" readonly property color ncSecondaryTextColor: "#808080" 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) readonly property color currentUserHeaderColor: UserModel.currentUser ? UserModel.currentUser.headerColor : ncBlue @@ -191,7 +190,6 @@ QtObject { property int progressBarContentBorderWidth: 1 property int progressBarBackgroundBorderWidth: 1 property color progressBarContentColor: ncBlue - property color progressBarBackgroundColor: backgroundColor property int newActivitiesButtonWidth: 150 property int newActivitiesButtonHeight: 40