mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender-pwa.git
synced 2025-08-07 04:09:17 +02:00
Merge branch '56-free-rooms-color' into 'main'
56 new color for occupied rooms Closes #56 See merge request ekresse/htwkalender!47
This commit is contained in:
@@ -172,10 +172,12 @@ const calendarOptions: ComputedRef<CalendarOptions> = computed(() => ({
|
|||||||
id: event.id.toString(),
|
id: event.id.toString(),
|
||||||
start: event.start,
|
start: event.start,
|
||||||
end: event.end,
|
end: event.end,
|
||||||
color: event.showFree ? "var(--htwk-gruen-500)" : "var(--primary-color)",
|
color: event.showFree
|
||||||
|
? "var(--htwk-gruen-500)"
|
||||||
|
: "var(--htwk-grau-60-500)",
|
||||||
textColor: event.showFree
|
textColor: event.showFree
|
||||||
? "var(--green-50)"
|
? "var(--green-50)"
|
||||||
: "var(--primary-color-text)",
|
: "white",
|
||||||
title: event.showFree
|
title: event.showFree
|
||||||
? t("roomFinderPage.available")
|
? t("roomFinderPage.available")
|
||||||
: t("roomFinderPage.occupied"),
|
: t("roomFinderPage.occupied"),
|
||||||
|
Reference in New Issue
Block a user