Skip to content

armgit / sure

Public Imported from GitHub
0

The personal finance app for everyone (by everyone)

Ruby

fix: Adjust summary icons color

Alessio Cappa33e278aa391b
diff --git a/app/views/reports/_summary_dashboard.html.erb b/app/views/reports/_summary_dashboard.html.erb
index 151a32d0ac..4fff999e3f 100644
--- a/app/views/reports/_summary_dashboard.html.erb
+++ b/app/views/reports/_summary_dashboard.html.erb
@@ -3,7 +3,7 @@
<div class="bg-container rounded-xl shadow-border-xs p-6">
<div class="flex items-start justify-between mb-3">
<div class="flex items-center gap-2">
- <%= icon("trending-up", class: "w-5 h-5 text-success") %>
+ <%= icon("trending-up", class: "w-5 h-5") %>
<h3 class="text-sm font-medium text-secondary">
<%= t("reports.summary.total_income") %>
</h3>
@@ -40,7 +40,7 @@
<div class="bg-container rounded-xl shadow-border-xs p-6">
<div class="flex items-start justify-between mb-3">
<div class="flex items-center gap-2">
- <%= icon("trending-down", class: "w-5 h-5 text-destructive") %>
+ <%= icon("trending-down", class: "w-5 h-5") %>
<h3 class="text-sm font-medium text-secondary">
<%= t("reports.summary.total_expenses") %>
</h3>
@@ -77,7 +77,7 @@
<div class="bg-container rounded-xl shadow-border-xs p-6">
<div class="flex items-start justify-between mb-3">
<div class="flex items-center gap-2">
- <%= icon("piggy-bank", class: "w-5 h-5 text-primary") %>
+ <%= icon("piggy-bank", class: "w-5 h-5") %>
<h3 class="text-sm font-medium text-secondary">
<%= t("reports.summary.net_savings") %>
</h3>
@@ -99,7 +99,7 @@
<div class="bg-container rounded-xl shadow-border-xs p-6">
<div class="flex items-start justify-between mb-3">
<div class="flex items-center gap-2">
- <%= icon("gauge", class: "w-5 h-5 text-primary") %>
+ <%= icon("gauge", class: "w-5 h-5") %>
<h3 class="text-sm font-medium text-secondary">
<%= t("reports.summary.budget_performance") %>
</h3>