works
This commit is contained in:
@@ -41,7 +41,7 @@ Item {
|
||||
|
||||
visible: root.visible
|
||||
|
||||
color: Pywal.special.background
|
||||
color: Settings.special.background
|
||||
radius: root.radius
|
||||
|
||||
item: main
|
||||
@@ -49,7 +49,7 @@ Item {
|
||||
WrapperMouseArea {
|
||||
ClippingRectangle {
|
||||
//anchors.fill: parent
|
||||
color: Pywal.special.background
|
||||
color: Settings.special.background
|
||||
id: main
|
||||
|
||||
radius: root.radius
|
||||
@@ -80,7 +80,7 @@ Item {
|
||||
implicitWidth: 40
|
||||
implicitHeight: 40
|
||||
radius: root.radius
|
||||
color: index == selected ? Pywal.colors.color13 : Pywal.colors.color4
|
||||
color: index == selected ? Settings.colors.color13 : Settings.colors.color4
|
||||
//LauncherButton { anchors.centerIn: parent }
|
||||
Text {
|
||||
font.pointSize: 14
|
||||
@@ -107,14 +107,14 @@ Item {
|
||||
return "";
|
||||
}
|
||||
anchors.centerIn: parent
|
||||
color: Pywal.colors.color0
|
||||
color: Settings.colors.color0
|
||||
}
|
||||
}
|
||||
onEntered: child.color = Qt.binding(() => index == selected ? Pywal.colors.color13 : Pywal.colors.color12)
|
||||
onExited: child.color = Qt.binding(() => index == selected ? Pywal.colors.color13 : Pywal.colors.color4)
|
||||
onEntered: child.color = Qt.binding(() => index == selected ? Settings.colors.color13 : Settings.colors.color12)
|
||||
onExited: child.color = Qt.binding(() => index == selected ? Settings.colors.color13 : Settings.colors.color4)
|
||||
onClicked: {
|
||||
selected = index
|
||||
child.color = Qt.binding(() => index == selected ? Pywal.colors.color13 : Pywal.colors.color4)
|
||||
child.color = Qt.binding(() => index == selected ? Settings.colors.color13 : Settings.colors.color4)
|
||||
}
|
||||
hoverEnabled: true
|
||||
}
|
||||
@@ -126,7 +126,7 @@ Item {
|
||||
implicitWidth: parent.width - tabs.width - 2 * parent.spacing - rTabs.width - 2 * parent.spacing
|
||||
implicitHeight: parent.height
|
||||
radius: root.radius
|
||||
color: Pywal.colors.color1
|
||||
color: Settings.colors.color1
|
||||
|
||||
NotificationServer {
|
||||
id: nserver
|
||||
@@ -205,7 +205,7 @@ Item {
|
||||
implicitHeight: 40
|
||||
radius: root.radius
|
||||
property bool use: false
|
||||
color: use ? Pywal.colors.color13 : Pywal.colors.color4
|
||||
color: use ? Settings.colors.color13 : Settings.colors.color4
|
||||
//LauncherButton { anchors.centerIn: parent }
|
||||
Text {
|
||||
font.pointSize: 14
|
||||
@@ -232,11 +232,11 @@ Item {
|
||||
return "";
|
||||
}
|
||||
anchors.centerIn: parent
|
||||
color: Pywal.colors.color0
|
||||
color: Settings.colors.color0
|
||||
}
|
||||
}
|
||||
onEntered: child.color = Qt.binding(() => child.use ? Pywal.colors.color13 : Pywal.colors.color12)
|
||||
onExited: child.color = Qt.binding(() => child.use ? Pywal.colors.color13 : Pywal.colors.color4)
|
||||
onEntered: child.color = Qt.binding(() => child.use ? Settings.colors.color13 : Settings.colors.color12)
|
||||
onExited: child.color = Qt.binding(() => child.use ? Settings.colors.color13 : Settings.colors.color4)
|
||||
onClicked: {
|
||||
child.use = !child.use
|
||||
|
||||
|
||||
Reference in New Issue
Block a user