feat: 初始版本 - 家庭收纳管理系统

- 创建 Next.js 14 + TypeScript + TailwindCSS 项目
- 集成 Shadcn/ui 组件库
- 实现物品列表和详情展示
- 实现分类管理功能
- 实现位置管理功能
- 实现搜索和筛选功能
- 添加模拟数据

技术栈:Next.js 14, React, TailwindCSS, Shadcn/ui
This commit is contained in:
shunzi
2026-03-17 01:04:53 +08:00
parent 7005be2a5e
commit 8bf41a9f45
15 changed files with 1551 additions and 92 deletions
+34
View File
@@ -4,6 +4,40 @@
@tailwind components;
@tailwind utilities;
@layer base {
:root {
--background: 0 0% 100%;
--foreground: 222.2 84% 4.9%;
--card: 0 0% 100%;
--card-foreground: 222.2 84% 4.9%;
--popover: 0 0% 100%;
--popover-foreground: 222.2 84% 4.9%;
--primary: 222.2 47.4% 11.2%;
--primary-foreground: 210 40% 98%;
--secondary: 210 40% 96.1%;
--secondary-foreground: 222.2 47.4% 11.2%;
--muted: 210 40% 96.1%;
--muted-foreground: 215.4 16.3% 46.9%;
--accent: 210 40% 96.1%;
--accent-foreground: 222.2 47.4% 11.2%;
--destructive: 0 84.2% 60.2%;
--destructive-foreground: 210 40% 98%;
--border: 214.3 31.8% 91.4%;
--input: 214.3 31.8% 91.4%;
--ring: 222.2 84% 4.9%;
--radius: 0.5rem;
}
}
@layer base {
* {
@apply border-border;
}
body {
@apply bg-background text-foreground;
}
}
@layer utilities {
.text-balance {
text-wrap: balance;