mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
mobile/UI: initialize Kirigami theme to use our colors
With this we should finally get the correct button colors even when switching color theme. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
4dc1b4ef4a
commit
d9661a7be8
4 changed files with 25 additions and 1 deletions
|
|
@ -16,6 +16,13 @@ Kirigami.Page {
|
|||
state: "view"
|
||||
padding: Kirigami.Units.largeSpacing
|
||||
background: Rectangle { color: subsurfaceTheme.backgroundColor }
|
||||
|
||||
// we want to use our own colors for Kirigami, so let's define our colorset
|
||||
Kirigami.Theme.inherit: false
|
||||
Kirigami.Theme.colorSet: Kirigami.Theme.Button
|
||||
Kirigami.Theme.backgroundColor: subsurfaceTheme.backgroundColor
|
||||
Kirigami.Theme.textColor: subsurfaceTheme.textColor
|
||||
|
||||
actions.main: saveAction
|
||||
actions.right: cancelAction
|
||||
onVisibleChanged: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue