refactor(theme): centralize theme

This commit is contained in:
tux
2026-08-24 16:42:02 +05:30
parent 5d84d68e26
commit e1906e5528
11 changed files with 125 additions and 104 deletions

View File

@@ -8,14 +8,12 @@ import qs.ui
BarButton {
id: root
property int iconSize: 16
hoverHighlight: false
pointerCursor: false
visible: SystemTray.items.values.length > 0
contentItem: Row {
spacing: Appearance.spacing
spacing: Theme.spacing
Repeater {
model: SystemTray.items.values
@@ -24,8 +22,8 @@ BarButton {
required property var modelData
source: modelData.icon
width: root.iconSize
height: root.iconSize
width: Theme.tray.iconSize
height: Theme.tray.iconSize
}
}
}