Skip to content

Commit 9ec2fb5

Browse files
committed
style(calendar): update background gradient for improved visual appeal in calendar layout
1 parent 099a61a commit 9ec2fb5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/layouts/calendar/calendar.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export const PersianCalendar: React.FC = () => {
4949
const { todos } = useTodo()
5050
return (
5151
<div className="grid gap-4 md:grid-cols-5" dir="rtl">
52-
<div className="p-4 md:col-span-3 bg-gray-800/50 rounded-xl backdrop-blur-sm lg:h-96">
52+
<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">
5353
<div className="flex items-center justify-between mb-4">
5454
<h3 className="text-xl font-medium text-gray-200">
5555
{PERSIAN_MONTHS[currentDate.jMonth()]} {currentDate.jYear()}
@@ -99,7 +99,7 @@ export const PersianCalendar: React.FC = () => {
9999
</div>
100100
</div>
101101

102-
<div className="p-4 md:col-span-2 bg-gray-800/50 rounded-xl backdrop-blur-sm">
102+
<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">
103103
<h3 className="mb-4 text-xl font-medium text-gray-200">
104104
{PERSIAN_MONTHS[selectedDate.jMonth()]} {selectedDate.jDate()}
105105
</h3>

0 commit comments

Comments
 (0)