From 154cfdb471fc4b841082e22cc5c57c37359a1a97 Mon Sep 17 00:00:00 2001 From: Vaibhav Surve Date: Wed, 30 Jul 2025 16:52:25 +0530 Subject: [PATCH] refactor: adjust font weights and sizes in ToggleButton and ExpenseList for improved UI consistency --- lib/view/expense/expense_screen.dart | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/lib/view/expense/expense_screen.dart b/lib/view/expense/expense_screen.dart index ac95483..5b15f71 100644 --- a/lib/view/expense/expense_screen.dart +++ b/lib/view/expense/expense_screen.dart @@ -376,7 +376,6 @@ class _ToggleButton extends StatelessWidget { label, color: selected ? Colors.white : Colors.grey, fontWeight: 600, - fontSize: 13, ), ], ), @@ -433,7 +432,7 @@ class _ExpenseList extends StatelessWidget { children: [ MyText.bodyMedium( expense.expensesType.name, - fontWeight: 700, + fontWeight: 600, ), MyText.bodyMedium( '₹ ${expense.amount.toStringAsFixed(2)}', @@ -446,13 +445,12 @@ class _ExpenseList extends StatelessWidget { children: [ MyText.bodySmall( formattedDate, - color: Colors.grey[600], + fontWeight: 500, ), const Spacer(), MyText.bodySmall( expense.status.name, - fontWeight: 600, - color: Colors.black, + fontWeight: 500, ), ], ),