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:
parent
ad1f669340
commit
2ea2338a1b
1 changed files with 5 additions and 1 deletions
|
|
@ -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),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue