add dark and light variants chevron color
parent
56ad417fee
commit
9f8b1f372e
|
@ -171,10 +171,13 @@ const DatePicker = ({
|
||||||
<span className="w-1/2 text-gray-600 dark:text-white">
|
<span className="w-1/2 text-gray-600 dark:text-white">
|
||||||
{dayjs().month(selectedMonth).format("MMMM YYYY")}
|
{dayjs().month(selectedMonth).format("MMMM YYYY")}
|
||||||
</span>
|
</span>
|
||||||
<div className="w-1/2 text-right text-gray-400">
|
<div className="w-1/2 text-right text-gray-600 dark:text-gray-400">
|
||||||
<button
|
<button
|
||||||
onClick={decrementMonth}
|
onClick={decrementMonth}
|
||||||
className={"mr-4 " + (selectedMonth <= dayjs().tz(inviteeTimeZone).month() && "text-gray-600")}
|
className={
|
||||||
|
"mr-4 " +
|
||||||
|
(selectedMonth <= dayjs().tz(inviteeTimeZone).month() && "text-gray-400 dark:text-gray-600")
|
||||||
|
}
|
||||||
disabled={selectedMonth <= dayjs().tz(inviteeTimeZone).month()}>
|
disabled={selectedMonth <= dayjs().tz(inviteeTimeZone).month()}>
|
||||||
<ChevronLeftIcon className="w-5 h-5" />
|
<ChevronLeftIcon className="w-5 h-5" />
|
||||||
</button>
|
</button>
|
||||||
|
|
Loading…
Reference in New Issue