Skip to content

Commit 28710b0

Browse files
authored
Merge pull request #8050 from nextcloud/bugfix/highlightTooBrightAppimage
Bugfix/highlight too bright appimage
2 parents 28d3936 + 0e346e8 commit 28710b0

4 files changed

Lines changed: 22 additions & 0 deletions

File tree

src/gui/tray/CurrentAccountHeaderButton.qml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,13 @@ Button {
3636
Accessible.name: qsTr("Current account")
3737
Accessible.onPressAction: root.clicked()
3838

39+
palette {
40+
text: Style.currentUserHeaderTextColor
41+
windowText: Style.currentUserHeaderTextColor
42+
buttonText: Style.currentUserHeaderTextColor
43+
button: Style.adjustedCurrentUserHeaderColor
44+
}
45+
3946
// We call open() instead of popup() because we want to position it
4047
// exactly below the dropdown button, not the mouse
4148
onClicked: {

src/gui/tray/HeaderButton.qml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,13 @@ Button {
3434
icon.height: Style.headerButtonIconSize
3535
icon.color: "transparent"
3636

37+
palette {
38+
text: Style.currentUserHeaderTextColor
39+
windowText: Style.currentUserHeaderTextColor
40+
buttonText: Style.currentUserHeaderTextColor
41+
button: Style.adjustedCurrentUserHeaderColor
42+
}
43+
3744
Layout.alignment: Qt.AlignRight
3845
Layout.preferredWidth: Style.trayWindowHeaderHeight
3946
Layout.preferredHeight: Style.trayWindowHeaderHeight

src/gui/tray/TrayFoldersMenuButton.qml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,13 @@ HeaderButton {
5353
Accessible.name: tooltip.text
5454
Accessible.onPressAction: root.clicked()
5555

56+
palette {
57+
text: Style.currentUserHeaderTextColor
58+
windowText: Style.currentUserHeaderTextColor
59+
buttonText: Style.currentUserHeaderTextColor
60+
button: Style.adjustedCurrentUserHeaderColor
61+
}
62+
5663
ToolTip {
5764
id: tooltip
5865
visible: root.hovered && !foldersMenuLoader.isMenuVisible

src/gui/tray/TrayWindowHeader.qml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ Rectangle {
3535
text: Style.currentUserHeaderTextColor
3636
windowText: Style.currentUserHeaderTextColor
3737
buttonText: Style.currentUserHeaderTextColor
38+
button: Style.adjustedCurrentUserHeaderColor
3839
}
3940

4041
RowLayout {

0 commit comments

Comments
 (0)