[kcm_kwindecoration] Respect theme colors in buttons
Differential Revision: https://phabricator.kde.org/D5116 Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
This commit is contained in:
parent
7573fe8c12
commit
afcdff25db
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue