@@ -50,20 +50,20 @@ export const PersianCalendar: React.FC = () => {
5050 < div className = "grid gap-4 md:grid-cols-5" dir = "rtl" >
5151 < div className = "p-4 md:col-span-3 bg-gradient-to-br from-neutral-100 to-neutral-50 dark:from-neutral-800 dark:to-neutral-900 rounded-xl backdrop-blur-sm lg:h-96" >
5252 < div className = "flex items-center justify-between mb-4" >
53- < h3 className = "text-xl font-medium text-gray-200 " >
53+ < h3 className = "text-xl font-medium text-gray-500 dark:text-gray-100 " >
5454 { PERSIAN_MONTHS [ currentDate . jMonth ( ) ] } { currentDate . jYear ( ) }
5555 </ h3 >
5656 < div className = "flex gap-2" >
5757 < button
5858 onClick = { ( ) => changeMonth ( - 1 ) }
59- className = "flex flex-row-reverse items-center gap-1 p-2 text-gray-400 rounded-lg hover:text-gray-200 hover:bg-gray-700/50"
59+ className = "flex flex-row-reverse items-center gap-1 p-2 text-gray-500 rounded-lg dark:text-gray-200 hover:text-gray-200 hover:bg-gray-700/50"
6060 >
6161 ماه قبل
6262 < FaChevronRight />
6363 </ button >
6464 < button
6565 onClick = { ( ) => changeMonth ( 1 ) }
66- className = "flex flex-row-reverse items-center gap-1 p-2 text-gray-400 rounded-lg hover:text-gray-200 hover:bg-gray-700/50"
66+ className = "flex flex-row-reverse items-center gap-1 p-2 text-gray-500 rounded-lg dark:text-gray-200 hover:text-gray-200 hover:bg-gray-700/50"
6767 >
6868 < FaChevronLeft />
6969 ماه بعد
@@ -73,7 +73,10 @@ export const PersianCalendar: React.FC = () => {
7373
7474 < div className = "grid grid-cols-7 gap-2" >
7575 { WEEKDAYS . map ( ( day ) => (
76- < div key = { day } className = "py-2 text-xs text-center text-gray-400" >
76+ < div
77+ key = { day }
78+ className = "py-2 text-xs text-center text-gray-500 dark:text-gray-200"
79+ >
7780 { day }
7881 </ div >
7982 ) ) }
@@ -99,7 +102,7 @@ export const PersianCalendar: React.FC = () => {
99102 </ div >
100103
101104 < div className = "p-4 md:col-span-2 bg-gradient-to-br from-neutral-100 to-neutral-50 dark:from-neutral-800 dark:to-neutral-900 rounded-xl backdrop-blur-sm" >
102- < h3 className = "mb-4 text-xl font-medium text-gray-200 " >
105+ < h3 className = "mb-4 text-xl font-medium text-gray-500 dark:text-gray-100 " >
103106 { PERSIAN_MONTHS [ selectedDate . jMonth ( ) ] } { selectedDate . jDate ( ) }
104107 </ h3 >
105108
@@ -117,7 +120,7 @@ const CalendarLayout = () => {
117120 return (
118121 < section className = "p-2 mx-1 overflow-y-auto rounded lg:mx-4 max-h-[calc(100vh-4rem)]" >
119122 < div className = "flex items-center justify-between w-full px-1 mb-4" >
120- < h2 className = "text-lg font-semibold text-gray-200 font-[balooTamma]" >
123+ < h2 className = "text-lg font-semibold dark: text-gray-200 font-[balooTamma]" >
121124 📅 Calender
122125 </ h2 >
123126 < div
0 commit comments