File tree Expand file tree Collapse file tree 8 files changed +48
-0
lines changed Expand file tree Collapse file tree 8 files changed +48
-0
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,10 @@ RowLayout {
28
28
SmoothedAnimation { to: 0 ; velocity: 2.2 }
29
29
SmoothedAnimation { to: 1 ; velocity: 2.2 }
30
30
}
31
+
32
+ Behavior on color {
33
+ ColorAnimation { duration: 150 }
34
+ }
31
35
}
32
36
}
33
37
}
Original file line number Diff line number Diff line change @@ -9,4 +9,8 @@ import "../controls"
9
9
Rectangle {
10
10
height: 1
11
11
color: Theme .color .neutral5
12
+
13
+ Behavior on color {
14
+ ColorAnimation { duration: 150 }
15
+ }
12
16
}
Original file line number Diff line number Diff line change 15
15
horizontalAlignment: Text .AlignHCenter
16
16
verticalAlignment: Text .AlignVCenter
17
17
wrapMode: wrap ? Text .WordWrap : Text .NoWrap
18
+
19
+ Behavior on color {
20
+ ColorAnimation { duration: 150 }
21
+ }
18
22
}
Original file line number Diff line number Diff line change @@ -54,6 +54,10 @@ ColumnLayout {
54
54
text: root .description
55
55
horizontalAlignment: root .center ? Text .AlignHCenter : Text .AlignLeft
56
56
wrapMode: wrap ? Text .WordWrap : Text .NoWrap
57
+
58
+ Behavior on color {
59
+ ColorAnimation { duration: 150 }
60
+ }
57
61
}
58
62
}
59
63
Loader {
@@ -69,6 +73,10 @@ ColumnLayout {
69
73
text: root .subtext
70
74
horizontalAlignment: root .center ? Text .AlignHCenter : Text .AlignLeft
71
75
wrapMode: wrap ? Text .WordWrap : Text .NoWrap
76
+
77
+ Behavior on color {
78
+ ColorAnimation { duration: 150 }
79
+ }
72
80
}
73
81
}
74
82
}
Original file line number Diff line number Diff line change @@ -66,6 +66,10 @@ AbstractButton {
66
66
icon .height : root .iconHeight
67
67
icon .width : root .iconWidth
68
68
background: root .iconBackground
69
+
70
+ Behavior on icon .color {
71
+ ColorAnimation { duration: 150 }
72
+ }
69
73
}
70
74
}
71
75
Loader {
Original file line number Diff line number Diff line change @@ -47,6 +47,10 @@ Button {
47
47
background: Rectangle {
48
48
color: Theme .color .neutral9
49
49
radius: 3
50
+
51
+ Behavior on color {
52
+ ColorAnimation { duration: 150 }
53
+ }
50
54
}
51
55
font .styleName : " Regular"
52
56
font .pixelSize : 13
@@ -56,6 +60,10 @@ Button {
56
60
leftPadding: 7
57
61
color: Theme .color .neutral0
58
62
text: qsTr (" Recommended" )
63
+
64
+ Behavior on color {
65
+ ColorAnimation { duration: 150 }
66
+ }
59
67
}
60
68
}
61
69
}
@@ -70,6 +78,10 @@ Button {
70
78
icon .height : 24
71
79
icon .width : 24
72
80
background: null
81
+
82
+ Behavior on icon .color {
83
+ ColorAnimation { duration: 150 }
84
+ }
73
85
}
74
86
}
75
87
}
Original file line number Diff line number Diff line change @@ -12,6 +12,10 @@ Switch {
12
12
background: Rectangle {
13
13
radius: Math .floor (height / 2 )
14
14
color: root .checked ? Theme .color .orange : Theme .color .neutral4
15
+
16
+ Behavior on color {
17
+ ColorAnimation { duration: 150 }
18
+ }
15
19
}
16
20
indicator: Rectangle {
17
21
property real _margin: Math .round ((parent .height - height) / 2 )
@@ -25,5 +29,9 @@ Switch {
25
29
SmoothedAnimation {
26
30
}
27
31
}
32
+
33
+ Behavior on color {
34
+ ColorAnimation { duration: 150 }
35
+ }
28
36
}
29
37
}
Original file line number Diff line number Diff line change @@ -19,6 +19,10 @@ ApplicationWindow {
19
19
color: Theme .color .background
20
20
visible: true
21
21
22
+ Behavior on color {
23
+ ColorAnimation { duration: 150 }
24
+ }
25
+
22
26
StackView {
23
27
id: main
24
28
initialItem: needOnboarding ? onboardingWizard : node
You can’t perform that action at this time.
0 commit comments