feat: complete quickshell redesign

This commit is contained in:
johannes committed 2026-09-17 19:56:15 +02:00
1 parent 5245f4aaf2
commit 8be610fbdd
25 files changed
+1410 -401

No files matched your search

@@ -0,0 +1,36 @@
import QtQuick
import "."
// 18x18 square checkbox with a 10x10 solid core when checked, per
// DESIGN.md's Checkboxes spec.
Item {
id: box
// Controlled component - see ToggleSwitch.qml.
property bool checked: false
signal toggled()
implicitWidth: 18
implicitHeight: 18
Rectangle {
anchors.fill: parent
color: Theme.colors.surface
border.width: Theme.geometry.borderWidth
border.color: Theme.colors.crust
Rectangle {
width: 10
height: 10
anchors.centerIn: parent
color: Theme.colors.primary
visible: box.checked
}
}
MouseArea {
anchors.fill: parent
cursorShape: Qt.PointingHandCursor
onClicked: box.toggled()
}
}