Skip to content

Commit 3750876

Browse files
committed
feat: update frontend dependencies and add theme toggle functionality
- Updated package.json to include new dependencies for theme management and UI components. - Enhanced globals.css with new color variables and imported tw-animate-css for animations. - Refactored layout.tsx to integrate ThemeProvider for theme management. - Added ThemeToggle component for switching between light, dark, and system themes. - Created reusable Card component and its subcomponents for consistent UI design. - Introduced utility function `cn` for merging class names with Tailwind CSS.
1 parent 63a75ce commit 3750876

File tree

10 files changed

+6676
-6293
lines changed

10 files changed

+6676
-6293
lines changed

frontend/components.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"$schema": "https://ui.shadcn.com/schema.json",
3+
"style": "new-york",
4+
"rsc": true,
5+
"tsx": true,
6+
"tailwind": {
7+
"config": "",
8+
"css": "src/app/globals.css",
9+
"baseColor": "stone",
10+
"cssVariables": true,
11+
"prefix": ""
12+
},
13+
"iconLibrary": "lucide",
14+
"aliases": {
15+
"components": "@/components",
16+
"utils": "@/lib/utils",
17+
"ui": "@/components/ui",
18+
"lib": "@/lib",
19+
"hooks": "@/hooks"
20+
}
21+
}

0 commit comments

Comments
 (0)