diff --git a/src/molecules/03_Calendar/CalendarView.tsx b/src/molecules/03_Calendar/CalendarView.tsx index 1d801f3..bb02092 100644 --- a/src/molecules/03_Calendar/CalendarView.tsx +++ b/src/molecules/03_Calendar/CalendarView.tsx @@ -708,23 +708,25 @@ export const HCalendarView = function ({ align-center justify-center [&_*]:text-body-light + [&_.fc-event_*]:text-body-dark [&_*]:dark:text-body-dark + [&_.fc-event_*]:dark:text-body-light [&_.fc]:w-full `]: true, }, ]; - // const style = { - // position: 'absolute', - // top: '50%', - // left: '50%', - // transform: 'translate(-50%, -50%)', - // width: 400, - // bgcolor: 'background.paper', - // border: '2px solid #000', - // boxShadow: 24, - // p: 4, - // }; + const style = { + position: 'absolute', + top: '50%', + left: '50%', + transform: 'translate(-50%, -50%)', + width: 400, + backgroundColor: 'white', + border: '2px solid #000', + boxShadow: 24, + p: 4, + }; const gridStyles = `${clsx(gridSx)} ${className}`; @@ -802,7 +804,7 @@ export const HCalendarView = function ({ firstDay={1} ref={calendarRef} allDayText={localization.allDay} - eventColor={theme === 'light' ? '#fff' : '#1b1b1b'} + eventColor={theme === 'dark' ? '#fff' : '#1b1b1b'} eventTextColor={theme === 'dark' ? '#1b1b1b' : '#fff'} eventClick={(info) => { info.jsEvent.preventDefault(); // don't let the browser navigate @@ -823,19 +825,22 @@ export const HCalendarView = function ({ />
- + {/*

1/2

*/} - + {modalPrompt} -