Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 31d548a

Browse files
authored
Merge pull request #26 from headlines-toolkit/refactor_dashboard_ui_polish
feat(dashboard): improve quick actions visual hierarchy
2 parents fbc26d4 + d1c6c9b commit 31d548a

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

‎lib/dashboard/view/dashboard_page.dart‎

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -244,24 +244,16 @@ class _QuickActionsCard extends StatelessWidget {
244244
onPressed: () => context.goNamed(Routes.createHeadlineName),
245245
),
246246
const SizedBox(height: AppSpacing.sm),
247-
ElevatedButton.icon(
247+
OutlinedButton.icon(
248248
icon: const Icon(Icons.create_new_folder_outlined),
249249
label: Text(l10n.createCategory),
250250
onPressed: () => context.goNamed(Routes.createCategoryName),
251-
style: ElevatedButton.styleFrom(
252-
backgroundColor: theme.colorScheme.secondaryContainer,
253-
foregroundColor: theme.colorScheme.onSecondaryContainer,
254-
),
255251
),
256252
const SizedBox(height: AppSpacing.sm),
257-
ElevatedButton.icon(
253+
OutlinedButton.icon(
258254
icon: const Icon(Icons.add_to_photos_outlined),
259255
label: Text(l10n.createSource),
260256
onPressed: () => context.goNamed(Routes.createSourceName),
261-
style: ElevatedButton.styleFrom(
262-
backgroundColor: theme.colorScheme.secondaryContainer,
263-
foregroundColor: theme.colorScheme.onSecondaryContainer,
264-
),
265257
),
266258
],
267259
),

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /