add theme switcher

This commit is contained in:
lucy 2026-09-10 21:37:33 +02:00
commit d69ec48728
9 changed files with 126 additions and 68 deletions

View file

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