From 8ac17b8ed032044cda83aa64d64365afcc8337a5 Mon Sep 17 00:00:00 2001 From: Michal Date: Tue, 16 Apr 2024 00:27:19 +0000 Subject: [PATCH] feat: added theme setup and persistence --- src/components/PageFooter.vue | 18 ++--- src/eventBus/listeners/broadcastChannel.ts | 11 ++++ src/main.ts | 3 + src/router/index.ts | 5 ++ src/themes/__tests__/useTheme.spec.ts | 59 +++++++++++++++++ src/themes/useTheme.ts | 76 ++++++++++++++++++++++ 6 files changed, 158 insertions(+), 14 deletions(-) create mode 100644 src/themes/__tests__/useTheme.spec.ts create mode 100644 src/themes/useTheme.ts diff --git a/src/components/PageFooter.vue b/src/components/PageFooter.vue index 73017e4..57b4f2a 100644 --- a/src/components/PageFooter.vue +++ b/src/components/PageFooter.vue @@ -1,23 +1,12 @@