build(dependencies): 更新项目依赖并添加新库

- 更新 clsx 版本至 2.1.1
- 添加 class-variance-authority、lucide-react、tailwind-merge 和 tw-animate-css 依赖
- 优化 globals.css 文件,引入新样式和暗黑模式支持
This commit is contained in:
2025-07-10 22:26:16 +08:00
parent 2d0c585ddb
commit 20e488c545
5 changed files with 229 additions and 19 deletions

21
components.json Normal file
View File

@@ -0,0 +1,21 @@
{
"$schema": "https://ui.shadcn.com/schema.json",
"style": "new-york",
"rsc": true,
"tsx": true,
"tailwind": {
"config": "",
"css": "src/app/globals.css",
"baseColor": "slate",
"cssVariables": true,
"prefix": ""
},
"aliases": {
"components": "@/components",
"utils": "@/lib/utils",
"ui": "@/components/ui",
"lib": "@/lib",
"hooks": "@/hooks"
},
"iconLibrary": "lucide"
}