fix(StatusChatInfoButton): use correct hover color in darkmode

This commit is contained in:
Pascal Precht 2021-04-13 17:42:43 +02:00 committed by Pascal Precht
parent a954639cba
commit 95bc455dcd
3 changed files with 3 additions and 1 deletions

View File

@ -98,6 +98,7 @@ Theme {
property color roundedButtonSecondaryDisabledBackgroundColor: lightGrey property color roundedButtonSecondaryDisabledBackgroundColor: lightGrey
property color tooltipBackgroundColor: black property color tooltipBackgroundColor: black
property color tooltipForegroundColor: white property color tooltipForegroundColor: white
property color chatInfoButtonBackgroundHoverColor: Qt.hsla(white.hslHue, white.hslSaturation, white.hslLightness, 0.05)
property var accountColors: [ property var accountColors: [
"#AAC6FF", "#AAC6FF",

View File

@ -98,6 +98,7 @@ Theme {
property color roundedButtonSecondaryDisabledBackgroundColor: buttonDisabledForegroundColor property color roundedButtonSecondaryDisabledBackgroundColor: buttonDisabledForegroundColor
property color tooltipBackgroundColor: black property color tooltipBackgroundColor: black
property color tooltipForegroundColor: white property color tooltipForegroundColor: white
property color chatInfoButtonBackgroundHoverColor: grey1
property var accountColors: [ property var accountColors: [
blue, blue,

View File

@ -37,7 +37,7 @@ Button {
} }
background: Rectangle { background: Rectangle {
color: control.hovered ? Style.current.backgroundHover : "transparent" color: control.hovered ? Style.current.chatInfoButtonBackgroundHoverColor : "transparent"
radius: Style.current.radius radius: Style.current.radius
} }