theme themepicker to better match overall style

This commit is contained in:
lucy 2026-09-16 00:20:42 +02:00
commit 5b9c2450d5
2 changed files with 13 additions and 6 deletions

View file

@ -14,10 +14,12 @@ import qs.modules.Services
Rectangle {
id: child
implicitWidth: contentLayout.implicitWidth + contentLayout.anchors.margins * 2+ container.anchors.margins * 2
implicitWidth: contentLayout.implicitWidth + contentLayout.anchors.margins * 2 + container.anchors.margins * 2
implicitHeight: 600
color: Colors.c.base00
radius: Config.cfg.appearance.rounding
border.width: 1
border.color: Colors.c.base03
MouseArea {
acceptedButtons: Qt.AllButtons
anchors.fill: parent
@ -28,7 +30,7 @@ Rectangle {
nameFilters: searchBar.text == "" ? [] : ["*" + searchBar.text + "*"]
}
Rectangle {
id: container
id: container
anchors.fill: parent
anchors.centerIn: parent
anchors.margins: 10
@ -39,18 +41,22 @@ Rectangle {
id: contentLayout
anchors.fill: parent
anchors.margins: 30
anchors.centerIn: parent
spacing: 40
anchors.centerIn: parent
spacing: 40
TextField {
id: searchBar
placeholderText: "enter scheme name:"
placeholderTextColor: Colors.c.base04
leftPadding: 10
font.family: Config.cfg.appearance.font
color: Colors.font
background: Rectangle {
color: Colors.c.base02
implicitWidth: 300
implicitHeight: 30
radius: Config.cfg.appearance.rounding
border.width: 1
border.color: Colors.c.base03
}
}
@ -63,7 +69,8 @@ Rectangle {
delegate: Rectangle {
id: container
required property var modelData
border.width: 1
border.color: Colors.c.base03
color: Colors.c.base02
height: 30
radius: Config.cfg.appearance.rounding