diff --git a/app/globals.css b/app/globals.css
index 571302f..c25300b 100644
--- a/app/globals.css
+++ b/app/globals.css
@@ -12,6 +12,18 @@
--orange: #fb923c;
}
+[data-theme="light"] {
+ --bg: #f8fafc;
+ --card: #ffffff;
+ --border: #e2e8f0;
+ --text: #0f172a;
+ --text-muted: #64748b;
+ --accent: #0284c7;
+ --accent2: #7c3aed;
+ --green: #16a34a;
+ --orange: #ea580c;
+}
+
body {
background: var(--bg);
color: var(--text);
diff --git a/app/providers.tsx b/app/providers.tsx
index 418faa2..421abe1 100644
--- a/app/providers.tsx
+++ b/app/providers.tsx
@@ -1,8 +1,13 @@
"use client";
import { I18nProvider } from "@/lib/i18n";
+import { ThemeProvider } from "@/lib/theme";
import { ReactNode } from "react";
export function Providers({ children }: { children: ReactNode }) {
- return {children};
+ return (
+
+ {children}
+
+ );
}
diff --git a/app/sidebar.tsx b/app/sidebar.tsx
index 1bda7cc..3cd8925 100644
--- a/app/sidebar.tsx
+++ b/app/sidebar.tsx
@@ -4,6 +4,7 @@ import { useState } from "react";
import Link from "next/link";
import { usePathname } from "next/navigation";
import { useI18n, LanguageSwitcher } from "@/lib/i18n";
+import { ThemeSwitcher } from "@/lib/theme";
const NAV_ITEMS = [
{
@@ -65,6 +66,7 @@ export function Sidebar() {
+