diff --git a/AGENTS.md b/AGENTS.md index 78c7e92e..b143d5dd 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -155,6 +155,10 @@ The frontend is built with: - **Framework**: React - **Styling**: Tailwind CSS + Shadcn UI (Components) +### UI Rules + +- **Prefer System Colors**: Always prefer using semantic system color design tokens (e.g., `bg-background`, `text-foreground`, `text-sidebar-primary`, `text-muted-foreground`, etc.) over hardcoded color utilities (e.g., `bg-blue-50`, `text-emerald-600`, `bg-emerald-500`). This ensures seamless compatibility with light and dark themes. + ### Development - **Run Dev**: `bun --hot src/index.ts` (Runs on port 3000) diff --git a/src/ui/components/upload-tasks.tsx b/src/ui/components/upload-tasks.tsx index a0602698..2a826c72 100644 --- a/src/ui/components/upload-tasks.tsx +++ b/src/ui/components/upload-tasks.tsx @@ -33,12 +33,12 @@ function UploadTaskItem({ task }: { task: TaskInfo }) { } return ( -