import QtQuick 2.12
import QtQuick.Controls 2.12

import Utils 1.0

TextField {
    implicitHeight: 58
    color: Palette.textColor
    selectByMouse: true
    selectionColor: Palette.alternativeBackgroundColor

    background: Rectangle {
        color: enabled ? Palette.backgroundColor : Palette.hoveredBackgroundColor
        border.color: Palette.borderColor
        border.width: 1
        radius: 8
    }
}
