improve styling

This commit is contained in:
lucy 2026-06-02 11:38:33 +02:00
commit 7f88614f91
3 changed files with 20 additions and 19 deletions

View file

@ -27,7 +27,7 @@ Variants {
spacing: 5
anchors.left: parent.left
anchors.verticalCenter: parent.verticalCenter
anchors.leftMargin: 10
anchors.leftMargin: Config.rounding
Ws {
moduleHeight: root.moduleHeight
barScreen: root.modelData
@ -51,7 +51,7 @@ Variants {
anchors.right: parent.right
anchors.verticalCenter: parent.verticalCenter
spacing: 5
anchors.rightMargin: 10
anchors.rightMargin: Config.rounding
Mpris {
moduleHeight: root.moduleHeight
}

View file

@ -38,7 +38,8 @@ Rectangle {
StyledText {
anchors.centerIn: parent
text: wsWrapper.modelData.id
color: parent.modelData.active ? Colors.base07 : Colors.base04
color: parent.modelData.active ? Colors.base0D : Colors.base04
opacity: parent.modelData.active ? 1.0 : 0.5
}
Behavior on implicitWidth {
NumberAnimation {