summaryrefslogtreecommitdiffstats
path: root/mobile-widgets
diff options
context:
space:
mode:
authorGravatar jan Iversen <jan@casacondor.com>2020-01-18 13:19:11 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-01-18 12:44:05 -0800
commit65a0a9c7ebde02fc1b439081bdf0e00a921d779c (patch)
treedd85218b6fb00405c09303b419fdb26f350e2962 /mobile-widgets
parentf17aeb92e3ed7e31c73c2f6f57e0e596e6957dc4 (diff)
downloadsubsurface-65a0a9c7ebde02fc1b439081bdf0e00a921d779c.tar.gz
mobile-widget/qml: add missing colors to pink theme
add missing colors so that pink theme contains the same colors as "colors in use". Update the pinkTheme() to correctly copy colors from pink theme Signed-off-by: jan Iversen <jan@casacondor.com>
Diffstat (limited to 'mobile-widgets')
-rw-r--r--mobile-widgets/qml/main.qml7
1 files changed, 6 insertions, 1 deletions
diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml
index d9c60a06e..37c642bef 100644
--- a/mobile-widgets/qml/main.qml
+++ b/mobile-widgets/qml/main.qml
@@ -599,7 +599,9 @@ if you have network connectivity and want to sync your data to cloud storage."),
subsurfaceTheme.textColor = subsurfaceTheme.pinkTextColor
subsurfaceTheme.secondaryTextColor = subsurfaceTheme.pinkSecondaryTextColor
manager.setStatusbarColor(subsurfaceTheme.darkerPrimaryColor)
- subsurfaceTheme.drawerColor = subsurfaceTheme.lightDrawerColor
+ subsurfaceTheme.drawerColor = subsurfaceTheme.pinkLightDrawerColor
+ subsurfaceTheme.contrastAccentColor = subsurfaceTheme.pinkContrastAccentColor
+ subsurfaceTheme.lightDrawerColor = subsurfaceTheme.pinkLightDrawerColor
subsurfaceTheme.iconStyle = ""
}
@@ -705,6 +707,9 @@ if you have network connectivity and want to sync your data to cloud storage."),
property color pinkBackgroundColor: "#eff0f1"
property color pinkTextColor: pinkLightPrimaryTextColor
property color pinkSecondaryTextColor: "#757575"
+ property color pinkLightDrawerColor: "#FFFFFF"
+ property color pinkDrawerColor: pinkLightDrawerColor
+ property color pinkContrastAccentColor: "#FF5722" // used for delete button
// colors for the dark theme
property color darkDarkerPrimaryColor: "#303F9f"