Changeset c0a9426 in subsurface


Ignore:
Timestamp:
Jul 15, 2017, 7:35:40 AM (5 days ago)
Author:
Joakim Bygdell <j.bygdell@…>
Branches:
master
Children:
4a1b675b
Parents:
745e299
git-author:
Joakim Bygdell <j.bygdell@…> (07/15/17 07:35:38)
git-committer:
Joakim Bygdell <j.bygdell@…> (07/15/17 07:35:40)
Message:

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@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mobile-widgets/qml/main.qml

    r745e299 rc0a9426  
    438438                        Kirigami.Theme.buttonHoverColor = Qt.binding(function() { return darkerPrimaryColor })
    439439                        Kirigami.Theme.viewBackgroundColor = Qt.binding(function() { return drawerColor })
     440                        Kirigami.Theme.viewTextColor = Qt.binding(function() { return textColor })
     441                        Kirigami.Theme.buttonBackgroundColor = Qt.binding(function() { return darkerPrimaryColor })
     442                        Kirigami.Theme.buttonTextColor = Qt.binding(function() { return textColor })
    440443
    441444                        // this needs to pick the theme from persistent preference settings
Note: See TracChangeset for help on using the changeset viewer.