From 8b997f400bde5d01768f313f572ab931501d7ffd Mon Sep 17 00:00:00 2001 From: Gauthier Roebroeck Date: Thu, 26 Jun 2025 11:32:13 +0800 Subject: [PATCH] extract theme watcher in a composable --- next-ui/src/App.vue | 23 ++--------------------- next-ui/src/composables/themeWatcher.ts | 24 ++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 21 deletions(-) create mode 100644 next-ui/src/composables/themeWatcher.ts diff --git a/next-ui/src/App.vue b/next-ui/src/App.vue index 9677c3cb..f39946ec 100644 --- a/next-ui/src/App.vue +++ b/next-ui/src/App.vue @@ -9,28 +9,9 @@