From a0533ee0a7642cfa9183a0488a8e88c93521b2aa Mon Sep 17 00:00:00 2001 From: Kyle Pope Date: Fri, 13 Mar 2026 20:30:08 +0800 Subject: [PATCH] =?UTF-8?q?Remove=20weekend=20background=20tint=20?= =?UTF-8?q?=E2=80=94=20cross-browser=20compositing=20unreliable?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit After 10+ attempts, semi-transparent HSL values on near-black backgrounds produce visible teal artifacts in Firefox due to compositor divergence. Weekday/weekend frames now use identical --fc-neutral-bg-color. FC's own weekend td background is neutralised with transparent !important. Co-Authored-By: Claude Opus 4.6 --- frontend/src/index.css | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/frontend/src/index.css b/frontend/src/index.css index e2ff451..06cb1b7 100644 --- a/frontend/src/index.css +++ b/frontend/src/index.css @@ -164,20 +164,13 @@ } } -/* Weekend column tint */ -/* Month view: paint the fc-daygrid-day-frame (FC6 inner div) with 5% white overlay. - The parent bg is hidden behind the frame painted by --fc-neutral-bg-color, so - 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: hsl(0 0% 9% / 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: hsl(0 0% 5.5%) !important; +/* Weekend columns: neutralise FullCalendar's built-in weekend td background. + The frame inherits --fc-neutral-bg-color identically to weekdays. + Weekend tint removed after 10+ attempts — cross-browser compositing divergence + (Firefox produces teal artifact from semi-transparent HSL on near-black bg). */ +.fc .fc-day-sat, +.fc .fc-day-sun { + background-color: transparent !important; }