Update calendar to use white backgrounds for day headers and lighter gray for separators

Modify CalendarGrid.tsx to apply white background to day headers and lighter gray to grid separators.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: d7bae60c-959e-464e-9a81-d3f674984466
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/d7bae60c-959e-464e-9a81-d3f674984466/Hzw8izO
This commit is contained in:
michaelschal committed 2025-08-19 11:54:59 +00:00
1 parent 15dc6246ba
commit 2d265a71da
2 files changed
+5 -4

No files matched your search

+3 -3
View File
@@ -442,13 +442,13 @@ export default function CalendarGrid({
return (
<div className="bg-white shadow-xl border-2 border-gray-300 overflow-hidden">
{/* Calendar Header - Design moderne épuré */}
<div className="grid grid-cols-7 bg-gradient-to-r from-slate-100 to-gray-100 border-b-2 border-gray-400">
<div className="grid grid-cols-7 bg-white border-b border-gray-200">
{weekDays.map((day, index) => (
<div
key={day}
className={`p-4 text-center text-sm font-bold tracking-wider ${
index >= 5 ? 'text-slate-700' : 'text-slate-800'
} uppercase border-r border-gray-300 last:border-r-0`}
} uppercase border-r border-gray-100 last:border-r-0`}
>
{day}
</div>
@@ -456,7 +456,7 @@ export default function CalendarGrid({
</div>
{/* Calendar Days - Grid moderne sans arrondi */}
<div className="grid grid-cols-7 gap-px bg-gray-300 p-px">
<div className="grid grid-cols-7 gap-px bg-gray-100 p-px">
{paddedDays.map((date, index) => {
const isCurrentMonth = isSameMonth(date, currentDate);
const isTodayDate = isToday(date);