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 {
|
Rectangle {
|
||||||
id: bg
|
id: bg
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
color: Theme.backgroundElevated || "#222"
|
color: Theme.surfaceVariant || "#222"
|
||||||
border.color: Theme.border || "#444"
|
border.color: Theme.outline || "#444"
|
||||||
border.width: 1
|
border.width: 1
|
||||||
radius: 12
|
radius: 12
|
||||||
z: 0
|
z: 0
|
||||||
|
|
@ -84,7 +84,7 @@ PopupWindow {
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
width: parent.width - 20
|
width: parent.width - 20
|
||||||
height: 1
|
height: 1
|
||||||
color: Qt.darker(Theme.backgroundElevated || "#222", 1.4)
|
color: Qt.darker(Theme.surfaceVariant || "#222", 1.4)
|
||||||
visible: modelData?.isSeparator ?? false
|
visible: modelData?.isSeparator ?? false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import QtQuick
|
import QtQuick
|
||||||
import QtQuick.Window 2.15
|
import QtQuick.Window 2.15
|
||||||
import qs.Settings
|
import qs.Settings
|
||||||
|
|
||||||
|
|
@ -57,8 +57,8 @@ Window {
|
||||||
Rectangle {
|
Rectangle {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
radius: 6
|
radius: 6
|
||||||
color: "#222"
|
color: Theme.backgroundTertiary || "#222"
|
||||||
border.color: Theme.backgroundTertiary || "#444"
|
border.color: Theme.outline || "#444"
|
||||||
border.width: 1
|
border.width: 1
|
||||||
opacity: 0.97
|
opacity: 0.97
|
||||||
z: 1
|
z: 1
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,6 @@
|
||||||
"onAccent": "#0E0F10",
|
"onAccent": "#0E0F10",
|
||||||
"outline": "#565758",
|
"outline": "#565758",
|
||||||
|
|
||||||
"shadow": "#0E0F10",
|
"shadow": "#B30E0F10",
|
||||||
"overlay": "#0E0F10"
|
"overlay": "#660E0F10"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -97,8 +97,8 @@ Singleton {
|
||||||
property color outline: themeData.outline
|
property color outline: themeData.outline
|
||||||
|
|
||||||
// Shadows & Overlays
|
// Shadows & Overlays
|
||||||
property color shadow: applyOpacity(themeData.shadow, "B3")
|
property color shadow: themeData.shadow
|
||||||
property color overlay: applyOpacity(themeData.overlay, "66")
|
property color overlay: themeData.overlay
|
||||||
|
|
||||||
// Font Properties
|
// Font Properties
|
||||||
property string fontFamily: "Roboto" // Family for all text
|
property string fontFamily: "Roboto" // Family for all text
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue