diff options
author | jan Iversen <jan@casacondor.com> | 2020-01-18 13:05:05 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-01-18 12:44:05 -0800 |
commit | 5c2e08199f62c4b38a2fecedf5cb586143d24eb1 (patch) | |
tree | 1336cc9ae3a2e2c4978c7257dbf2f42b858b9c8a | |
parent | bcfe505f097667545b0815895ccc79de3be5c5c8 (diff) | |
download | subsurface-5c2e08199f62c4b38a2fecedf5cb586143d24eb1.tar.gz |
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>
-rw-r--r-- | mobile-widgets/qml/main.qml | 6 |
1 files changed, 3 insertions, 3 deletions
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 |