fix(StatusChatInfoButton): use correct hover color in darkmode
This commit is contained in:
parent
a954639cba
commit
95bc455dcd
|
@ -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",
|
||||||
|
|
|
@ -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,
|
||||||
|
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue