refactor: adjust font weights and sizes in ToggleButton and ExpenseList for improved UI consistency

This commit is contained in:
Vaibhav Surve 2025-07-30 16:52:25 +05:30
parent d28332b55d
commit 154cfdb471

View File

@ -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,
),
],
),