feat: red highlight for datetime in card summary
This commit is contained in:
@@ -48,7 +48,7 @@ const CardAttributesInSummaryItem = ({ cardSummary }: Props) => {
|
||||
.map(cardAttr => {
|
||||
const isHighlight = isHighlightNeeded(cardAttr);
|
||||
return (
|
||||
<Text c={isHighlight ? "white" : "gray.6"} size={"sm"}>
|
||||
<Text c={isHighlight ? "red" : "gray.6"} size={"sm"}>
|
||||
{cardAttr.attribute.label}: {getAttrValueValue(cardAttr)}
|
||||
</Text>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user