## Frontend Copilot Instructions ### Tech Stack - **Framework:** React + Vite - **UI:** shadcn/ui + Tailwind CSS v4 - **State Management:** MobX - **Package Manager:** pnpm - **Color System:** Only use colors defined in `web/src/style.css` - **Component Imports:** Only via `pnpm dlx shadcn@latest add [component]` --- ### 💡 Guidelines ✅ **Allowed:** - Use **shadcn/ui components only** (e.g., `Button`, `Input`, `Dialog`) - Use **Tailwind utility classes** for layout, spacing, typography - Use **Tailwind `bg-[var(--color-name)]`**, `text-[var(--color-name)]` referencing `web/src/style.css` for colors - Use **MobX for state management** (`observable`, `computed`, `action`, `useLocalObservable`) - Use **functional React components** with hooks - Use **Tailwind v4 utility classes** for responsive layouts ❌ **Not Allowed:** - Do not import or use **other component libraries** (e.g., Material UI, Ant Design, Chakra) - Do not use **fixed color utilities** (e.g., `bg-gray-200`, `text-blue-500`) - Do not use **className strings with hardcoded color values** - Do not use **inline styles for colors** --- ### 🎨 Color Usage **All colors must be referenced from `web/src/style.css`**, for example: ```tsx