Skip to content

Commit 41dd2f5

Browse files
committed
qml: Updated controls for UI Snapshot
1 parent 596b590 commit 41dd2f5

File tree

3 files changed

+17
-1
lines changed

3 files changed

+17
-1
lines changed

Diff for: src/qml/controls/GreenCheckIcon.qml

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// Copyright (c) 2023 - present The Bitcoin Core developers
2+
// Distributed under the MIT software license, see the accompanying
3+
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
4+
5+
import QtQuick 2.15
6+
import QtQuick.Controls 2.15
7+
8+
Icon {
9+
source: "image://images/green-check"
10+
size: 26
11+
}

Diff for: src/qml/controls/ProgressIndicator.qml

+3-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ import QtQuick.Controls 2.15
77

88
Control {
99
property real progress: 0
10+
property color progressColor: Theme.color.orange
11+
1012
Behavior on progress {
1113
NumberAnimation {
1214
easing.type: Easing.Bezier
@@ -26,7 +28,7 @@ Control {
2628
width: contentItem.width
2729
height: contentItem.height
2830
radius: contentItem.radius
29-
color: Theme.color.orange
31+
color: progressColor
3032
}
3133
}
3234
}

Diff for: src/qml/controls/Theme.qml

+3
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ Control {
2727
required property color blue
2828
required property color amber
2929
required property color purple
30+
required property color transparent
3031
required property color neutral0
3132
required property color neutral1
3233
required property color neutral2
@@ -59,6 +60,7 @@ Control {
5960
blue: "#3CA3DE"
6061
amber: "#C9B500"
6162
purple: "#C075DC"
63+
transparent: "#00000000"
6264
neutral0: "#000000"
6365
neutral1: "#1A1A1A"
6466
neutral2: "#2D2D2D"
@@ -91,6 +93,7 @@ Control {
9193
blue: "#2D9CDB"
9294
amber: "#C9B500"
9395
purple: "#BB6BD9"
96+
transparent: "#00000000"
9497
neutral0: "#FFFFFF"
9598
neutral1: "#F8F8F8"
9699
neutral2: "#F4F4F4"

0 commit comments

Comments
 (0)