diff options
author | Joakim Bygdell <j.bygdell@gmail.com> | 2017-07-15 16:35:38 +0200 |
---|---|---|
committer | Joakim Bygdell <j.bygdell@gmail.com> | 2017-07-15 16:35:40 +0200 |
commit | c0a9426ad31e13c9cc7a0d3b3a424d9844fd3beb (patch) | |
tree | b985be32695b120b9ce0483509bcec0725ca1fbe /mobile-widgets | |
parent | 745e29958aabda62f3c45cd1cb9e81cab117bba9 (diff) | |
download | subsurface-c0a9426ad31e13c9cc7a0d3b3a424d9844fd3beb.tar.gz |
QML UI: add Kirkigami theme variables
The built in theme in Kirigami has special variables for sertain objects, this sets the correct color for each object to match our themes.
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
Diffstat (limited to 'mobile-widgets')
-rw-r--r-- | mobile-widgets/qml/main.qml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml index 6851e78e7..909c570f2 100644 --- a/mobile-widgets/qml/main.qml +++ b/mobile-widgets/qml/main.qml @@ -437,6 +437,9 @@ if you have network connectivity and want to sync your data to cloud storage."), Kirigami.Theme.textColor = Qt.binding(function() { return textColor }) Kirigami.Theme.buttonHoverColor = Qt.binding(function() { return darkerPrimaryColor }) Kirigami.Theme.viewBackgroundColor = Qt.binding(function() { return drawerColor }) + Kirigami.Theme.viewTextColor = Qt.binding(function() { return textColor }) + Kirigami.Theme.buttonBackgroundColor = Qt.binding(function() { return darkerPrimaryColor }) + Kirigami.Theme.buttonTextColor = Qt.binding(function() { return textColor }) // this needs to pick the theme from persistent preference settings var theme = manager.theme |