fixup styling and make bar bigger

This commit is contained in:
lucy 2026-09-15 19:23:05 +02:00
commit c40299d6b3
3 changed files with 8 additions and 6 deletions

View file

@ -12,8 +12,8 @@ import QtQuick.Controls
Rectangle { Rectangle {
id: root id: root
color: Colors.c.base00 color: Colors.c.base01
radius: Config.cfg.appearance.rounding radius: Config.cfg.appearance.rounding - 4
implicitWidth: audioLayout.implicitWidth + 10 implicitWidth: audioLayout.implicitWidth + 10
implicitHeight: audioLayout.implicitHeight + 10 implicitHeight: audioLayout.implicitHeight + 10
MouseArea { MouseArea {
@ -31,6 +31,7 @@ Rectangle {
model: Audio.sinks model: Audio.sinks
delegate: Rectangle { delegate: Rectangle {
Layout.margins: 5
id: audioDelContainer id: audioDelContainer
Layout.fillWidth: true Layout.fillWidth: true
color: Colors.c.base02 color: Colors.c.base02
@ -42,6 +43,7 @@ Rectangle {
RowLayout { RowLayout {
id: audioRow id: audioRow
anchors.fill: parent anchors.fill: parent
StyledText { StyledText {
text: audioDelContainer.modelData.nickname text: audioDelContainer.modelData.nickname

View file

@ -3,12 +3,12 @@
"currentTheme": "base16-catppuccin-mocha.json", "currentTheme": "base16-catppuccin-mocha.json",
"font": "Roboto", "font": "Roboto",
"fontSize": 14, "fontSize": 14,
"iconSize": 14, "iconSize": 18,
"rounding": 16 "rounding": 24
}, },
"bar": { "bar": {
"floating": true, "floating": true,
"height": 34, "height": 40,
"opacity": 1 "opacity": 1
}, },
"wallpaper": { "wallpaper": {

View file

@ -7,5 +7,5 @@ Rectangle {
property bool active: false property bool active: false
color: active ? Colors.c.base03 : Colors.c.base02 color: active ? Colors.c.base03 : Colors.c.base02
implicitHeight: Config.cfg.bar.height - 8 implicitHeight: Config.cfg.bar.height - 8
radius: Config.cfg.appearance.rounding radius: Config.cfg.appearance.rounding - 4
} }