diff options
author | Michael Bohlender <michael.bohlender@kdemail.net> | 2017-03-29 09:48:44 +0200 |
---|---|---|
committer | Michael Bohlender <michael.bohlender@kdemail.net> | 2017-03-29 09:48:44 +0200 |
commit | 4c2d0a1a80aae76843ed047b59afb7f3899fe55a (patch) | |
tree | 80383ed30bb63673c66aeea8e8be9fcb7364e57f /components/package/contents/ui/Outbox.qml | |
parent | e230e903d7caed5821d439013d51141dedc09afb (diff) | |
download | kube-4c2d0a1a80aae76843ed047b59afb7f3899fe55a.tar.gz kube-4c2d0a1a80aae76843ed047b59afb7f3899fe55a.zip |
port outbox to kube theme
Diffstat (limited to 'components/package/contents/ui/Outbox.qml')
-rw-r--r-- | components/package/contents/ui/Outbox.qml | 7 |
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 | |||
25 | import org.kube.framework.actions 1.0 as KubeAction | 25 | import org.kube.framework.actions 1.0 as KubeAction |
26 | import org.kube.framework.domain 1.0 as KubeFramework | 26 | import org.kube.framework.domain 1.0 as KubeFramework |
27 | import org.kube.components 1.0 as KubeComponents | 27 | import org.kube.components 1.0 as KubeComponents |
28 | import org.kube.components.theme 1.0 as KubeTheme | ||
28 | 29 | ||
29 | Button { | 30 | Button { |
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 | } |