Rename the Color singleton to avoid the Qt 6.12 clash
This commit is contained in:
1 parent
97854006b5
commit
d92290c06c
93 files changed
+342
-342
No files matched your search
@@ -31,9 +31,9 @@ Rectangle {
|
||||
|
||||
implicitHeight: form.implicitHeight + Style.spaceReal(24)
|
||||
radius: Style.cardRadius
|
||||
color: Util.alpha(Color.foreground, 0.06)
|
||||
color: Util.alpha(Colors.foreground, 0.06)
|
||||
border.width: 1
|
||||
border.color: Util.alpha(Color.accent, 0.6)
|
||||
border.color: Util.alpha(Colors.accent, 0.6)
|
||||
|
||||
Column {
|
||||
id: form
|
||||
@@ -47,7 +47,7 @@ Rectangle {
|
||||
text: !root.binding ? "New binding"
|
||||
: (root.binding.origin === "personal" ? "Edit binding" : "Replace default binding")
|
||||
textFormat: Text.PlainText
|
||||
color: Color.foreground
|
||||
color: Colors.foreground
|
||||
font.family: Style.font.family
|
||||
font.pixelSize: Style.font.bodySmall
|
||||
font.bold: true
|
||||
@@ -86,7 +86,7 @@ Rectangle {
|
||||
? "Replaces your binding: " + root.conflict.description
|
||||
: "Disables the default: " + root.conflict.description)
|
||||
textFormat: Text.PlainText
|
||||
color: Color.urgent
|
||||
color: Colors.urgent
|
||||
font.family: Style.font.family
|
||||
font.pixelSize: Style.font.caption
|
||||
}
|
||||
|
||||
@@ -22,7 +22,7 @@ Rectangle {
|
||||
|
||||
implicitHeight: Style.spaceReal(46)
|
||||
radius: Style.cardRadius
|
||||
color: hover.hovered ? Util.alpha(Color.foreground, 0.08) : Util.alpha(Color.background, Style.cardFillAlpha)
|
||||
color: hover.hovered ? Util.alpha(Colors.foreground, 0.08) : Util.alpha(Colors.background, Style.cardFillAlpha)
|
||||
|
||||
HoverHandler {
|
||||
id: hover
|
||||
@@ -36,9 +36,9 @@ Rectangle {
|
||||
width: Style.spaceReal(200)
|
||||
height: Style.spaceReal(26)
|
||||
radius: Style.cardRadius
|
||||
color: root.personal ? Util.alpha(Color.accent, 0.25) : Util.alpha(Color.foreground, 0.1)
|
||||
color: root.personal ? Util.alpha(Colors.accent, 0.25) : Util.alpha(Colors.foreground, 0.1)
|
||||
border.width: 1
|
||||
border.color: root.personal ? Color.accent : Util.alpha(Color.foreground, 0.2)
|
||||
border.color: root.personal ? Colors.accent : Util.alpha(Colors.foreground, 0.2)
|
||||
opacity: root.active ? 1 : 0.5
|
||||
|
||||
Text {
|
||||
@@ -49,7 +49,7 @@ Rectangle {
|
||||
text: root.binding ? root.binding.keys : ""
|
||||
textFormat: Text.PlainText
|
||||
elide: Text.ElideRight
|
||||
color: Color.foreground
|
||||
color: Colors.foreground
|
||||
font.family: Style.font.family
|
||||
font.pixelSize: Style.font.bodySmall
|
||||
font.bold: true
|
||||
@@ -70,7 +70,7 @@ Rectangle {
|
||||
text: root.binding ? root.binding.description : ""
|
||||
textFormat: Text.PlainText
|
||||
elide: Text.ElideRight
|
||||
color: Color.foreground
|
||||
color: Colors.foreground
|
||||
font.family: Style.font.family
|
||||
font.pixelSize: Style.font.bodySmall
|
||||
font.bold: true
|
||||
@@ -81,7 +81,7 @@ Rectangle {
|
||||
text: root.stateText
|
||||
textFormat: Text.PlainText
|
||||
elide: Text.ElideRight
|
||||
color: root.active ? Util.alpha(Color.foreground, 0.6) : Color.urgent
|
||||
color: root.active ? Util.alpha(Colors.foreground, 0.6) : Colors.urgent
|
||||
font.family: Style.font.family
|
||||
font.pixelSize: Style.font.caption
|
||||
}
|
||||
|
||||
@@ -136,7 +136,7 @@ Item {
|
||||
anchors.centerIn: parent
|
||||
implicitWidth: Math.min(Style.spaceReal(760), panelWindow.width - screenMargin * 2)
|
||||
implicitHeight: Math.min(Style.spaceReal(640), panelWindow.height - screenMargin * 2)
|
||||
fillColor: Util.alpha(Color.background, Style.panelFillAlpha)
|
||||
fillColor: Util.alpha(Colors.background, Style.panelFillAlpha)
|
||||
spacing: Style.spaceReal(10)
|
||||
|
||||
KeybindsHeader {
|
||||
@@ -214,7 +214,7 @@ Item {
|
||||
text: root.statusText.length > 0 ? root.statusText
|
||||
: root.visibleBindings.length + " bindings. Changes go to ~/.config/hypr/bindings.lua and Hyprland reloads."
|
||||
textFormat: Text.PlainText
|
||||
color: root.statusIsError ? Color.urgent : Util.alpha(Color.foreground, 0.6)
|
||||
color: root.statusIsError ? Colors.urgent : Util.alpha(Colors.foreground, 0.6)
|
||||
font.family: Style.font.family
|
||||
font.pixelSize: Style.font.caption
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@ Item {
|
||||
text: "Keybindings"
|
||||
textFormat: Text.PlainText
|
||||
elide: Text.ElideRight
|
||||
color: Color.foreground
|
||||
color: Colors.foreground
|
||||
font.family: Style.font.family
|
||||
font.pixelSize: Style.font.body
|
||||
font.bold: true
|
||||
|
||||
Reference in new issue
Block a user