From 87a4ce23ddf8b1481bf9cac11abd318bc97301d9 Mon Sep 17 00:00:00 2001 From: Michael Bohlender Date: Wed, 29 Mar 2017 09:57:22 +0200 Subject: port notifications to kube theme --- components/package/contents/ui/Notification.qml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'components/package/contents') diff --git a/components/package/contents/ui/Notification.qml b/components/package/contents/ui/Notification.qml index 95be52b6..8c0551f8 100644 --- a/components/package/contents/ui/Notification.qml +++ b/components/package/contents/ui/Notification.qml @@ -1,6 +1,9 @@ import QtQuick 2.0 import QtQuick.Controls 2.0 + import org.kde.kirigami 1.0 as Kirigami +import org.kube.components.theme 1.0 as KubeTheme + MouseArea { id: popup @@ -23,7 +26,7 @@ MouseArea { function notify(text) { popup.title = text - bg.color = Kirigami.Theme.textColor + bg.color = KubeTheme.Colors.textColor show() } @@ -70,7 +73,7 @@ MouseArea { font.pixelSize: 16 - color: Kirigami.Theme.highlightedTextColor + color: KubeTheme.Colors.highlighedTextColor horizontalAlignment: Text.AlignHCenter elide: Text.ElideRight wrapMode: Text.Wrap -- cgit v1.2.3