Ensure review card icon color for event view is visible in light mode (#12812)

This commit is contained in:
Josh Hawkins 2024-08-07 13:31:39 -05:00 committed by Nicolas Mowen
parent 57503cc318
commit 9f43d10ba7

View File

@ -130,10 +130,16 @@ export default function ReviewCard({
<div className="flex items-center justify-between"> <div className="flex items-center justify-between">
<div className="flex items-center justify-evenly gap-1"> <div className="flex items-center justify-evenly gap-1">
{event.data.objects.map((object) => { {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) => { {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 className="font-extra-light text-xs">{formattedDate}</div>
</div> </div>