Fix some invalid colors name + avoid hard coding colors and transparency.
This commit is contained in:
parent
10b70f0c53
commit
411ed72436
4 changed files with 10 additions and 10 deletions
|
|
@ -51,8 +51,8 @@ PopupWindow {
|
|||
Rectangle {
|
||||
id: bg
|
||||
anchors.fill: parent
|
||||
color: Theme.backgroundElevated || "#222"
|
||||
border.color: Theme.border || "#444"
|
||||
color: Theme.surfaceVariant || "#222"
|
||||
border.color: Theme.outline || "#444"
|
||||
border.width: 1
|
||||
radius: 12
|
||||
z: 0
|
||||
|
|
@ -84,7 +84,7 @@ PopupWindow {
|
|||
anchors.centerIn: parent
|
||||
width: parent.width - 20
|
||||
height: 1
|
||||
color: Qt.darker(Theme.backgroundElevated || "#222", 1.4)
|
||||
color: Qt.darker(Theme.surfaceVariant || "#222", 1.4)
|
||||
visible: modelData?.isSeparator ?? false
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue