summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-04-25 15:31:34 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-04-25 15:31:34 +0200
commitcf7cc1d9707399c3cc270f4b3c6987175d7baf49 (patch)
treed68c7c1b3913e6440bf9ac14b5c7385b98cf0f13
parent629e354ebc7d8b19ddd57f9da2a3538eea27f148 (diff)
downloadkube-cf7cc1d9707399c3cc270f4b3c6987175d7baf49.tar.gz
kube-cf7cc1d9707399c3cc270f4b3c6987175d7baf49.zip
Hardcode colors in a single place
-rw-r--r--components/kube/contents/ui/Kube.qml2
-rw-r--r--framework/qml/Colors.qml1
2 files changed, 2 insertions, 1 deletions
diff --git a/components/kube/contents/ui/Kube.qml b/components/kube/contents/ui/Kube.qml
index d2d2fad2..33abaadb 100644
--- a/components/kube/contents/ui/Kube.qml
+++ b/components/kube/contents/ui/Kube.qml
@@ -106,7 +106,7 @@ Controls2.ApplicationWindow {
106 bottom: parent.bottom 106 bottom: parent.bottom
107 } 107 }
108 width: Kube.Units.gridUnit + Kube.Units.largeSpacing 108 width: Kube.Units.gridUnit + Kube.Units.largeSpacing
109 color: "#232629"//Kube.Colors.textColor 109 color: Kube.Colors.statusbarColor
110 110
111 Column { 111 Column {
112 anchors { 112 anchors {
diff --git a/framework/qml/Colors.qml b/framework/qml/Colors.qml
index e3c53a1f..523d5b23 100644
--- a/framework/qml/Colors.qml
+++ b/framework/qml/Colors.qml
@@ -31,5 +31,6 @@ Item {
31 property string positiveColor: "#27ae60" 31 property string positiveColor: "#27ae60"
32 property string warningColor: "#f67400" 32 property string warningColor: "#f67400"
33 property string negativeColor: "#ed1515" 33 property string negativeColor: "#ed1515"
34 property string statusbarColor: "#232629"
34} 35}
35 36