revise style

This commit is contained in:
lucy 2026-05-31 18:18:12 +02:00
commit ce2fb391be
3 changed files with 5 additions and 5 deletions

View file

@ -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

View file

@ -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 {

View file

@ -10,7 +10,7 @@ Text {
renderType: Text.NativeRendering
font.variableAxes: {
"FILL": fill ? 1 : 0,
"opsz": Config.iconSize,
"opsz": 24,
"wght": 400,
"GRAD": 24
}