feat:#4 updated calendar color for event and border

This commit is contained in:
Elmar Kresse
2024-05-23 17:38:44 +02:00
parent d35ee8aa30
commit a44a0e1448
8 changed files with 43 additions and 5 deletions

View File

@@ -172,9 +172,12 @@ const calendarOptions: ComputedRef<CalendarOptions> = computed(() => ({
id: event.id.toString(),
start: event.start,
end: event.end,
color: event.showFree
? "var(--htwk-gruen-500)"
backgroundColor: event.showFree
? "var(--htwk-gruen-500)"
: "var(--htwk-grau-60-500)",
borderColor: event.showFree
? "var(--htwk-gruen-600)"
: "var(--htwk-grau-60-600)",
textColor: event.showFree
? "var(--green-50)"
: "white",