material symbols: support filling

This commit is contained in:
end-4
2025-05-05 11:05:58 +02:00
parent 94ef226b92
commit 352d389cc4
30 changed files with 91 additions and 58 deletions
@@ -12,10 +12,10 @@ QuickToggleButton {
onClicked: {
nightLightButton.enabled = !nightLightButton.enabled
if (enabled) {
nightLightOn.running = true
nightLightOn.startDetached()
}
else {
nightLightOff.running = true
nightLightOff.startDetached()
}
}
Process {
@@ -33,7 +33,8 @@ Button {
MaterialSymbol {
anchors.centerIn: parent
font.pixelSize: Appearance.font.pixelSize.larger
iconSize: Appearance.font.pixelSize.larger
fill: toggled ? 1 : 0
text: buttonIcon
color: toggled ? Appearance.m3colors.m3onPrimary : Appearance.colors.colOnLayer1