Commit 5ca7f2ff authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Use positive and negative colors for the install button

parent 732a0ffb
......@@ -21,7 +21,10 @@ ConditionalLoader
property QtObject action: Kirigami.Action {
text: root.text
iconName: application.isInstalled ? "uninstall" : "install"
icon {
name: application.isInstalled ? "uninstall" : "install"
color: application.isInstalled ? Kirigami.Theme.negativeTextColor : Kirigami.Theme.positiveTextColor
}
visible: !listener.isActive && !applicationWindow().wideScreen
onTriggered: root.click()
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment