From 5c2e08199f62c4b38a2fecedf5cb586143d24eb1 Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Sat, 18 Jan 2020 13:05:05 +0100 Subject: mobile-widgets/qml: secure block of used colors is correct move contrastAccentColor, lightDrawerColor to block of used colors in order to avoid confusion. move darkDrawerColor to dark theme. Signed-off-by: jan Iversen --- mobile-widgets/qml/main.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mobile-widgets/qml') diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml index 33342c9e2..5362184f5 100644 --- a/mobile-widgets/qml/main.qml +++ b/mobile-widgets/qml/main.qml @@ -676,6 +676,8 @@ if you have network connectivity and want to sync your data to cloud storage."), property color textColor property color secondaryTextColor property color drawerColor + property color contrastAccentColor: "#FF5722" // used for delete button + property color lightDrawerColor: "#FFFFFF" // colors for the blue theme property color blueDarkerPrimaryColor: "#303F9f" @@ -709,12 +711,10 @@ if you have network connectivity and want to sync your data to cloud storage."), property color darkBackgroundColor: "#303030" property color darkTextColor: darkPrimaryTextColor property color darkSecondaryTextColor: "#757575" - - property color contrastAccentColor: "#FF5722" // used for delete button - property color lightDrawerColor: "#FFFFFF" property color darkDrawerColor: "#424242" property int initialWidth: rootItem.width property int initialHeight: rootItem.height + Component.onCompleted: { // break the binding initialWidth = initialWidth * 1 -- cgit v1.2.3-70-g09d2