Skip to content

Commit

Permalink
💚 Fix unreadable colored text (#365)
Browse files Browse the repository at this point in the history
  • Loading branch information
devmount authored Apr 17, 2024
1 parent 5e7c168 commit 702ba08
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions frontend/src/components/CalendarQalendar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,7 @@ watch(currentDate, () => onCurrentDateChange(currentDate.value));
--qalendar-theme-color: var(--qalendar-blue) !important;
--qalendar-light-gray: theme('colors.gray.600') !important;
--qalendar-dark-mode-line-color: var(--qalendar-appointment-border-color);
--qalendar-option-hover: theme('colors.gray.500')66 !important; /* note: the appended hex 66 makes 40% opacity */
}
/* Ensure smol mode is clickable, and noticeable! */
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/elements/CalendarEvent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
:style="{
borderColor: eventColor(eventData, placeholder).border,
backgroundColor: monthView || placeholder ? eventColor(eventData, placeholder).background : eventData.calendar_color,
color: monthView || placeholder ? getAccessibleColor(eventColor(eventData, placeholder).background) : getAccessibleColor(eventData.calendar_color),
color: !monthView ? getAccessibleColor(eventData.calendar_color) : null,
}"
@click="emit('eventSelected', day)"
@mouseenter="element => showDetails ? popup=showEventPopup(element, event, popupPosition) : null"
Expand Down

0 comments on commit 702ba08

Please sign in to comment.