From ce2fb391be3c21711db1c2a6db38748215c4bb7c Mon Sep 17 00:00:00 2001 From: lucy Date: Sun, 31 May 2026 18:18:12 +0200 Subject: [PATCH] revise style --- modules/bar/Bar.qml | 2 +- modules/bar/Ws.qml | 6 +++--- widgets/MaterialIcon.qml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/bar/Bar.qml b/modules/bar/Bar.qml index ad08081..f0bcdb2 100644 --- a/modules/bar/Bar.qml +++ b/modules/bar/Bar.qml @@ -11,7 +11,7 @@ Variants { delegate: WlrLayershell { id: root required property var modelData - property double moduleHeight: implicitHeight / 1.5 + property double moduleHeight: implicitHeight - 12 screen: modelData anchors { top: true diff --git a/modules/bar/Ws.qml b/modules/bar/Ws.qml index fcfbdb1..651fc09 100644 --- a/modules/bar/Ws.qml +++ b/modules/bar/Ws.qml @@ -29,16 +29,16 @@ Rectangle { delegate: Rectangle { id: wsWrapper implicitHeight: root.moduleHeight - implicitWidth: modelData.active ? 48 : 24 + implicitWidth: 16 parent: wsLayout - color: modelData.active ? Colors.base0D : 'transparent' + color: 'transparent' radius: Config.rounding visible: modelData.monitor == root.hyprBarScreen required property var modelData StyledText { anchors.centerIn: parent text: wsWrapper.modelData.id - color: parent.modelData.active ? Colors.base00 : Colors.base07 + color: parent.modelData.active ? Colors.base07 : Colors.base04 } Behavior on implicitWidth { NumberAnimation { diff --git a/widgets/MaterialIcon.qml b/widgets/MaterialIcon.qml index d78d6ac..66c3e38 100644 --- a/widgets/MaterialIcon.qml +++ b/widgets/MaterialIcon.qml @@ -10,7 +10,7 @@ Text { renderType: Text.NativeRendering font.variableAxes: { "FILL": fill ? 1 : 0, - "opsz": Config.iconSize, + "opsz": 24, "wght": 400, "GRAD": 24 }