Skip to content

Commit c38209e

Browse files
committed
qml: Added descriptionColor property in Header.qml
- This property will later be used for the BlockClock.qml file
1 parent 49af336 commit c38209e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/qml/controls/Header.qml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ ColumnLayout {
1616
property string description: ""
1717
property int descriptionMargin: 10
1818
property int descriptionSize: 18
19+
property string descriptionColor: Theme.color.neutral8
1920
property string subtext: ""
2021
property int subtextMargin
2122
property int subtextSize: 15
@@ -42,7 +43,7 @@ ColumnLayout {
4243
font.family: "Inter"
4344
font.styleName: "Regular"
4445
font.pixelSize: root.descriptionSize
45-
color: Theme.color.neutral8
46+
color: root.descriptionColor
4647
text: root.description
4748
horizontalAlignment: root.center ? Text.AlignHCenter : Text.AlignLeft
4849
wrapMode: wrap ? Text.WordWrap : Text.NoWrap

0 commit comments

Comments
 (0)