fix statelayer colors for various components, add logic for color background feedback on tray items when icon doesn't have color layer
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 27s
Lint & Format (Rust) / lint-format (pull_request) Successful in 1m5s

This commit is contained in:
2026-06-08 18:35:34 +02:00
parent ea911996a8
commit 8ec7faaafd
5 changed files with 10 additions and 2 deletions
+3 -2
View File
@@ -45,14 +45,15 @@ Item {
CustomRect {
anchors.fill: parent
anchors.margins: 3
color: root.current ? DynamicColors.palette.m3primary : "transparent"
color: Config.general.color.scheduleDark && root.current ? DynamicColors.palette.m3primary : "transparent"
radius: Appearance.rounding.full
StateLayer {
acceptedButtons: Qt.LeftButton | Qt.RightButton
anchors.fill: parent
color: Config.general.color.scheduleDark && root.current ? DynamicColors.palette.m3onPrimary : DynamicColors.palette.m3onSurface
onClicked: {
onClicked: mouse => {
if (mouse.button === Qt.LeftButton) {
root.item.activate();
console.log(icon.source + "\n" + root.item.id);