Help me adjust the code such that in the calendar, the eventgrid text color will be…
- User
Help me adjust the code such that in the calendar, the eventgrid text color will be black when the background is yellow. This means ALL the text will be black on yellow background. This is to make it easy to read. code context:
code<div class="main-section"> <div class="calendar-container"> <FullCalendar :options="calendarOptions" /> </div> <div class="right-container" :class="{'show': isRightContainerVisible }"> <div v-if="selectedDateDetails" class="details-container"> <div class="details-header"> <h2>Details for {{ selectedDate }}</h2> <!-- Close button is always rendered but hidden on larger screens via CSS --> <button class="close-button" @click="isRightContainerVisible = false">×</button> </div> <div class="time-slot" v-for="(slot, key) in selectedDateDetails" :key="key"> <details open> <summary> <span class="time-label">{{ key }}</span> <div class="badge-container"> <span class="badge badge-office"> In Office ({{ slot.inOffice }}/{{ slot.total }}) </span> <span class="badge badge-wfh"> WFH ({{ slot.wfh }}/{{ slot.total }}) </span> </div> </summary> <div class="teams"> <div class="team card" v-for="team in slot.teams" :key="team.teamName"> <details> <summary> {{ team.teamName }} <span class="badge badge-office"> In Office: {{ team.inOffice }}/{{ team.total }} </span> <span class="badge badge-wfh"> WFH: {{ team.wfh }}/{{ team.total }} </span> </summary> <div class="staff-list"> <div class="staff-card" v-for="staff in team.staff" :key="staff.staff_id"> <span :class="['status-indicator', staff.status === 'OFFICE' ? 'green' : 'yellow']"></span> <span class="staff-name">{{ staff.name }}</span> </div> </div> </details> </div> </div> </details> </div> </div> <div v-else class="no-selection"> <p>Select a date on the calendar to view details.</p> </div> </div> </div> </div> - Assistant