add theme switcher
This commit is contained in:
parent
143889683b
commit
d69ec48728
9 changed files with 126 additions and 68 deletions
|
|
@ -114,19 +114,6 @@ Variants {
|
|||
}
|
||||
}
|
||||
}
|
||||
ThemeSwitcher {
|
||||
z: 1
|
||||
id: colorschemes
|
||||
property bool shown: WidgetTracker.current === "colorschemes" && root.shown
|
||||
visible: shown
|
||||
focus: shown
|
||||
anchors.top: parent.top
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
anchors.topMargin: Config.cfg.bar.floating ? Config.cfg.bar.height + 20 : Config.cfg.bar.height + 10
|
||||
anchors.margins: 20
|
||||
implicitHeight: 60
|
||||
}
|
||||
MouseArea {
|
||||
id: dismisser
|
||||
z: 0
|
||||
|
|
|
|||
Loading…
Reference in a new issue