more hacking friendliness

This commit is contained in:
end-4
2025-05-26 12:10:03 +02:00
parent 5434771d77
commit bca1a77ae3
12 changed files with 75 additions and 47 deletions
@@ -7,7 +7,7 @@ import Quickshell
import Quickshell.Io
RippleButton {
id: button
id: root
buttonRadius: 0
implicitHeight: 36
@@ -18,10 +18,10 @@ RippleButton {
anchors.fill: parent
anchors.leftMargin: 14
anchors.rightMargin: 14
text: button.buttonText
text: root.buttonText
horizontalAlignment: Text.AlignLeft
font.pixelSize: Appearance.font.pixelSize.small
color: button.enabled ? Appearance.m3colors.m3onSurface : Appearance.m3colors.m3outline
color: root.enabled ? Appearance.m3colors.m3onSurface : Appearance.m3colors.m3outline
Behavior on color {
animation: Appearance.animation.elementMoveFast.colorAnimation.createObject(this)