add functioning theme picker and overhaul theming system

This commit is contained in:
lucy 2026-09-10 23:33:19 +02:00
commit 64a269816d
680 changed files with 6166 additions and 5969 deletions

View file

@ -9,10 +9,11 @@ import qs.settings
BarComponent {
id: root
required property ShellScreen barScreen
implicitWidth: wsLayout.implicitWidth
implicitWidth: 10 * (16 + 4)
RowLayout {
id: wsLayout
anchors.centerIn: parent
anchors.verticalCenter: parent.verticalCenter
anchors.horizontalCenter: parent.horizontalCenter
spacing: 4
Repeater {
model: WindowManager.screenProjection(root.barScreen).windowsets
@ -21,7 +22,7 @@ BarComponent {
required property var modelData
implicitWidth: 16
implicitHeight: implicitWidth
color: modelData.active ? Colors.accent : 'transparent'
color: modelData.active ? Colors.c.base0D : 'transparent'
MouseArea {
id: clickHandler
anchors.fill: parent
@ -33,7 +34,7 @@ BarComponent {
id: wsText
anchors.centerIn: parent
text: parent.modelData.name
color: parent.modelData.shouldDisplay ? parent.modelData.active ? Colors.base00 : Colors.base05 : Colors.base03
color: parent.modelData.shouldDisplay ? parent.modelData.active ? Colors.c.base00 : Colors.c.base05 : Colors.c.base03
font.bold: parent.modelData.active
}
}