add styling with animation speed

This commit is contained in:
Benjamin Palko 2025-09-05 15:48:24 -04:00
parent f7e8fb7720
commit 9fc91a92f7
14 changed files with 74 additions and 37 deletions

View file

@ -19,13 +19,13 @@ Slider {
width: control.availableWidth
height: implicitHeight
radius: 8
color: Theme.palette.base100
color: Theme.palette.base200
Rectangle {
width: control.visualPosition * parent.width
Behavior on width {
NumberAnimation {
duration: 75
duration: Styling.animations.speed.fast
}
}
height: parent.height