add styling with animation speed
This commit is contained in:
parent
f7e8fb7720
commit
9fc91a92f7
14 changed files with 74 additions and 37 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue