uiux(Profile): theme color fixes for the contact list

The "more actions" button in the contacts list had some hard coded colors
for its hover effect which break the experience in dark mode.
This commit makes changes those so that they work universally.
This commit is contained in:
Pascal Precht 2021-01-11 14:30:33 +01:00 committed by Iuri Matias
parent 29742e2074
commit 4ff5281f40
1 changed files with 3 additions and 2 deletions

View File

@ -56,6 +56,7 @@ Rectangle {
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
anchors.right: parent.right anchors.right: parent.right
radius: 8 radius: 8
color: "transparent"
SVGImage { SVGImage {
source: "../../../../img/dots-icon.svg" source: "../../../../img/dots-icon.svg"
@ -72,10 +73,10 @@ Rectangle {
anchors.fill: parent anchors.fill: parent
hoverEnabled: true hoverEnabled: true
onExited: { onExited: {
menuButton.color = Style.current.white menuButton.color = "transparent"
} }
onEntered: { onEntered: {
menuButton.color = Style.current.grey menuButton.color = Style.current.border
} }
onClicked: { onClicked: {
menuOpened = true menuOpened = true