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 <jan@casacondor.com>
This commit is contained in:
jan Iversen 2020-01-18 13:05:05 +01:00 committed by Dirk Hohndel
parent bcfe505f09
commit 5c2e08199f

View file

@ -676,6 +676,8 @@ if you have network connectivity and want to sync your data to cloud storage."),
property color textColor property color textColor
property color secondaryTextColor property color secondaryTextColor
property color drawerColor property color drawerColor
property color contrastAccentColor: "#FF5722" // used for delete button
property color lightDrawerColor: "#FFFFFF"
// colors for the blue theme // colors for the blue theme
property color blueDarkerPrimaryColor: "#303F9f" 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 darkBackgroundColor: "#303030"
property color darkTextColor: darkPrimaryTextColor property color darkTextColor: darkPrimaryTextColor
property color darkSecondaryTextColor: "#757575" property color darkSecondaryTextColor: "#757575"
property color contrastAccentColor: "#FF5722" // used for delete button
property color lightDrawerColor: "#FFFFFF"
property color darkDrawerColor: "#424242" property color darkDrawerColor: "#424242"
property int initialWidth: rootItem.width property int initialWidth: rootItem.width
property int initialHeight: rootItem.height property int initialHeight: rootItem.height
Component.onCompleted: { Component.onCompleted: {
// break the binding // break the binding
initialWidth = initialWidth * 1 initialWidth = initialWidth * 1