refactor: adjust font weights and sizes in ToggleButton and ExpenseList for improved UI consistency
This commit is contained in:
parent
d28332b55d
commit
154cfdb471
@ -376,7 +376,6 @@ class _ToggleButton extends StatelessWidget {
|
|||||||
label,
|
label,
|
||||||
color: selected ? Colors.white : Colors.grey,
|
color: selected ? Colors.white : Colors.grey,
|
||||||
fontWeight: 600,
|
fontWeight: 600,
|
||||||
fontSize: 13,
|
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
@ -433,7 +432,7 @@ class _ExpenseList extends StatelessWidget {
|
|||||||
children: [
|
children: [
|
||||||
MyText.bodyMedium(
|
MyText.bodyMedium(
|
||||||
expense.expensesType.name,
|
expense.expensesType.name,
|
||||||
fontWeight: 700,
|
fontWeight: 600,
|
||||||
),
|
),
|
||||||
MyText.bodyMedium(
|
MyText.bodyMedium(
|
||||||
'₹ ${expense.amount.toStringAsFixed(2)}',
|
'₹ ${expense.amount.toStringAsFixed(2)}',
|
||||||
@ -446,13 +445,12 @@ class _ExpenseList extends StatelessWidget {
|
|||||||
children: [
|
children: [
|
||||||
MyText.bodySmall(
|
MyText.bodySmall(
|
||||||
formattedDate,
|
formattedDate,
|
||||||
color: Colors.grey[600],
|
fontWeight: 500,
|
||||||
),
|
),
|
||||||
const Spacer(),
|
const Spacer(),
|
||||||
MyText.bodySmall(
|
MyText.bodySmall(
|
||||||
expense.status.name,
|
expense.status.name,
|
||||||
fontWeight: 600,
|
fontWeight: 500,
|
||||||
color: Colors.black,
|
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user