Commit 02d01e82 authored by Jan Blackquill's avatar Jan Blackquill 🌈

[kcms/users]: Add slight gradient to initials avatars

parent 647c5fa4
......@@ -422,6 +422,15 @@ SimpleKCM {
anchors.fill: parent
anchors.margins: Kirigami.Units.smallSpacing
color: modelData.color
Rectangle {
anchors.fill: parent
gradient: Gradient {
GradientStop { position: 0.0; color: "transparent" }
GradientStop { position: 1.0; color: Qt.rgba(0, 0, 0, 0.3) }
}
}
Kirigami.Heading {
anchors.centerIn: parent
color: modelData.dark ? "white" : "black"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment