Separate transparent bar foreground from panel text

This commit is contained in:
David Heinemeier Hansson committed 2026-05-27 14:23:13 +02:00
1 parent e490f743db
commit d6fa701543
9 files changed
+21 -16

No files matched your search

+2 -1
View File
@@ -36,6 +36,7 @@ Panel {
readonly property color dim: Qt.darker(foreground, 1.55)
readonly property string fontFamily: bar ? bar.fontFamily : Style.font.family
readonly property color iconColor: dropbox.authenticated ? foreground : dim
readonly property color barIconColor: dropbox.authenticated ? barForeground : Qt.darker(barForeground, 1.55)
function ensureCursor() {
if (!dropbox.authenticated) {
@@ -168,7 +169,7 @@ Panel {
DropboxIcon {
anchors.centerIn: parent
iconSize: Style.space(12)
color: root.iconColor
color: root.barIconColor
opacity: dropbox.authenticated ? 1.0 : 0.6
}