1.2 KiB
1.2 KiB
Frontend Design Rules
Routing Rule
ROUTING RULE: You must structure the Next.js App Router strictly by business domains. The allowed directories are exactly: /app/(dashboard)/jobs, /app/(dashboard)/candidates, /app/(dashboard)/interviews, and /app/(dashboard)/workflows.
Styling Whitelist
STYLING WHITELIST: You are restricted to a neutral, professional Human Resources design system. You must ONLY use the following Tailwind CSS tokens:
- Backgrounds:
bg-slate-50for main layouts,bg-whitefor cards/surfaces. - Text:
text-slate-900for headings,text-slate-600for body text,text-slate-500for secondary labels. - Primary Actions (Buttons/Links):
bg-blue-600for backgrounds,hover:bg-blue-700for hover states,text-whitefor text. - Borders & Dividers:
border-slate-200. - Border Radius: strictly
rounded-mdorrounded-lg. Do not use full rounding unless it is an avatar. - Shadows: strictly
shadow-smfor cards,shadow-mdfor modals/dropdowns.
UI Component Rule
UI COMPONENT RULE: Build and reuse standard components (e.g., <PrimaryButton>, <StatusBadge>, <DataCard>). Do not invent new visual styles outside of the allowed tokens.