Use palette base colour for windows (we always display item views)

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
Claudio Cambra 2024-11-14 17:12:54 +08:00
parent 2ab3af5954
commit a31e99897e
No known key found for this signature in database
GPG key ID: C839200C384636B0
9 changed files with 9 additions and 9 deletions

View file

@ -186,7 +186,7 @@ ColumnLayout {
anchors.centerIn: Overlay.overlay
background: Rectangle {
color: palette.window
color: palette.base
border.width: Style.normalBorderWidth
border.color: palette.dark
radius: Style.slightlyRoundedButtonRadius

View file

@ -32,7 +32,7 @@ Page {
padding: Style.standardSpacing * 2
background: Rectangle {
color: palette.window
color: palette.base
radius: Style.trayWindowRadius
}

View file

@ -31,7 +31,7 @@ StackView {
property bool backgroundsVisible: true
background: Rectangle {
color: palette.window
color: palette.base
visible: root.backgroundsVisible
}

View file

@ -175,7 +175,7 @@ Page {
padding: Style.standardSpacing * 2
background: Rectangle {
color: palette.window
color: palette.base
visible: root.backgroundsVisible
}

View file

@ -32,7 +32,7 @@ Page {
title: qsTr("Virtual files settings")
background: Rectangle {
color: palette.window
color: palette.base
border.width: root.showBorder ? Style.normalBorderWidth : 0
border.color: root.palette.dark
}

View file

@ -24,7 +24,7 @@ import Qt5Compat.GraphicalEffects
ApplicationWindow {
id: root
color: palette.window
color: palette.base
flags: Qt.Dialog | Qt.FramelessWindowHint | Qt.WindowStaysOnTopHint
readonly property int windowSpacing: 10

View file

@ -9,7 +9,7 @@ ApplicationWindow {
id: root
flags: Qt.Dialog | Qt.FramelessWindowHint | Qt.WindowStaysOnTopHint
color: palette.window
color: palette.base
width: 320
height: contentLayout.implicitHeight

View file

@ -140,7 +140,7 @@ ApplicationWindow {
radius: Systray.useNormalWindow ? 0.0 : Style.trayWindowRadius
border.width: Style.trayWindowBorderWidth
border.color: palette.dark
color: palette.window
color: palette.base
}
property int userIndex: 0

View file

@ -17,7 +17,7 @@ QtObject {
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.window
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)