24 lines
532 B
QML
24 lines
532 B
QML
import qs.config
|
|
import QtQuick
|
|
import QtQuick.Controls.Basic
|
|
|
|
TextArea {
|
|
id: control
|
|
|
|
font.pixelSize: Styling.typography.textSize.base
|
|
|
|
background: Rectangle {
|
|
id: rectangle
|
|
color: control.hovered ? Styling.theme.primary : Styling.theme.base200
|
|
Behavior on color {
|
|
ColorAnimation {
|
|
duration: Styling.animations.speed.normal
|
|
}
|
|
}
|
|
radius: Styling.theme.radiusField
|
|
}
|
|
|
|
HoverHandler {
|
|
cursorShape: Qt.PointingHandCursor
|
|
}
|
|
}
|