From dd93d5cd0c6036f4c407e3649d95c5fae3c1970b Mon Sep 17 00:00:00 2001 From: Mplan Date: Sat, 30 May 2026 00:27:04 +0800 Subject: [PATCH] docs: update AGENTS.md with UI styling conventions --- AGENTS.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index be32fbe..3fb37a3 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -26,6 +26,7 @@ | `src/components/cloud/` | Cloud-related modals and widgets: ImageDetailModal, CloudEditModal, MapPickerModal, QuickUploadModal, MiniLocationMap | | `src/components/layout/` | AppHeader (top nav bar with auth state) | | `src/components/profile/` | ContributionHeatmap | +| `src/style.css` | Global visual system hooks: shared button/card utility classes, base typography, body background | | `src/views/` | Route-level page components (see Routes below) | | `src/types/` | TypeScript types: database models (`database.ts`), AMap declarations (`amap.d.ts`), router meta (`router.d.ts`) | @@ -121,6 +122,27 @@ Future (not in `.env`): - Used for modals, buttons, inputs, tags, progress bars, alerts, dropdowns, empty states, skeletons, and message toasts. - No SSR — pure client-side rendering. - Custom CSS overrides via scoped `