From 2f3f41ceddabe5918f9fe58cd6cca441a6dae931 Mon Sep 17 00:00:00 2001 From: zach Date: Mon, 22 Jun 2026 09:27:13 +0200 Subject: [PATCH] fill icons when relevant --- Modules/HyprsunsetWidget.qml | 6 ++++++ Modules/NotifBell.qml | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/Modules/HyprsunsetWidget.qml b/Modules/HyprsunsetWidget.qml index 620b73a..eef2218 100644 --- a/Modules/HyprsunsetWidget.qml +++ b/Modules/HyprsunsetWidget.qml @@ -24,6 +24,12 @@ CustomRect { anchors.centerIn: parent animate: true color: root.tempEnabled ? DynamicColors.palette.m3onPrimary : DynamicColors.palette.m3onSurface + fill: root.tempEnabled ? 1 : 0 text: root.tempEnabled ? "lightbulb" : "light_off" + + Behavior on fill { + Anim { + } + } } } diff --git a/Modules/NotifBell.qml b/Modules/NotifBell.qml index 4c24ee2..4dd85f2 100644 --- a/Modules/NotifBell.qml +++ b/Modules/NotifBell.qml @@ -21,6 +21,7 @@ CustomRect { anchors.centerIn: parent color: root.visibilities.sidebar ? DynamicColors.palette.m3onPrimary : DynamicColors.palette.m3onSurface + fill: root.visibilities.sidebar ? 1 : 0 font.family: "Material Symbols Rounded" font.pointSize: Appearance.font.size.larger text: HasNotifications.hasNotifications ? "\uf4fe" : "\ue7f4" @@ -29,6 +30,10 @@ CustomRect { CAnim { } } + Behavior on fill { + Anim { + } + } } StateLayer {