From 22fa95550d6b13b00841bb727ab3cf23949b418e Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Wed, 11 Jul 2018 07:57:42 +0200 Subject: Less textcolor abuse --- components/kube/qml/Kube.qml | 2 +- framework/qml/TreeView.qml | 2 +- framework/qml/View.qml | 2 +- views/calendar/qml/View.qml | 2 +- views/composer/qml/View.qml | 4 ++-- views/search/qml/View.qml | 2 +- views/todo/qml/View.qml | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/components/kube/qml/Kube.qml b/components/kube/qml/Kube.qml index b158e1e8..8cbe8691 100644 --- a/components/kube/qml/Kube.qml +++ b/components/kube/qml/Kube.qml @@ -136,7 +136,7 @@ Controls2.ApplicationWindow { bottom: mainContent.bottom } width: app.sidebarWidth - color: Kube.Colors.textColor + color: Kube.Colors.darkBackgroundColor Rectangle { anchors.right: parent.right diff --git a/framework/qml/TreeView.qml b/framework/qml/TreeView.qml index c4a1a2ab..3f30959f 100644 --- a/framework/qml/TreeView.qml +++ b/framework/qml/TreeView.qml @@ -175,7 +175,7 @@ FocusScope { text: styleData.isExpanded ? "-" : "+" } - backgroundColor: Kube.Colors.textColor + backgroundColor: Kube.Colors.darkBackgroundColor highlightedTextColor: Kube.Colors.highlightedTextColor } } diff --git a/framework/qml/View.qml b/framework/qml/View.qml index 2cc8663f..9daa76a8 100644 --- a/framework/qml/View.qml +++ b/framework/qml/View.qml @@ -88,7 +88,7 @@ FocusScope { left: container.left } z: 1 - color: Kube.Colors.textColor + color: Kube.Colors.darkBackgroundColor iconName: Kube.Icons.goBack_inverted visible: currentIndex > 0 onClicked: decrementCurrentIndex() diff --git a/views/calendar/qml/View.qml b/views/calendar/qml/View.qml index f870a850..c46b9480 100644 --- a/views/calendar/qml/View.qml +++ b/views/calendar/qml/View.qml @@ -34,7 +34,7 @@ RowLayout { Rectangle { width: Kube.Units.gridUnit * 10 Layout.fillHeight: parent.height - color: Kube.Colors.textColor + color: Kube.Colors.darkBackgroundColor Kube.PositiveButton { id: newEventButton diff --git a/views/composer/qml/View.qml b/views/composer/qml/View.qml index babe5f47..97604456 100644 --- a/views/composer/qml/View.qml +++ b/views/composer/qml/View.qml @@ -108,7 +108,7 @@ Kube.View { width: Kube.Units.gridUnit * 15 Layout.minimumWidth: Kube.Units.gridUnit * 5 - color: Kube.Colors.textColor + color: Kube.Colors.darkBackgroundColor ColumnLayout { @@ -181,7 +181,7 @@ Kube.View { delegate: Kube.ListDelegate { id: delegateRoot - color: Kube.Colors.textColor + color: Kube.Colors.darkBackgroundColor border.width: 0 Item { diff --git a/views/search/qml/View.qml b/views/search/qml/View.qml index d63f6d1f..63e56e44 100644 --- a/views/search/qml/View.qml +++ b/views/search/qml/View.qml @@ -35,7 +35,7 @@ FocusScope { id: filterField Layout.fillWidth: true height: Kube.Units.gridUnit * 2 - color: Kube.Colors.textColor + color: Kube.Colors.darkBackgroundColor function clearSearch() { find.text = "" diff --git a/views/todo/qml/View.qml b/views/todo/qml/View.qml index bf7b7dd6..ca2bacc1 100644 --- a/views/todo/qml/View.qml +++ b/views/todo/qml/View.qml @@ -33,7 +33,7 @@ FocusScope { Rectangle { width: Kube.Units.gridUnit * 10 Layout.fillHeight: parent.height - color: Kube.Colors.textColor + color: Kube.Colors.darkBackgroundColor Kube.PositiveButton { id: newTaskButton -- cgit v1.2.3