Skip to content

Commit 1396ff2

Browse files
deepin-ci-robot18202781743
authored andcommitted
sync: from linuxdeepin/dtkdeclarative
Synchronize source files from linuxdeepin/dtkdeclarative. Source-pull-request: linuxdeepin/dtkdeclarative#505
1 parent 7a69942 commit 1396ff2

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

qt6/src/qml/FlowStyle.qml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,6 +504,7 @@ QtObject {
504504
}
505505

506506
property D.Palette shadowInner2: D.Palette {
507+
normal: Qt.rgba(0, 0, 0, 0.1)
507508
normalDark: Qt.rgba(1, 1, 1, 0.1)
508509
}
509510

@@ -850,6 +851,11 @@ QtObject {
850851
property D.Palette handleGradientColor: D.Palette {
851852
normal: D.DTK.makeColor(D.Color.Highlight).hue(-0).saturation(+30).lightness(+30)
852853
}
854+
855+
property D.Palette background: D.Palette {
856+
normal: Qt.rgba(0, 0, 0, 0.1)
857+
normalDark: Qt.rgba(1, 1, 1, 0.1)
858+
}
853859
}
854860

855861
property QtObject embeddedProgressBar: QtObject {
@@ -861,7 +867,7 @@ QtObject {
861867

862868
property D.Palette background: D.Palette {
863869
normal: Qt.rgba(0, 0, 0, 0.7)
864-
normalDark: Qt.rgba(0, 0, 0, 0.2)
870+
normalDark: Qt.rgba(1, 1, 1, 0.2)
865871
}
866872

867873
property D.Palette progressBackground: D.Palette {

qt6/src/qml/private/ProgressBarPanel.qml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@ Item {
2323
Component {
2424
id: _normalTextComponent
2525
Rectangle {
26+
property Palette backgroundColor: DS.Style.progressBar.background
2627
radius: DS.Style.control.radius
27-
color: Qt.rgba(0, 0, 0, 0.1);
28+
color: ColorSelector.backgroundColor
2829
}
2930
}
3031
}

0 commit comments

Comments
 (0)