add styling with animation speed
This commit is contained in:
parent
f7e8fb7720
commit
9fc91a92f7
14 changed files with 74 additions and 37 deletions
21
config/Styling.qml
Normal file
21
config/Styling.qml
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
pragma Singleton
|
||||
|
||||
import QtQuick
|
||||
import Quickshell
|
||||
|
||||
Singleton {
|
||||
id: root
|
||||
|
||||
readonly property Animations animations: Animations {}
|
||||
|
||||
component Animations: QtObject {
|
||||
property AnimationSpeed speed: AnimationSpeed {}
|
||||
}
|
||||
component AnimationSpeed: QtObject {
|
||||
property int veryFast: 50
|
||||
property int fast: 100
|
||||
property int normal: 200
|
||||
property int slow: 400
|
||||
property int verySlow: 1000
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue