From 43bdf2c3e5722f728e03347698f036c3e8cad222 Mon Sep 17 00:00:00 2001 From: mertsincan Date: Tue, 5 Mar 2024 09:22:33 +0000 Subject: [PATCH] Change theming implementation - 1/2 --- app.vue | 8 +- components/lib/base/style/BaseStyle.js | 140 ++++++++++++++++++ .../lib/basecomponent/BaseComponent.vue | 109 +++++++++----- components/lib/config/PrimeVue.js | 41 ++++- components/lib/themes/config/index.js | 36 +++++ components/lib/themes/config/package.json | 6 + components/lib/themes/index.js | 1 + .../lib/themes/primeone/base/panel/index.js | 22 +-- components/lib/themes/utils/dt.js | 22 +++ components/lib/themes/utils/index.js | 5 +- components/lib/themes/utils/service.js | 36 +++++ components/lib/themes/utils/sharedUtils.js | 60 +++++++- components/lib/themes/utils/toVariables.js | 7 +- components/lib/themes/utils/useColorMode.js | 12 ++ modules/nuxt-primevue/module.js | 16 +- .../nuxt-primevue/runtime/plugin.server.js | 2 + mytheme.js | 10 ++ nuxt-vite.config.js | 1 + nuxt.config.js | 1 + 19 files changed, 474 insertions(+), 61 deletions(-) create mode 100644 components/lib/themes/config/index.js create mode 100644 components/lib/themes/config/package.json create mode 100644 components/lib/themes/utils/dt.js create mode 100644 components/lib/themes/utils/service.js create mode 100644 components/lib/themes/utils/useColorMode.js create mode 100644 mytheme.js diff --git a/app.vue b/app.vue index 4f05007a7..85643b6a3 100644 --- a/app.vue +++ b/app.vue @@ -6,6 +6,7 @@