20260624214849

This commit is contained in:
oneao committed 2026-06-24 21:48:49 +08:00
1 parent 513a991b57
commit 3795acb9c7
167 files changed
+14779 -3726

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
# 项目约定
## 视觉设计
- 采用 Flat Design 风格:无阴影、无卡片嵌套、扁平化
- 主色:`#10B981`(Tailwind 祖母绿)
- 图标灰:`#6B7280`(gray-500),无彩色背景
- 文本灰:`#374151`(gray-700)
- 辅助灰:`#9CA3AF`(gray-400)
- 分割线灰:`#E5E7EB`(gray-200)
## 交互
- 所有 loading 统一用 sonner-native(不再使用按钮级 loading)
- 使用 `@/hooks/useLoading` + `LoadingOverlay` 组件
## 组件规范
- 不要卡片套卡片(no card nesting)
- 子应用 icon 不设彩色背景
- Section 标题统一用 `SectionLabel` 组件(13px semibold text-gray-800)