summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/main.qml
diff options
context:
space:
mode:
authorGravatar jan Iversen <jan@casacondor.com>2020-01-18 13:21:25 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-01-18 12:44:05 -0800
commitfe8b7e3b726dbb8a5dca80dbe5ad52b59ab5244f (patch)
tree448658c12569a0133a1eb7bd4c17375c45ee54d2 /mobile-widgets/qml/main.qml
parent65a0a9c7ebde02fc1b439081bdf0e00a921d779c (diff)
downloadsubsurface-fe8b7e3b726dbb8a5dca80dbe5ad52b59ab5244f.tar.gz
mobile-widget/qml: add missing colors to dark theme
add missing colors so that dark theme contains the same colors as "colors in use". Update the darkTheme() to correctly copy colors from pink theme Signed-off-by: jan Iversen <jan@casacondor.com>
Diffstat (limited to 'mobile-widgets/qml/main.qml')
-rw-r--r--mobile-widgets/qml/main.qml5
1 files changed, 5 insertions, 0 deletions
diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml
index 37c642bef..94c5dd3c4 100644
--- a/mobile-widgets/qml/main.qml
+++ b/mobile-widgets/qml/main.qml
@@ -620,6 +620,8 @@ if you have network connectivity and want to sync your data to cloud storage."),
subsurfaceTheme.secondaryTextColor = subsurfaceTheme.darkSecondaryTextColor
manager.setStatusbarColor(subsurfaceTheme.darkerPrimaryColor)
subsurfaceTheme.drawerColor = subsurfaceTheme.darkDrawerColor
+ subsurfaceTheme.contrastAccentColor = subsurfaceTheme.darkContrastAccentColor
+ subsurfaceTheme.lightDrawerColor = subsurfaceTheme.darkLightDrawerColor
subsurfaceTheme.iconStyle = "-dark"
}
@@ -722,6 +724,9 @@ if you have network connectivity and want to sync your data to cloud storage."),
property color darkTextColor: darkPrimaryTextColor
property color darkSecondaryTextColor: "#757575"
property color darkDrawerColor: "#424242"
+ property color darkLightDrawerColor: "#FFFFFF"
+ property color darkContrastAccentColor: "#FF5722" // used for delete button
+
property int initialWidth: rootItem.width
property int initialHeight: rootItem.height