mirror of
https://github.com/we-promise/sure.git
synced 2026-06-04 18:29:02 +00:00
A bounded slice of #1751: the three over/near-limit/good status badges in budget_categories/_budget_category were hand-rolled pill spans using raw palette colors (bg-red-500/10 text-red-500, bg-yellow-500/10, bg-green-500/10), breaking the design-token rule. Their icon(color: "red"/"yellow"/"green") args were also no-ops — the icon helper has no such keys, so the glyphs just inherited the span's text color. Replace all three with DS::Pill(marker: false, tone:, icon:), which renders the icon + label on a semantic soft-tone background using DS tokens (AA contrast). Scoped to one budget file on purpose — avoids the transactions / providers / transfer_match callsites covered by in-flight pill-migration work.