diff --git a/assets/main.css b/assets/main.css
index ad39aa5..68dd98d 100644
--- a/assets/main.css
+++ b/assets/main.css
@@ -2,7 +2,8 @@
@tailwind components;
@tailwind utilities;
-:root {
+@layer base {
+ :root {
--background: 0 0% 100%;
--foreground: 222.2 84% 4.9%;
@@ -35,7 +36,7 @@
--radius: 0.5rem;
}
- :root.dark {
+ .dark {
--background: 222.2 84% 4.9%;
--foreground: 210 40% 98%;
@@ -64,6 +65,7 @@
--destructive-foreground: 210 40% 98%;
--ring: 212.7 26.8% 83.9%;
+ }
}
@layer base {
diff --git a/components.json b/components.json
index be94b1d..3dc3dc9 100644
--- a/components.json
+++ b/components.json
@@ -2,6 +2,7 @@
"$schema": "https://shadcn-vue.com/schema.json",
"style": "default",
"typescript": true,
+ "tsConfigPath": ".nuxt/tsconfig.json",
"tailwind": {
"config": "tailwind.config.js",
"css": "assets/main.css",
diff --git a/components/ui/switch/Switch.vue b/components/ui/switch/Switch.vue
new file mode 100644
index 0000000..f2ee993
--- /dev/null
+++ b/components/ui/switch/Switch.vue
@@ -0,0 +1,37 @@
+
+
+
+
+
+
+
diff --git a/components/ui/switch/index.ts b/components/ui/switch/index.ts
new file mode 100644
index 0000000..87b4b17
--- /dev/null
+++ b/components/ui/switch/index.ts
@@ -0,0 +1 @@
+export { default as Switch } from './Switch.vue'