Commit 7dbb9fd4 authored by Han Young's avatar Han Young Committed by Devin Lin
Browse files

use system theme for keypad

related: #52
parent 6f2742d2
...@@ -217,16 +217,16 @@ Rectangle { ...@@ -217,16 +217,16 @@ Rectangle {
width: parent.width width: parent.width
height: parent.height height: parent.height
radius: 5 radius: 5
color: "white" color: PlasmaCore.Theme.buttonBackgroundColor
visible: modelData.length > 0 visible: modelData.length > 0
AbstractButton { AbstractButton {
anchors.fill: parent anchors.fill: parent
onPressedChanged: { onPressedChanged: {
if(pressed) if(pressed)
parent.color = "#e0e0e0" parent.color = PlasmaCore.Theme.buttonFocusColor
else else
parent.color = "white" parent.color = PlasmaCore.Theme.buttonBackgroundColor
} }
onClicked: { onClicked: {
...@@ -262,7 +262,7 @@ Rectangle { ...@@ -262,7 +262,7 @@ Rectangle {
text: modelData text: modelData
anchors.centerIn: parent anchors.centerIn: parent
font.pointSize: 18 font.pointSize: 18
color: "#424242" color: PlasmaCore.Theme.textColor
} }
PlasmaCore.IconItem { PlasmaCore.IconItem {
......
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