summaryrefslogtreecommitdiffstats
path: root/components/package/contents
diff options
context:
space:
mode:
authorMichael Bohlender <michael.bohlender@kdemail.net>2016-03-10 12:41:52 +0100
committerMichael Bohlender <michael.bohlender@kdemail.net>2016-03-10 12:41:52 +0100
commit73b2621624c87528ce776b74555ec98c56115661 (patch)
treecbb185ebbe46d96f5a1bbc86452d02e771737ff0 /components/package/contents
parent581f2d772c3fe7226a56c0c24aa70f8676aa250b (diff)
downloadkube-73b2621624c87528ce776b74555ec98c56115661.tar.gz
kube-73b2621624c87528ce776b74555ec98c56115661.zip
remove Colorpalette.qml and change its use to the theme plugin
Diffstat (limited to 'components/package/contents')
-rw-r--r--components/package/contents/ui/ColorPalette.qml26
-rw-r--r--components/package/contents/ui/FocusComposer.qml4
-rw-r--r--components/package/contents/ui/MailListView.qml1
-rw-r--r--components/package/contents/ui/Settings.qml5
-rw-r--r--components/package/contents/ui/SingleMailView.qml3
5 files changed, 7 insertions, 32 deletions
diff --git a/components/package/contents/ui/ColorPalette.qml b/components/package/contents/ui/ColorPalette.qml
deleted file mode 100644
index db85cac6..00000000
--- a/components/package/contents/ui/ColorPalette.qml
+++ /dev/null
@@ -1,26 +0,0 @@
1/*
2 * Copyright (C) 2015 Michael Bohlender <michael.bohlender@kdemail.net>
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 3 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, see <http://www.gnu.org/licenses/>.
16 */
17
18import QtQuick 2.4
19
20//TODO probably expose it from the Cpp side
21Item {
22 property string background: "#fcfcfc"
23 property string selected: "#3daee9"
24 property string read: "#232629"
25 property string border: "#232629"
26} \ No newline at end of file
diff --git a/components/package/contents/ui/FocusComposer.qml b/components/package/contents/ui/FocusComposer.qml
index 5c4d88d7..bc8b3f2d 100644
--- a/components/package/contents/ui/FocusComposer.qml
+++ b/components/package/contents/ui/FocusComposer.qml
@@ -45,7 +45,7 @@ Rectangle {
45 height: root.height * 0.8 45 height: root.height * 0.8
46 width: root.width * 0.8 46 width: root.width * 0.8
47 47
48 color: colorPalette.background 48 color: ColorPalette.background
49 49
50 MouseArea { 50 MouseArea {
51 anchors.fill: parent 51 anchors.fill: parent
@@ -80,4 +80,4 @@ Rectangle {
80 } 80 }
81 } 81 }
82 } 82 }
83} \ No newline at end of file 83}
diff --git a/components/package/contents/ui/MailListView.qml b/components/package/contents/ui/MailListView.qml
index 8b612c52..bf5185dc 100644
--- a/components/package/contents/ui/MailListView.qml
+++ b/components/package/contents/ui/MailListView.qml
@@ -72,7 +72,6 @@ ScrollView {
72 72
73 anchors.fill: parent 73 anchors.fill: parent
74 74
75 // color: colorPalette.read
76 color: "steelblue" 75 color: "steelblue"
77 opacity: 0.1 76 opacity: 0.1
78 77
diff --git a/components/package/contents/ui/Settings.qml b/components/package/contents/ui/Settings.qml
index 692ddd0a..fa886f2b 100644
--- a/components/package/contents/ui/Settings.qml
+++ b/components/package/contents/ui/Settings.qml
@@ -23,13 +23,14 @@ import org.kde.plasma.core 2.0 as PlasmaCore
23 23
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
26import org.kube.framework.theme 1.0
26 27
27Rectangle { 28Rectangle {
28 id: root 29 id: root
29 30
30 visible: false 31 visible: false
31 32
32 color: colorPalette.border 33 color: ColorPalette.border
33 34
34 opacity: 0.9 35 opacity: 0.9
35 36
@@ -47,7 +48,7 @@ Rectangle {
47 height: root.height * 0.8 48 height: root.height * 0.8
48 width: root.width * 0.8 49 width: root.width * 0.8
49 50
50 color: colorPalette.background 51 color: ColorPalette.background
51 52
52 MouseArea { 53 MouseArea {
53 anchors.fill: parent 54 anchors.fill: parent
diff --git a/components/package/contents/ui/SingleMailView.qml b/components/package/contents/ui/SingleMailView.qml
index ff48a9d3..4b801a89 100644
--- a/components/package/contents/ui/SingleMailView.qml
+++ b/components/package/contents/ui/SingleMailView.qml
@@ -20,6 +20,7 @@ import QtQuick.Controls 1.3
20import QtQuick.Layouts 1.1 20import QtQuick.Layouts 1.1
21 21
22import org.kube.framework.domain 1.0 as KubeFramework 22import org.kube.framework.domain 1.0 as KubeFramework
23import org.kube.framework.theme 1.0
23 24
24Item { 25Item {
25 id: root 26 id: root
@@ -30,7 +31,7 @@ Item {
30 31
31 anchors.fill: parent 32 anchors.fill: parent
32 33
33 color: colorPalette.background 34 color: ColorPalette.background
34 } 35 }
35 36
36 Repeater { 37 Repeater {