Separate transparent bar foreground from panel text

This commit is contained in:
David Heinemeier Hansson
2026-05-27 14:23:13 +02:00
parent e490f743db
commit d6fa701543
9 changed files with 21 additions and 16 deletions
+2 -2
View File
@@ -34,7 +34,7 @@ BarWidget {
id: glyph
anchors.verticalCenter: parent.verticalCenter
text: root.playIcon
color: activePlayer && activePlayer.isPlaying ? root.bar.foreground : Qt.darker(root.bar.foreground, 1.5)
color: activePlayer && activePlayer.isPlaying ? root.bar.barForeground : Qt.darker(root.bar.barForeground, 1.5)
font.family: root.bar.fontFamily
font.pixelSize: Style.font.body
Behavior on color {
@@ -54,7 +54,7 @@ BarWidget {
Text {
id: labelText
text: root.title + (root.artist ? " · " + root.artist : "")
color: root.bar.foreground
color: root.bar.barForeground
font.family: root.bar.fontFamily
font.pixelSize: Style.font.body
anchors.verticalCenter: parent.verticalCenter