diff --git a/src/qml/main.qml b/src/qml/main.qml --- a/src/qml/main.qml +++ b/src/qml/main.qml @@ -23,7 +23,7 @@ Rectangle { id: root //WORKAROUND: makes the rectangle's color match the background color - color: Qt.tint(Kirigami.Theme.backgroundColor, Qt.rgba(Kirigami.Theme.viewBackgroundColor.r, Kirigami.Theme.viewBackgroundColor.g, Kirigami.Theme.viewBackgroundColor.b, 0.3)) + color: Qt.tint(palette.window, Qt.rgba(palette.base.r, palette.base.g, palette.base.b, 0.3)) height: Math.round(Kirigami.Units.gridUnit * 24) property string themeName: "" @@ -102,4 +102,8 @@ wrapMode: Text.Wrap } } + SystemPalette { + id: palette + colorGroup: SystemPalette.Active + } }