From 2ea2338a1bc78b5d18e3d166481852ea0d028105 Mon Sep 17 00:00:00 2001 From: ggurdin <46800240+ggurdin@users.noreply.github.com> Date: Tue, 1 Apr 2025 13:18:29 -0400 Subject: [PATCH] chore: updated styling of bookmark button on activity suggestion card to make it stand out in light and dark mode (#2305) --- .../activity_suggestions/activity_suggestion_card.dart | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/pangea/activity_suggestions/activity_suggestion_card.dart b/lib/pangea/activity_suggestions/activity_suggestion_card.dart index b00c6c959..1354c60c9 100644 --- a/lib/pangea/activity_suggestions/activity_suggestion_card.dart +++ b/lib/pangea/activity_suggestions/activity_suggestion_card.dart @@ -188,6 +188,7 @@ class ActivitySuggestionCard extends StatelessWidget { child: IconButton( icon: Icon( isBookmarked ? Icons.bookmark : Icons.bookmark_border, + color: Theme.of(context).colorScheme.onPrimaryContainer, ), onPressed: onPressed != null ? () async { @@ -205,7 +206,10 @@ class ActivitySuggestionCard extends StatelessWidget { } : null, style: IconButton.styleFrom( - backgroundColor: Colors.black.withAlpha(200), + backgroundColor: Theme.of(context) + .colorScheme + .primaryContainer + .withAlpha(180), ), ), ),