diff --git a/src/components/generator/Calendar/utils/calendarConfigUtils.js b/src/components/generator/Calendar/utils/calendarConfigUtils.js index b951e94..3f2cc31 100644 --- a/src/components/generator/Calendar/utils/calendarConfigUtils.js +++ b/src/components/generator/Calendar/utils/calendarConfigUtils.js @@ -23,8 +23,6 @@ export const getFullCalendarConfig = ({ height: 835, dayHeaderFormat: { weekday: "short" }, dayHeaderContent: (arg) => arg.text.toUpperCase(), - dayCellClassNames: (arg) => - arg.date.getDay() === new Date().getDay() ? "fc-day-today" : "", slotMinTime: "08:00:00", slotMaxTime: "23:00:00", slotDuration: "00:30:00", diff --git a/src/styles/generator/Calendar.css b/src/styles/generator/Calendar.css index 1fcb828..079f0dd 100644 --- a/src/styles/generator/Calendar.css +++ b/src/styles/generator/Calendar.css @@ -1,7 +1,3 @@ -#Calendar .fc .fc-day-today { - background-color: hsl(var(--accent) / 0.28) !important; -} - #infoButtonBox { flex: 1; display: flex; diff --git a/src/styles/generator/CustomCalendar.css b/src/styles/generator/CustomCalendar.css index 9e8e17c..c75a3c8 100644 --- a/src/styles/generator/CustomCalendar.css +++ b/src/styles/generator/CustomCalendar.css @@ -3,7 +3,7 @@ --fc-page-bg-color: hsl(var(--background)); --fc-neutral-bg-color: hsl(var(--muted) / 0.55); --fc-neutral-text-color: hsl(var(--muted-foreground)); - --fc-today-bg-color: hsl(var(--accent) / 0.38); + --fc-today-bg-color: transparent; --fc-now-indicator-color: hsl(var(--primary)); } @@ -82,14 +82,6 @@ background: hsl(var(--muted) / 0.45); } -#Calendar .fc .fc-day-today { - background-color: hsl(var(--accent) / 0.28) !important; -} - -#Calendar .fc .fc-timegrid-col.fc-day-today { - box-shadow: inset 0 0 0 1px hsl(var(--ring) / 0.32); -} - #Calendar .fc .fc-timegrid-event, #Calendar .fc .fc-event { border: 1px solid hsl(var(--background) / 0.45); @@ -140,7 +132,7 @@ --fc-page-bg-color: hsl(var(--card)); --fc-neutral-bg-color: hsl(var(--muted) / 0.6); --fc-neutral-text-color: hsl(var(--muted-foreground)); - --fc-today-bg-color: hsl(var(--accent) / 0.28); + --fc-today-bg-color: transparent; } .dark #Calendar .fc .fc-col-header-cell-cushion,