Skip to content

Commit

Permalink
Ensure review card icon color for event view is visible in light mode (
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkeye217 committed Aug 9, 2024
1 parent bc3d156 commit ecea5c2
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions web/src/components/card/ReviewCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,16 @@ export default function ReviewCard({
<div className="flex items-center justify-between">
<div className="flex items-center justify-evenly gap-1">
{event.data.objects.map((object) => {
return getIconForLabel(object, "size-3 text-white");
return getIconForLabel(
object,
"size-3 text-primary dark:text-white",
);
})}
{event.data.audio.map((audio) => {
return getIconForLabel(audio, "size-3 text-white");
return getIconForLabel(
audio,
"size-3 text-primary dark:text-white",
);
})}
<div className="font-extra-light text-xs">{formattedDate}</div>
</div>
Expand Down

0 comments on commit ecea5c2

Please sign in to comment.