Fix weekend tint not rendering: replace color-mix() with rgba()

autoprefixer was silently stripping color-mix() during the PostCSS
build pipeline, causing the weekend tint background rules to produce
no output in the deployed CSS bundle. Replaced the three weekend
tint color-mix() calls with equivalent rgba(255,255,255,0.05) which
autoprefixer passes through unchanged.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Kyle 2026-03-13 14:19:20 +08:00
parent 744fe2c224
commit d959803985

View File

@ -170,19 +170,19 @@
the tint must target the frame itself, not the td. */ the tint must target the frame itself, not the td. */
.fc .fc-day-sat .fc-daygrid-day-frame, .fc .fc-day-sat .fc-daygrid-day-frame,
.fc .fc-day-sun .fc-daygrid-day-frame { .fc .fc-day-sun .fc-daygrid-day-frame {
background-color: color-mix(in srgb, white 5%, transparent) !important; background-color: rgba(255, 255, 255, 0.05) !important;
} }
/* Weekend tint: header cells */ /* Weekend tint: header cells */
.fc .fc-col-header-cell.fc-day-sat, .fc .fc-col-header-cell.fc-day-sat,
.fc .fc-col-header-cell.fc-day-sun { .fc .fc-col-header-cell.fc-day-sun {
background-color: color-mix(in srgb, white 5%, hsl(0 0% 8% / 0.65)) !important; background-color: rgba(255, 255, 255, 0.05) !important;
} }
/* Weekend tint: timegrid column cells (week/day view) */ /* Weekend tint: timegrid column cells (week/day view) */
.fc .fc-timegrid-col.fc-day-sat, .fc .fc-timegrid-col.fc-day-sat,
.fc .fc-timegrid-col.fc-day-sun { .fc .fc-timegrid-col.fc-day-sun {
background-color: color-mix(in srgb, white 5%, transparent) !important; background-color: rgba(255, 255, 255, 0.05) !important;
} }