From 0bdf45477b1eaddc0e676691b5ef634a67fb7a5d Mon Sep 17 00:00:00 2001 From: fulleni Date: Sat, 5 Jul 2025 18:24:00 +0100 Subject: [PATCH] feat(dashboard): improve quick actions visual hierarchy The quick actions card has been updated to better reflect the importance of each action. - The "Create Headline" button remains a primary `ElevatedButton`. - The "Create Category" and "Create Source" buttons are now `OutlinedButton`s to visually de-emphasize them, creating a clearer action hierarchy and improving usability. --- lib/dashboard/view/dashboard_page.dart | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/lib/dashboard/view/dashboard_page.dart b/lib/dashboard/view/dashboard_page.dart index a78010ed..9215bf10 100644 --- a/lib/dashboard/view/dashboard_page.dart +++ b/lib/dashboard/view/dashboard_page.dart @@ -244,24 +244,16 @@ class _QuickActionsCard extends StatelessWidget { onPressed: () => context.goNamed(Routes.createHeadlineName), ), const SizedBox(height: AppSpacing.sm), - ElevatedButton.icon( + OutlinedButton.icon( icon: const Icon(Icons.create_new_folder_outlined), label: Text(l10n.createCategory), onPressed: () => context.goNamed(Routes.createCategoryName), - style: ElevatedButton.styleFrom( - backgroundColor: theme.colorScheme.secondaryContainer, - foregroundColor: theme.colorScheme.onSecondaryContainer, - ), ), const SizedBox(height: AppSpacing.sm), - ElevatedButton.icon( + OutlinedButton.icon( icon: const Icon(Icons.add_to_photos_outlined), label: Text(l10n.createSource), onPressed: () => context.goNamed(Routes.createSourceName), - style: ElevatedButton.styleFrom( - backgroundColor: theme.colorScheme.secondaryContainer, - foregroundColor: theme.colorScheme.onSecondaryContainer, - ), ), ], ),