summaryrefslogtreecommitdiffstats
path: root/components/package/contents/ui/Outbox.qml
diff options
context:
space:
mode:
Diffstat (limited to 'components/package/contents/ui/Outbox.qml')
-rw-r--r--components/package/contents/ui/Outbox.qml7
1 files changed, 4 insertions, 3 deletions
diff --git a/components/package/contents/ui/Outbox.qml b/components/package/contents/ui/Outbox.qml
index e9ed4066..6e29946b 100644
--- a/components/package/contents/ui/Outbox.qml
+++ b/components/package/contents/ui/Outbox.qml
@@ -25,6 +25,7 @@ import org.kde.kirigami 1.0 as Kirigami
25import org.kube.framework.actions 1.0 as KubeAction 25import org.kube.framework.actions 1.0 as KubeAction
26import org.kube.framework.domain 1.0 as KubeFramework 26import org.kube.framework.domain 1.0 as KubeFramework
27import org.kube.components 1.0 as KubeComponents 27import org.kube.components 1.0 as KubeComponents
28import org.kube.components.theme 1.0 as KubeTheme
28 29
29Button { 30Button {
30 id: root 31 id: root
@@ -72,8 +73,8 @@ Button {
72 height: Kirigami.Units.gridUnit * 3 73 height: Kirigami.Units.gridUnit * 3
73 width: listView.width 74 width: listView.width
74 75
75 color: Kirigami.Theme.viewBackgroundColor 76 color: KubeTheme.Colors.viewBackgroundColor
76 border.color: Kirigami.Theme.backgroundColor 77 border.color: KubeTheme.Colors.backgroundColor
77 border.width: 1 78 border.width: 1
78 79
79 Label { 80 Label {
@@ -86,7 +87,7 @@ Button {
86 text: model.subject 87 text: model.subject
87 88
88 //FIXME use theme color 89 //FIXME use theme color
89 color: model.status == "error" ? "red" : Kirigami.Theme.textColor 90 color: model.status == "error" ? KubeTheme.Colors.warningColor : KubeTheme.Colors.textColor
90 opacity: model.status == "sent" ? 0.5 : 1 91 opacity: model.status == "sent" ? 0.5 : 1
91 } 92 }
92 } 93 }