From f5ed64b7da6c20d4e7ca84afb6b2932262e62811 Mon Sep 17 00:00:00 2001 From: Kyle Pope Date: Fri, 13 Mar 2026 20:09:57 +0800 Subject: [PATCH] Fix Firefox weekend tint: use absolute HSL values instead of rgba overlay MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Firefox composites rgba(255,255,255,0.05) differently against the fc-daygrid-day-frame's --fc-neutral-bg-color background, producing a visible mismatch. Switched to absolute HSL values that match the base pattern: - Month frame: hsl(0 0% 10% / 0.65) — same alpha as neutral-bg but slightly lighter (10% vs 8% lightness) - Timegrid cols: hsl(0 0% 5.5%) — slightly above page bg (3.9%) Cross-browser consistent since no alpha compositing is needed. Co-Authored-By: Claude Opus 4.6 --- frontend/src/index.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/index.css b/frontend/src/index.css index 2425258..d9d1d76 100644 --- a/frontend/src/index.css +++ b/frontend/src/index.css @@ -170,14 +170,14 @@ the tint must target the frame itself, not the td. */ .fc .fc-day-sat .fc-daygrid-day-frame, .fc .fc-day-sun .fc-daygrid-day-frame { - background-color: rgba(255, 255, 255, 0.05) !important; + background-color: hsl(0 0% 10% / 0.65) !important; } /* Weekend tint: timegrid column cells (week/day view) */ .fc .fc-timegrid-col.fc-day-sat, .fc .fc-timegrid-col.fc-day-sun { - background-color: rgba(255, 255, 255, 0.05) !important; + background-color: hsl(0 0% 5.5%) !important; }