try to force the highlight to not be too bright

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
This commit is contained in:
Matthieu Gallien 2025-03-19 13:31:00 +01:00 committed by backportbot[bot]
parent 445b465b36
commit a52eee9e63
4 changed files with 22 additions and 0 deletions

View File

@ -36,6 +36,13 @@ Button {
Accessible.name: qsTr("Current account")
Accessible.onPressAction: root.clicked()
palette {
text: Style.currentUserHeaderTextColor
windowText: Style.currentUserHeaderTextColor
buttonText: Style.currentUserHeaderTextColor
button: Style.adjustedCurrentUserHeaderColor
}
// We call open() instead of popup() because we want to position it
// exactly below the dropdown button, not the mouse
onClicked: {

View File

@ -34,6 +34,13 @@ Button {
icon.height: Style.headerButtonIconSize
icon.color: "transparent"
palette {
text: Style.currentUserHeaderTextColor
windowText: Style.currentUserHeaderTextColor
buttonText: Style.currentUserHeaderTextColor
button: Style.adjustedCurrentUserHeaderColor
}
Layout.alignment: Qt.AlignRight
Layout.preferredWidth: Style.trayWindowHeaderHeight
Layout.preferredHeight: Style.trayWindowHeaderHeight

View File

@ -53,6 +53,13 @@ HeaderButton {
Accessible.name: tooltip.text
Accessible.onPressAction: root.clicked()
palette {
text: Style.currentUserHeaderTextColor
windowText: Style.currentUserHeaderTextColor
buttonText: Style.currentUserHeaderTextColor
button: Style.adjustedCurrentUserHeaderColor
}
ToolTip {
id: tooltip
visible: root.hovered && !foldersMenuLoader.isMenuVisible

View File

@ -35,6 +35,7 @@ Rectangle {
text: Style.currentUserHeaderTextColor
windowText: Style.currentUserHeaderTextColor
buttonText: Style.currentUserHeaderTextColor
button: Style.adjustedCurrentUserHeaderColor
}
RowLayout {