mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-21 12:35:52 +03:00
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:
parent
2ab3af5954
commit
a31e99897e
9 changed files with 9 additions and 9 deletions
|
@ -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
|
||||
|
|
|
@ -32,7 +32,7 @@ Page {
|
|||
padding: Style.standardSpacing * 2
|
||||
|
||||
background: Rectangle {
|
||||
color: palette.window
|
||||
color: palette.base
|
||||
radius: Style.trayWindowRadius
|
||||
}
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ StackView {
|
|||
property bool backgroundsVisible: true
|
||||
|
||||
background: Rectangle {
|
||||
color: palette.window
|
||||
color: palette.base
|
||||
visible: root.backgroundsVisible
|
||||
}
|
||||
|
||||
|
|
|
@ -175,7 +175,7 @@ Page {
|
|||
padding: Style.standardSpacing * 2
|
||||
|
||||
background: Rectangle {
|
||||
color: palette.window
|
||||
color: palette.base
|
||||
visible: root.backgroundsVisible
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue