From 55cbde982ebbcff6a235d6107670c97d9d037bda Mon Sep 17 00:00:00 2001 From: mustafa-rezae Date: Wed, 12 Feb 2025 17:44:17 +0330 Subject: [PATCH] Add and config tailwind v4 and nuxtui 3 --- app.config.ts | 12 +- app.vue | 2 +- assets/css/tailwind.css | 12 + assets/tailwindcss/main.css | 24 - components/other/ColorModeButton.vue | 27 + nuxt.config.ts | 16 +- package-lock.json | 4393 +++++++------------------- package.json | 7 +- postcss.config.mjs | 1 - systems/hadith_ui | 2 +- tailwind.config.js | 15 - yarn.lock | 2178 ++++--------- 12 files changed, 1831 insertions(+), 4858 deletions(-) create mode 100644 assets/css/tailwind.css delete mode 100644 assets/tailwindcss/main.css create mode 100644 components/other/ColorModeButton.vue delete mode 100644 postcss.config.mjs delete mode 100644 tailwind.config.js diff --git a/app.config.ts b/app.config.ts index 8a842dc..46fc167 100644 --- a/app.config.ts +++ b/app.config.ts @@ -7,12 +7,14 @@ export default defineAppConfig({ fallback: "light", // Set the fallback to 'light' if system preference is not available }, ui: { - primary: "green", - gray: "cool", - + colors: { + primary: "emerald", + neutral: "slate", + }, button: { - default: { - color: "orange", + defaultVariants: { + // Set default button color to neutral + // color: 'neutral' }, }, }, diff --git a/app.vue b/app.vue index bf05299..46e1ad0 100644 --- a/app.vue +++ b/app.vue @@ -1,7 +1,7 @@