controlcenter: WallpaperGrid color updates to style
This commit is contained in:
parent
645159db80
commit
a204fb62b5
1 changed files with 14 additions and 4 deletions
|
|
@ -346,6 +346,7 @@ Item {
|
||||||
visible: opacity > 0
|
visible: opacity > 0
|
||||||
antialiasing: true
|
antialiasing: true
|
||||||
smooth: true
|
smooth: true
|
||||||
|
sourceSize: Qt.size(width, height)
|
||||||
|
|
||||||
opacity: status === Image.Ready ? 1 : 0
|
opacity: status === Image.Ready ? 1 : 0
|
||||||
|
|
||||||
|
|
@ -369,6 +370,7 @@ Item {
|
||||||
visible: opacity > 0
|
visible: opacity > 0
|
||||||
antialiasing: true
|
antialiasing: true
|
||||||
smooth: true
|
smooth: true
|
||||||
|
sourceSize: Qt.size(width, height)
|
||||||
|
|
||||||
opacity: status === Image.Ready && cachingImage.status !== Image.Ready ? 1 : 0
|
opacity: status === Image.Ready && cachingImage.status !== Image.Ready ? 1 : 0
|
||||||
|
|
||||||
|
|
@ -403,19 +405,27 @@ Item {
|
||||||
gradient: Gradient {
|
gradient: Gradient {
|
||||||
GradientStop {
|
GradientStop {
|
||||||
position: 0.0
|
position: 0.0
|
||||||
color: Qt.rgba(0, 0, 0, 0)
|
color: Qt.rgba(Colours.palette.m3surface.r,
|
||||||
|
Colours.palette.m3surface.g,
|
||||||
|
Colours.palette.m3surface.b, 0)
|
||||||
}
|
}
|
||||||
GradientStop {
|
GradientStop {
|
||||||
position: 0.3
|
position: 0.3
|
||||||
color: Qt.rgba(0, 0, 0, 0.7)
|
color: Qt.rgba(Colours.palette.m3surface.r,
|
||||||
|
Colours.palette.m3surface.g,
|
||||||
|
Colours.palette.m3surface.b, 0.7)
|
||||||
}
|
}
|
||||||
GradientStop {
|
GradientStop {
|
||||||
position: 0.6
|
position: 0.6
|
||||||
color: Qt.rgba(0, 0, 0, 0.9)
|
color: Qt.rgba(Colours.palette.m3surface.r,
|
||||||
|
Colours.palette.m3surface.g,
|
||||||
|
Colours.palette.m3surface.b, 0.9)
|
||||||
}
|
}
|
||||||
GradientStop {
|
GradientStop {
|
||||||
position: 1.0
|
position: 1.0
|
||||||
color: Qt.rgba(0, 0, 0, 0.95)
|
color: Qt.rgba(Colours.palette.m3surface.r,
|
||||||
|
Colours.palette.m3surface.g,
|
||||||
|
Colours.palette.m3surface.b, 0.95)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue