From 3cc82927480473e94a99860d44cf44380d44aefe Mon Sep 17 00:00:00 2001 From: "smx.pusha" <139338836+smxpusha@users.noreply.github.com> Date: Sat, 8 Aug 2026 21:49:28 +0200 Subject: [PATCH] ENH - adopt Konsta calendar controls --- frontend/src/views/apps/CalendarApp.vue | 128 ++++++++++-------------- 1 file changed, 53 insertions(+), 75 deletions(-) diff --git a/frontend/src/views/apps/CalendarApp.vue b/frontend/src/views/apps/CalendarApp.vue index 9073bf9..f83cdd9 100644 --- a/frontend/src/views/apps/CalendarApp.vue +++ b/frontend/src/views/apps/CalendarApp.vue @@ -17,6 +17,7 @@ import { UserRound, X, } from 'lucide-vue-next' +import { kFab } from 'konsta/vue' import { computed, nextTick, onMounted, reactive, ref } from 'vue' import { useAccountStore } from '@/stores/account' @@ -77,6 +78,11 @@ const hourOptions = Array.from({ length: 24 }, (_, index) => const minuteOptions = Array.from({ length: 12 }, (_, index) => String(index * 5).padStart(2, '0'), ) +const cornerButtonColors = { + bgIos: 'bg-ios-light-glass/75 dark:bg-ios-dark-glass/75', + activeBgIos: 'active:bg-white/90 dark:active:bg-white/20', + textIos: 'text-black/80 dark:text-white/80', +} const viewModes: Array<{ icon: typeof LayoutGrid id: CalendarViewMode @@ -444,45 +450,60 @@ onMounted(async () => { class="calendar__toolbar" :class="{ 'calendar__toolbar--year': yearOverviewOpen }" > - -
- - - + +
@@ -703,9 +724,13 @@ onMounted(async () => { @@ -916,6 +941,7 @@ onMounted(async () => {