mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
try to force the highlight to not be too bright
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
This commit is contained in:
parent
445b465b36
commit
a52eee9e63
@ -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: {
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -35,6 +35,7 @@ Rectangle {
|
||||
text: Style.currentUserHeaderTextColor
|
||||
windowText: Style.currentUserHeaderTextColor
|
||||
buttonText: Style.currentUserHeaderTextColor
|
||||
button: Style.adjustedCurrentUserHeaderColor
|
||||
}
|
||||
|
||||
RowLayout {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user