add base update button handler
This commit is contained in:
@@ -17,9 +17,9 @@ Button {
|
||||
|
||||
background: Rectangle {
|
||||
radius: 1
|
||||
color: !root.enabled ? "#313244" : root.down ? "#6f8fd8" : root.hovered ? "#89b4fa" : "#8CAAEE"
|
||||
color: !root.enabled ? Theme.color5 : root.down ? Theme.color11 : root.hovered ? Theme.color6 : Theme.color10
|
||||
border.width: root.visualFocus ? 2 : 0
|
||||
border.color: "#cdd6f4"
|
||||
border.color: Theme.color2
|
||||
|
||||
Behavior on color { ColorAnimation { duration: 100 } }
|
||||
}
|
||||
@@ -27,7 +27,7 @@ Button {
|
||||
contentItem: Text {
|
||||
text: root.text
|
||||
font: root.font
|
||||
color: root.enabled ? "#1e1e2e" : "#585b70"
|
||||
color: root.enabled ? Theme.color8 : Theme.color12
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user