Skip to content

Commit f872a79

Browse files
committed
fix: Resolve lack of text contrast on selected.
1 parent 3007549 commit f872a79

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/Date/Day.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,11 @@ function Day(props: {
101101
textColor
102102
? {
103103
color:
104-
theme.isV3 && isToday ? theme.colors.primary : textColor,
104+
theme.isV3 && isToday && selected
105+
? textColor
106+
: theme.isV3 && isToday
107+
? theme.colors.primary
108+
: textColor,
105109
}
106110
: undefined,
107111
{ ...textFont },

0 commit comments

Comments
 (0)