From 3d81e5da850f459715b36b709b43d4f2bb0a2d51 Mon Sep 17 00:00:00 2001 From: Michael Bohlender Date: Mon, 20 Jun 2016 09:11:49 +0200 Subject: composer: fix issues with dark themes --- components/package/contents/ui/FocusComposer.qml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'components/package/contents/ui/FocusComposer.qml') diff --git a/components/package/contents/ui/FocusComposer.qml b/components/package/contents/ui/FocusComposer.qml index ea410338..b3c0d4a6 100644 --- a/components/package/contents/ui/FocusComposer.qml +++ b/components/package/contents/ui/FocusComposer.qml @@ -19,7 +19,7 @@ import QtQuick 2.4 import QtQuick.Controls 1.4 import QtQuick.Layouts 1.1 -import org.kube.framework.theme 1.0 +import org.kde.kirigami 1.0 as Kirigami Rectangle { id: root @@ -28,7 +28,7 @@ Rectangle { composer.loadMessage(message, loadAsDraft); } - color: ColorPalette.border + color: Kirigami.Theme.textColor opacity: 0.9 @@ -46,7 +46,7 @@ Rectangle { height: root.height * 0.8 width: root.width * 0.8 - color: ColorPalette.background + color: Kirigami.Theme.backgroundColor MouseArea { anchors.fill: parent @@ -56,7 +56,7 @@ Rectangle { anchors { fill: parent - margins: Unit.size * 3 + margins: Kirigami.Units.largeSpacing } Composer { -- cgit v1.2.3