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

@ -12,12 +12,16 @@ Button {
horizontalPadding: 8
palette.button: hovered ? Theme.palette.primary : Theme.palette.base200
ColorAnimation on palette.button {
duration: 100
Behavior on palette.button {
ColorAnimation {
duration: Styling.animations.speed.normal
}
}
palette.buttonText: hoverEnabled && hovered ? Theme.palette.primarycontent : Theme.palette.basecontent
ColorAnimation on palette.buttonText {
duration: 100
Behavior on palette.buttonText {
ColorAnimation {
duration: Styling.animations.speed.normal
}
}
wheelEnabled: true