summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Bohlender <michael.bohlender@kdemail.net>2016-06-20 09:11:49 +0200
committerMichael Bohlender <michael.bohlender@kdemail.net>2016-06-20 09:11:49 +0200
commit3d81e5da850f459715b36b709b43d4f2bb0a2d51 (patch)
treefddcad655846e336acaca246b808843b926aa314
parent9b63f3f0b8705b7075206c9511aa64eb4ac79c44 (diff)
downloadkube-3d81e5da850f459715b36b709b43d4f2bb0a2d51.tar.gz
kube-3d81e5da850f459715b36b709b43d4f2bb0a2d51.zip
composer: fix issues with dark themes
-rw-r--r--components/package/contents/ui/Composer.qml12
-rw-r--r--components/package/contents/ui/FocusComposer.qml8
2 files changed, 11 insertions, 9 deletions
diff --git a/components/package/contents/ui/Composer.qml b/components/package/contents/ui/Composer.qml
index aef6913b..1558ba0a 100644
--- a/components/package/contents/ui/Composer.qml
+++ b/components/package/contents/ui/Composer.qml
@@ -20,6 +20,8 @@ import QtQuick.Controls 1.4
20import QtQuick.Layouts 1.1 20import QtQuick.Layouts 1.1
21import QtQuick.Dialogs 1.0 21import QtQuick.Dialogs 1.0
22 22
23import org.kde.kirigami 1.0 as Kirigami
24
23import org.kube.framework.domain 1.0 as KubeFramework 25import org.kube.framework.domain 1.0 as KubeFramework
24 26
25 27
@@ -54,7 +56,7 @@ Item {
54 56
55 columns: 2 57 columns: 2
56 58
57 Label { 59 Kirigami.Label {
58 text: "From" 60 text: "From"
59 } 61 }
60 62
@@ -70,7 +72,7 @@ Item {
70 } 72 }
71 } 73 }
72 74
73 Label { 75 Kirigami.Label {
74 text: "To" 76 text: "To"
75 } 77 }
76 78
@@ -112,7 +114,7 @@ Item {
112 } 114 }
113 } 115 }
114 116
115 Label { 117 Kirigami.Label {
116 text: "Cc" 118 text: "Cc"
117 119
118 visible: cc.visible 120 visible: cc.visible
@@ -132,7 +134,7 @@ Item {
132 } 134 }
133 } 135 }
134 136
135 Label { 137 Kirigami.Label {
136 text: "Bcc" 138 text: "Bcc"
137 139
138 visible: bcc.visible 140 visible: bcc.visible
@@ -209,7 +211,7 @@ Item {
209 211
210 model: composer.attachments 212 model: composer.attachments
211 213
212 delegate: Label { 214 delegate: Kirigami.Label {
213 id: name 215 id: name
214 216
215 text: modelData 217 text: modelData
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
19import QtQuick.Controls 1.4 19import QtQuick.Controls 1.4
20import QtQuick.Layouts 1.1 20import QtQuick.Layouts 1.1
21 21
22import org.kube.framework.theme 1.0 22import org.kde.kirigami 1.0 as Kirigami
23 23
24Rectangle { 24Rectangle {
25 id: root 25 id: root
@@ -28,7 +28,7 @@ Rectangle {
28 composer.loadMessage(message, loadAsDraft); 28 composer.loadMessage(message, loadAsDraft);
29 } 29 }
30 30
31 color: ColorPalette.border 31 color: Kirigami.Theme.textColor
32 32
33 opacity: 0.9 33 opacity: 0.9
34 34
@@ -46,7 +46,7 @@ Rectangle {
46 height: root.height * 0.8 46 height: root.height * 0.8
47 width: root.width * 0.8 47 width: root.width * 0.8
48 48
49 color: ColorPalette.background 49 color: Kirigami.Theme.backgroundColor
50 50
51 MouseArea { 51 MouseArea {
52 anchors.fill: parent 52 anchors.fill: parent
@@ -56,7 +56,7 @@ Rectangle {
56 56
57 anchors { 57 anchors {
58 fill: parent 58 fill: parent
59 margins: Unit.size * 3 59 margins: Kirigami.Units.largeSpacing
60 } 60 }
61 61
62 Composer { 62 Composer {