More tweaking and standardization

This commit is contained in:
David Heinemeier Hansson
2026-05-18 15:54:14 +02:00
parent acf617e05e
commit f3ba505558
9 changed files with 41 additions and 29 deletions
+2 -2
View File
@@ -13,8 +13,8 @@ Rectangle {
property bool current: false
property color foreground: "#cacccc"
property color fill: Qt.rgba(foreground.r, foreground.g, foreground.b, 0.12)
property color currentFill: fill
property color fill: Qt.rgba(foreground.r, foreground.g, foreground.b, 0.08)
property color currentFill: Qt.rgba(foreground.r, foreground.g, foreground.b, 0.18)
radius: Style.cornerRadius
color: hasCursor ? fill : (current ? currentFill : "transparent")