feat: 完成前端项目初始化 (TASK-003)
- 创建 Next.js 14+ 前端项目,TypeScript + Tailwind CSS - 安装核心依赖:axios, react-hook-form, zod, zustand, recharts - 安装 Shadcn/ui 组件库 - 配置环境变量和基础目录结构 - 验证构建成功 任务状态:TASK-003 已完成 下一步:TASK-004 配置数据库 Assisted-by: Kiro AI <kiro@cursor.com>
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
@import "tailwindcss";
|
||||
|
||||
:root {
|
||||
--background: #ffffff;
|
||||
--foreground: #171717;
|
||||
}
|
||||
|
||||
@theme inline {
|
||||
--color-background: var(--background);
|
||||
--color-foreground: var(--foreground);
|
||||
--font-sans: var(--font-geist-sans);
|
||||
--font-mono: var(--font-geist-mono);
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
--background: #0a0a0a;
|
||||
--foreground: #ededed;
|
||||
}
|
||||
}
|
||||
|
||||
body {
|
||||
background: var(--background);
|
||||
color: var(--foreground);
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
}
|
||||
Reference in New Issue
Block a user