From 0a369cd181870c9d7f4c5ca6ec340cffe1c75982 Mon Sep 17 00:00:00 2001 From: MG-5 Date: Sat, 4 Nov 2023 14:55:33 +0100 Subject: [PATCH 1/2] Make calendar more wide --- pages/01_events.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/01_events.md b/pages/01_events.md index e00fbc9..e2e7ec9 100644 --- a/pages/01_events.md +++ b/pages/01_events.md @@ -37,6 +37,6 @@ icon: "far fa-calendar" -
+
From 5975bfa428a9156901c8c34698c4bdc19455e5d4 Mon Sep 17 00:00:00 2001 From: MG-5 Date: Sat, 4 Nov 2023 14:56:14 +0100 Subject: [PATCH 2/2] Adjust calendar colors to our theme Fix dark mode --- _sass/base/_variables.scss | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/_sass/base/_variables.scss b/_sass/base/_variables.scss index 71fca9b..5f22ce9 100644 --- a/_sass/base/_variables.scss +++ b/_sass/base/_variables.scss @@ -115,6 +115,32 @@ html[data-theme="dark"] { --base0f: #ff66c2; // Deprecated, Opening/Closing Embedded Language Tags, e.g. } +// Fullcalendar light mode +html, [data-theme="light"] { + --fc-page-bg-color: var(--background); + --fc-event-bg-color: var(--background); + --fc-event-text-color: var(--link); + --fc-event-border-color: var(--link); + --fc-button-bg-color: var(--background); + --fc-button-border-color: var(--link); + --fc-button-text-color: var(--link); + --fc-button-hover-bg-color: var(--meta); +} + +// Fullcalendar dark mode +html, [data-theme="dark"] { + --fc-page-bg-color: var(--background); + --fc-event-bg-color: var(--link); + --fc-event-border-color: var(--link); + --fc-event-border-color: var(--link); + --fc-today-bg-color: rgba(181, 125, 255, 0.15); + --fc-neutral-text-color: var(--fc-border-color); + --fc-button-bg-color: var(--background); + --fc-button-border-color: var(--link); + --fc-button-text-color: var(--link); + --fc-button-hover-bg-color: var(--meta); +} + // Monokai Theme //html[data-theme="dark"] { // --base00: #272822; // Default Background