mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
745e29958a
commit
c0a9426ad3
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue