Fix weekend tint: replace grayscale with 3% white overlay
RCA finding: grayscale tints are imperceptible on near-black (#0a0a0a) backgrounds. Deltas of 3-5 RGB units fall below human JND threshold and OLED panels can clip them to identical output via gamma compression. Changed from hsl(0 0% 5%) to hsl(0 0% 100% / 0.03) — a semi-transparent white overlay that composites additively for visible contrast. See .claude/context/RCA/rca-calendarbg.md for full investigation. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
ebeaefe0c5
commit
3ead9cd25a
@ -167,25 +167,25 @@
|
||||
/* Weekend column tint */
|
||||
.fc .fc-day-sat,
|
||||
.fc .fc-day-sun {
|
||||
background-color: hsl(0 0% 5%);
|
||||
background-color: hsl(0 0% 100% / 0.03);
|
||||
}
|
||||
|
||||
/* Weekend tint: header cells (higher specificity to override .fc-col-header-cell) */
|
||||
.fc .fc-col-header-cell.fc-day-sat,
|
||||
.fc .fc-col-header-cell.fc-day-sun {
|
||||
background-color: hsl(0 0% 5%) !important;
|
||||
background-color: hsl(0 0% 100% / 0.03) !important;
|
||||
}
|
||||
|
||||
/* Weekend tint: timegrid column cells */
|
||||
.fc .fc-timegrid-col.fc-day-sat,
|
||||
.fc .fc-timegrid-col.fc-day-sun {
|
||||
background-color: hsl(0 0% 5%);
|
||||
background-color: hsl(0 0% 100% / 0.03);
|
||||
}
|
||||
|
||||
/* Weekend tint: daygrid frame layer (paints above td background in FC6) */
|
||||
.fc .fc-day-sat .fc-daygrid-day-frame,
|
||||
.fc .fc-day-sun .fc-daygrid-day-frame {
|
||||
background-color: hsl(0 0% 5%);
|
||||
background-color: hsl(0 0% 100% / 0.03);
|
||||
}
|
||||
|
||||
.fc .fc-col-header-cell {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user