From 70dfbf2f05ec60fecfc0a4303d68f8f6e88f3496 Mon Sep 17 00:00:00 2001 From: wea_ondara Date: Thu, 5 Oct 2023 15:56:52 +0200 Subject: [PATCH] use shared dark mode state in BootstrapThemeSwitch.vue to support multiple instances of switches to be in sync --- .../BootstrapThemeSwitch.vue | 50 ++++++++++++------- 1 file changed, 31 insertions(+), 19 deletions(-) diff --git a/src/components/bootstrapThemeSwitch/BootstrapThemeSwitch.vue b/src/components/bootstrapThemeSwitch/BootstrapThemeSwitch.vue index 12e9e97..a442560 100644 --- a/src/components/bootstrapThemeSwitch/BootstrapThemeSwitch.vue +++ b/src/components/bootstrapThemeSwitch/BootstrapThemeSwitch.vue @@ -1,37 +1,49 @@