sparkline: unified coloring - vertical gradient from colorAt/thresholds, stroke line, 1px border, consistent 32px height

This commit is contained in:
Damocles 2026-04-25 10:40:51 +02:00
parent e1d20c2407
commit c64373313d
6 changed files with 90 additions and 93 deletions

View file

@ -76,11 +76,11 @@ Column {
anchors.leftMargin: 12
anchors.right: parent.right
anchors.rightMargin: 12
height: 18
height: 32
history: S.SystemStats.memHistory
color: root.accentColor
strokeColor: root.accentColor
colorAt: v => S.Theme.loadColor(v)
active: root.active
backgroundTint: 0.15
}
// Breakdown rows