chore: updated styling of bookmark button on activity suggestion card to make it stand out in light and dark mode (#2305)

This commit is contained in:
ggurdin 2025-04-01 13:18:29 -04:00 committed by GitHub
parent ad1f669340
commit 2ea2338a1b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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),
),
),
),