[kcm_kwindecoration] Respect theme colors in buttons

https://phabricator.kde.org/D5116

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
This commit is contained in:
Anthony Fieroni 2017-03-21 20:56:25 +02:00
parent 7573fe8c12
commit f0b3be5844

View file

@ -39,7 +39,7 @@ Item {
anchors.fill: parent anchors.fill: parent
anchors.topMargin: units.gridUnit / 2 anchors.topMargin: units.gridUnit / 2
border.width: Math.ceil(units.gridUnit / 16.0) border.width: Math.ceil(units.gridUnit / 16.0)
color: SystemPalette.base; color: backgroundColor;
border.color: highlightColor; border.color: highlightColor;
ColumnLayout { ColumnLayout {
id: layout id: layout
@ -51,7 +51,7 @@ Item {
Layout.fillWidth: true Layout.fillWidth: true
border.width: Math.ceil(units.gridUnit / 16.0) border.width: Math.ceil(units.gridUnit / 16.0)
border.color: highlightColor border.color: highlightColor
color: SystemPalette.base; color: backgroundColor;
RowLayout { RowLayout {
id: buttonPreviewRow id: buttonPreviewRow
anchors.top: parent.top; anchors.top: parent.top;
@ -194,7 +194,7 @@ Item {
id: dragHint id: dragHint
visible: !(leftButtonsView.dragging || rightButtonsView.dragging || availableGrid.dragging) visible: !(leftButtonsView.dragging || rightButtonsView.dragging || availableGrid.dragging)
Layout.fillWidth: true Layout.fillWidth: true
color: SystemPalette.text; color: backgroundColor;
opacity: 0.66 opacity: 0.66
horizontalAlignment: Text.AlignHCenter horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignTop verticalAlignment: Text.AlignTop