From 45dedbf655f9c2511cf652a63b366d729729fb51 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 9677c3cbd..f39946ec1 100644 --- a/next-ui/src/App.vue +++ b/next-ui/src/App.vue @@ -9,28 +9,9 @@