1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-04-10 15:52:58 -04:00

weather: light redesign for dash card

This commit is contained in:
bbedward
2026-02-12 09:42:29 -05:00
parent bd46d29ff0
commit 00e1099912
3 changed files with 551 additions and 563 deletions

View File

@@ -64,6 +64,12 @@ Flow {
}
}
DankRipple {
id: chipRipple
cornerRadius: chip.radius
rippleColor: chip.selected ? Theme.primaryText : Theme.surfaceVariantText
}
Row {
id: contentRow
anchors.centerIn: parent
@@ -91,6 +97,7 @@ Flow {
anchors.fill: parent
hoverEnabled: true
cursorShape: Qt.PointingHandCursor
onPressed: mouse => chipRipple.trigger(mouse.x, mouse.y)
onClicked: {
root.currentIndex = chip.index;
root.selectionChanged(chip.index);