The personal finance app for everyone (by everyone)
Ruby
feat(mobile): normalize dashboard text weight to DS Medium (500) (#2344)
ghost6dec201c228d
diff --git a/mobile/lib/screens/dashboard_screen.dart b/mobile/lib/screens/dashboard_screen.dartindex b42c75ec83..3fec860066 100644--- a/mobile/lib/screens/dashboard_screen.dart+++ b/mobile/lib/screens/dashboard_screen.dart@@ -710,7 +710,7 @@ class _CollapsibleTypeHeader extends StatelessWidget {Text(title,style: Theme.of(context).textTheme.titleSmall?.copyWith(- fontWeight: FontWeight.w600,+ fontWeight: FontWeight.w500,),),const SizedBox(width: 8),@@ -724,7 +724,7 @@ class _CollapsibleTypeHeader extends StatelessWidget {count.toString(),style: TextStyle(color: colorScheme.onPrimaryContainer,- fontWeight: FontWeight.bold,+ fontWeight: FontWeight.w500,fontSize: 11,),),diff --git a/mobile/lib/screens/recent_transactions_screen.dart b/mobile/lib/screens/recent_transactions_screen.dartindex ccf7a27688..0dd7518ddb 100644--- a/mobile/lib/screens/recent_transactions_screen.dart+++ b/mobile/lib/screens/recent_transactions_screen.dart@@ -274,7 +274,7 @@ class _RecentTransactionsScreenState extends State<RecentTransactionsScreen> {: '$sign${transaction.currency} ${_formatAmount(amount.abs())}',trend: moneyTrend,style: const TextStyle(- fontWeight: FontWeight.bold,+ fontWeight: FontWeight.w500,fontSize: 16,),),diff --git a/mobile/lib/screens/transactions_list_screen.dart b/mobile/lib/screens/transactions_list_screen.dartindex 3bdca2e8c6..010f974eb1 100644--- a/mobile/lib/screens/transactions_list_screen.dart+++ b/mobile/lib/screens/transactions_list_screen.dart@@ -564,7 +564,7 @@ class _TransactionsListScreenState extends State<TransactionsListScreen> {child: Text(transaction.name,style: Theme.of(context).textTheme.titleMedium?.copyWith(- fontWeight: FontWeight.w600,+ fontWeight: FontWeight.w500,),overflow: TextOverflow.ellipsis,),@@ -664,7 +664,7 @@ class _TransactionsListScreenState extends State<TransactionsListScreen> {trend: displayInfo['trend'] as MoneyTrend,overflow: TextOverflow.ellipsis,style: Theme.of(context).textTheme.titleMedium?.copyWith(- fontWeight: FontWeight.bold,+ fontWeight: FontWeight.w500,),),),diff --git a/mobile/lib/widgets/account_card.dart b/mobile/lib/widgets/account_card.dartindex 7e45adc337..8c4a05f785 100644--- a/mobile/lib/widgets/account_card.dart+++ b/mobile/lib/widgets/account_card.dart@@ -89,7 +89,7 @@ class AccountCard extends StatelessWidget {Text(account.name,style: Theme.of(context).textTheme.titleMedium?.copyWith(- fontWeight: FontWeight.w600,+ fontWeight: FontWeight.w500,),maxLines: 1,overflow: TextOverflow.ellipsis,@@ -113,7 +113,7 @@ class AccountCard extends StatelessWidget {account.balance,style: SureMoney.tabular(Theme.of(context).textTheme.titleMedium?.copyWith(- fontWeight: FontWeight.bold,+ fontWeight: FontWeight.w500,color: account.isLiability? SureColors.of(context).palette.destructive: null,diff --git a/mobile/lib/widgets/net_worth_card.dart b/mobile/lib/widgets/net_worth_card.dartindex 2de81de89c..a4c409dd36 100644--- a/mobile/lib/widgets/net_worth_card.dart+++ b/mobile/lib/widgets/net_worth_card.dart@@ -68,7 +68,7 @@ class NetWorthCard extends StatelessWidget {'Outdated',style: Theme.of(context).textTheme.labelSmall?.copyWith(color: colorScheme.secondary,- fontWeight: FontWeight.w600,+ fontWeight: FontWeight.w500,),),),@@ -80,7 +80,7 @@ class NetWorthCard extends StatelessWidget {netWorthFormatted ?? '--',style: SureMoney.tabular(Theme.of(context).textTheme.headlineSmall?.copyWith(- fontWeight: FontWeight.bold,+ fontWeight: FontWeight.w500,color: isStale? colorScheme.secondary: colorScheme.onSurface,@@ -209,7 +209,7 @@ class NetWorthCard extends StatelessWidget {Text(title,style: Theme.of(context).textTheme.titleLarge?.copyWith(- fontWeight: FontWeight.bold,+ fontWeight: FontWeight.w500,color: color,),),@@ -241,7 +241,7 @@ class NetWorthCard extends StatelessWidget {Text(formatAmount(entry.key, entry.value),style: Theme.of(context).textTheme.titleMedium?.copyWith(- fontWeight: FontWeight.bold,+ fontWeight: FontWeight.w500,),),],@@ -303,7 +303,7 @@ class _FilterButton extends StatelessWidget {child: Text('--',style: Theme.of(context).textTheme.titleLarge?.copyWith(- fontWeight: FontWeight.bold,+ fontWeight: FontWeight.w500,color: colorScheme.onSurface,),),@@ -314,7 +314,7 @@ class _FilterButton extends StatelessWidget {formatAmount(sortedEntries.first.key, sortedEntries.first.value),style: SureMoney.tabular(Theme.of(context).textTheme.titleMedium?.copyWith(- fontWeight: FontWeight.bold,+ fontWeight: FontWeight.w500,color: colorScheme.onSurface,),),@@ -336,7 +336,7 @@ class _FilterButton extends StatelessWidget {formatAmount(entry.key, entry.value),style: SureMoney.tabular(Theme.of(context).textTheme.titleMedium?.copyWith(- fontWeight: FontWeight.bold,+ fontWeight: FontWeight.w500,color: colorScheme.onSurface,),),