Fix button hover overlay colors

This commit is contained in:
miruka
2019-07-24 16:44:35 -04:00
parent cb25c30cb9
commit 2be23128b1
3 changed files with 6 additions and 4 deletions

View File

@@ -39,7 +39,7 @@ Button {
id: buttonBackgroundOverlay
anchors.fill: parent
radius: parent.radius
color: "black"
color: theme.controls.button.hoveredOverlay
opacity: 0
Behavior on opacity { HNumberAnimation { factor: 0.5 } }

View File

@@ -77,9 +77,10 @@ controls:
color background: colors.strongBackground
button:
color background: colors.inputBackground
color text: colors.text
color disabledText: colors.dimmerText
color background: colors.inputBackground
color hoveredOverlay: hsluv(0, 0, 100)
color text: colors.text
color disabledText: colors.dimmerText
interactiveRectangle:
color background: "transparent"