test script color scheme

This commit is contained in:
Zacharias-Brohn
2026-02-14 16:42:09 +01:00
parent e3cf92f402
commit b77fc7e133
2 changed files with 5 additions and 6 deletions
+3 -4
View File
@@ -64,7 +64,7 @@ Item {
Layout.alignment: Qt.AlignVCenter
font.pixelSize: 18
text: "volume_up"
color: root.textColor
color: Pipewire.defaultAudioSink?.audio.muted ? DynamicColors.palette.m3error : root.textColor
}
Rectangle {
@@ -84,8 +84,7 @@ Item {
implicitWidth: parent.width * ( Pipewire.defaultAudioSink?.audio.volume ?? 0 )
radius: parent.radius
color: root.barColor
color: Pipewire.defaultAudioSink?.audio.muted ? DynamicColors.palette.m3error : root.barColor
Behavior on color {
CAnim {}
}
@@ -96,7 +95,7 @@ Item {
Layout.alignment: Qt.AlignVCenter
font.pixelSize: 18
text: Pipewire.defaultAudioSource?.audio.muted ? "mic_off" : "mic"
color: ( Pipewire.defaultAudioSource?.audio.muted ?? false ) ? (Config.useDynamicColors ? DynamicColors.palette.m3onError : "#ff4444") : root.textColor
color: ( Pipewire.defaultAudioSource?.audio.muted ?? false ) ? (Config.useDynamicColors ? DynamicColors.palette.m3error : "#ff4444") : root.textColor
}
Rectangle {