fill icons when relevant
Lint & Format (JS/TS) / lint-format (pull_request) Successful in 10s
Python / lint-format (pull_request) Successful in 16s
Python / test (pull_request) Successful in 30s
Lint & Format (Rust) / lint-format (pull_request) Successful in 1m5s

This commit is contained in:
2026-06-22 09:27:13 +02:00
parent faad2dbd09
commit 2f3f41cedd
2 changed files with 11 additions and 0 deletions
+6
View File
@@ -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 {
}
}
}
}
+5
View File
@@ -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 {