summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Bohlender <michael.bohlender@kdemail.net>2016-06-20 15:06:53 +0200
committerMichael Bohlender <michael.bohlender@kdemail.net>2016-06-20 15:06:53 +0200
commite0de014eba1f739dd054fdf0b9988983aaf37653 (patch)
treef3354ce3fa06b925ba3a84c71b8c98c0b5ed9c84
parentb407989a1b83858e6f1bdbdac5a5ff97cdff5f9e (diff)
downloadkube-e0de014eba1f739dd054fdf0b9988983aaf37653.tar.gz
kube-e0de014eba1f739dd054fdf0b9988983aaf37653.zip
ensure that all the overlay dialogs work well with light and dark themes
-rw-r--r--components/package/contents/ui/EditAccountDialog.qml12
-rw-r--r--components/package/contents/ui/FocusComposer.qml3
-rw-r--r--components/package/contents/ui/NewAccountDialog.qml10
3 files changed, 17 insertions, 8 deletions
diff --git a/components/package/contents/ui/EditAccountDialog.qml b/components/package/contents/ui/EditAccountDialog.qml
index b450e5d6..26934c94 100644
--- a/components/package/contents/ui/EditAccountDialog.qml
+++ b/components/package/contents/ui/EditAccountDialog.qml
@@ -25,14 +25,20 @@ import org.kube.framework.settings 1.0 as KubeSettings
25import org.kube.framework.domain 1.0 as KubeFramework 25import org.kube.framework.domain 1.0 as KubeFramework
26import org.kube.framework.theme 1.0 26import org.kube.framework.theme 1.0
27 27
28Rectangle { 28Item {
29 id: root 29 id: root
30 30
31 property variant uiSource 31 property variant uiSource
32 property variant accountId 32 property variant accountId
33 33
34 color: Kirigami.Theme.textColor 34 Rectangle {
35 opacity: 0.9 35 id: background
36
37 anchors.fill: parent
38
39 color: "black"
40 opacity: 0.9
41 }
36 42
37 MouseArea { 43 MouseArea {
38 anchors.fill: parent 44 anchors.fill: parent
diff --git a/components/package/contents/ui/FocusComposer.qml b/components/package/contents/ui/FocusComposer.qml
index 7558fa99..5eec09d8 100644
--- a/components/package/contents/ui/FocusComposer.qml
+++ b/components/package/contents/ui/FocusComposer.qml
@@ -30,10 +30,9 @@ Item {
30 30
31 31
32 Rectangle { 32 Rectangle {
33
34 anchors.fill: parent 33 anchors.fill: parent
35 34
36 color: "black"//Kirigami.Theme.textColor 35 color: "black"
37 opacity: 0.6 36 opacity: 0.6
38 } 37 }
39 38
diff --git a/components/package/contents/ui/NewAccountDialog.qml b/components/package/contents/ui/NewAccountDialog.qml
index a1ac3324..fd1eeaec 100644
--- a/components/package/contents/ui/NewAccountDialog.qml
+++ b/components/package/contents/ui/NewAccountDialog.qml
@@ -24,12 +24,16 @@ import org.kde.kirigami 1.0 as Kirigami
24import org.kube.framework.settings 1.0 as KubeSettings 24import org.kube.framework.settings 1.0 as KubeSettings
25import org.kube.framework.domain 1.0 as KubeFramework 25import org.kube.framework.domain 1.0 as KubeFramework
26 26
27Rectangle { 27Item {
28 id: root 28 id: root
29 29
30 color: Kirigami.Theme.textColor 30 Rectangle {
31 id: background
32 anchors.fill: parent
31 33
32 opacity: 0.9 34 color: "black"
35 opacity: 0.6
36 }
33 37
34 MouseArea { 38 MouseArea {
35 anchors.fill: parent 39 anchors.fill: parent