From a7bec613c0cf1c1cfc6b8e017d467d7690a4c8d2 Mon Sep 17 00:00:00 2001 From: Guillem Arias Date: Mon, 11 May 2026 15:18:45 +0200 Subject: [PATCH] fix(savings_goals): status pill icons inherit pill's semantic color Pass color: "current" to the icon helper so triangle-alert / circle-check / star / infinity / pause render in the same color as the pill's text (text-success / text-warning / text-secondary). The icon helper defaults to text-secondary, which made all icons grey regardless of pill variant. --- app/components/savings/status_pill_component.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/savings/status_pill_component.html.erb b/app/components/savings/status_pill_component.html.erb index 6b6bea3fc..f254a31f8 100644 --- a/app/components/savings/status_pill_component.html.erb +++ b/app/components/savings/status_pill_component.html.erb @@ -1,4 +1,4 @@ - <%= helpers.icon(icon_name, size: "xs") %> + <%= helpers.icon(icon_name, size: "xs", color: "current") %> <%= label %>