mirror of
https://github.com/callumalpass/tasknotes.git
synced 2026-07-22 12:50:26 +00:00
fix: use theme accent color for today column in week/day views
Today's column now uses a subtle tint of the theme accent color instead of FullCalendar's default yellow background for consistent styling.
This commit is contained in:
parent
972d8e51a4
commit
a3d2996a97
1 changed files with 13 additions and 1 deletions
|
|
@ -755,6 +755,18 @@
|
|||
z-index: 1;
|
||||
}
|
||||
|
||||
/* Timegrid (week/day view) today column - use subtle accent instead of FullCalendar default yellow */
|
||||
/* Must match FullCalendar's specificity: .fc .fc-timegrid-col.fc-day-today */
|
||||
.advanced-calendar-view .fc .fc-timegrid-col.fc-day-today {
|
||||
background-color: color-mix(in srgb, var(--interactive-accent) 8%, var(--background-primary)) !important;
|
||||
}
|
||||
|
||||
/* Override FullCalendar's today background CSS variable for consistent theming */
|
||||
/* Scoped to .fc inside our view to ensure the variable is properly inherited */
|
||||
.advanced-calendar-view .fc {
|
||||
--fc-today-bg-color: color-mix(in srgb, var(--interactive-accent) 8%, var(--background-primary));
|
||||
}
|
||||
|
||||
/* Header cells */
|
||||
.advanced-calendar-view .fc-col-header-cell {
|
||||
background: var(--background-primary) !important;
|
||||
|
|
@ -979,7 +991,7 @@
|
|||
display: none;
|
||||
}
|
||||
|
||||
.hide-today-highlight .fc-timegrid-col.fc-day-today {
|
||||
.hide-today-highlight .fc .fc-timegrid-col.fc-day-today {
|
||||
background: inherit !important;
|
||||
border: none !important;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue