diff --git a/lib/core/services/card_color_service.dart b/lib/core/services/card_color_service.dart index 5a92423..94dffd5 100644 --- a/lib/core/services/card_color_service.dart +++ b/lib/core/services/card_color_service.dart @@ -8,8 +8,8 @@ class CardColorService { static const _key2 = 'card_color_secondary'; static const _keyGradient = 'card_gradient_type'; - static const defaultPrimary = Color(0xFFD3B3C2); - static const defaultSecondary = Color(0xFF937070); + static const defaultPrimary = Color(0xFF5E5D5D); + static const defaultSecondary = Color(0xFF9E9E9E); static const defaultPrimaryLight = Color(0xFF6A6482); static const defaultSecondaryLight = Color(0xFF000000); diff --git a/lib/features/dashboard/widgets/search_bar.dart b/lib/features/dashboard/widgets/search_bar.dart index 163eee4..68d7a48 100644 --- a/lib/features/dashboard/widgets/search_bar.dart +++ b/lib/features/dashboard/widgets/search_bar.dart @@ -46,7 +46,7 @@ class SearchBar extends StatelessWidget { enabledBorder: OutlineInputBorder( borderRadius: BorderRadius.circular(12), borderSide: BorderSide( - color: isDark ? Colors.transparent : const Color(0xFFCCCCDD), + color: isDark ? Colors.white.withOpacity(0.08) : const Color(0xFFCCCCDD), width: 1, ), ), diff --git a/lib/features/dashboard/widgets/summary_row.dart b/lib/features/dashboard/widgets/summary_row.dart index 4d479ef..dc3cd91 100644 --- a/lib/features/dashboard/widgets/summary_row.dart +++ b/lib/features/dashboard/widgets/summary_row.dart @@ -64,7 +64,10 @@ class SummaryCard extends ConsumerWidget { Border? _themeBorder(BuildContext context) { final isDark = Theme.of(context).brightness == Brightness.dark; - return isDark ? null : Border.all(color: const Color(0xFFDDDDEE), width: 1); + return Border.all( + color: isDark ? Colors.white.withOpacity(0.08) : const Color(0xFFDDDDEE), + width: 1, + ); } @override diff --git a/lib/features/dashboard/widgets/transaction_tile.dart b/lib/features/dashboard/widgets/transaction_tile.dart index 09b2c1a..49e3e38 100644 --- a/lib/features/dashboard/widgets/transaction_tile.dart +++ b/lib/features/dashboard/widgets/transaction_tile.dart @@ -15,7 +15,10 @@ class TransactionTile extends ConsumerWidget { Border? _themeBorder(BuildContext context) { final isDark = Theme.of(context).brightness == Brightness.dark; - return isDark ? null : Border.all(color: const Color(0xFFDDDDEE), width: 1); + return Border.all( + color: isDark ? Colors.white.withOpacity(0.08) : const Color(0xFFDDDDEE), + width: 1, + ); } @override diff --git a/lib/features/settings/screen.dart b/lib/features/settings/screen.dart index d4ce493..7df6a55 100644 --- a/lib/features/settings/screen.dart +++ b/lib/features/settings/screen.dart @@ -312,11 +312,24 @@ class _BiometricSectionState extends ConsumerState<_BiometricSection> { ], ), ), - Switch( - value: _enabled, - onChanged: _onToggle, - activeThumbColor: const Color(0xFF7C6DED), - ), + if (_loading) + const SizedBox( + width: 48, + height: 32, + child: Center( + child: SizedBox( + width: 20, + height: 20, + child: CircularProgressIndicator(strokeWidth: 2), + ), + ), + ) + else + Switch( + value: _enabled, + onChanged: _onToggle, + activeThumbColor: const Color(0xFF7C6DED), + ), ], ), ),