wbar: add widgets, taskview, light theme

This commit is contained in:
end-4
2025-11-10 23:41:15 +01:00
parent 694eaccfbf
commit fdcb95b8a4
10 changed files with 279 additions and 16 deletions
@@ -9,6 +9,7 @@ BarButton {
id: root
required property string iconName
property bool separateLightDark: false
implicitWidth: height - topInset - bottomInset + leftInset + rightInset
contentItem: Item {
@@ -27,14 +28,10 @@ BarButton {
}
}
Kirigami.Icon {
AppIcon {
id: iconWidget
anchors.centerIn: parent
implicitWidth: 26
implicitHeight: 26
roundToIconSize: false
source: `${Looks.iconsPath}/${root.iconName}-${Looks.dark ? "dark" : "light"}.svg`
fallback: root.iconName
iconName: root.iconName
}
}
}