Remove customization for text color and hover from TextButtonContents.

Signed-off-by: Camila Ayres <hello@camilasan.com>
This commit is contained in:
Camila Ayres 2024-09-01 21:34:42 +02:00 committed by Matthieu Gallien
parent fa275a5a6b
commit d328919ae1
No known key found for this signature in database
GPG key ID: 7D0F74F05C22F553

View file

@ -20,13 +20,10 @@ import Style
EnforcedPlainTextLabel { EnforcedPlainTextLabel {
property bool hovered: false property bool hovered: false
property color textColor: palette.windowText
property color textColorHovered: palette.midlight
property bool bold: false property bool bold: false
font.underline: true font.underline: true
font.bold: bold font.bold: bold
color: hovered ? textColorHovered : textColor
horizontalAlignment: Text.AlignLeft horizontalAlignment: Text.AlignLeft
verticalAlignment: Text.AlignVCenter verticalAlignment: Text.AlignVCenter