--- name: tailwind-patterns description: | Production-ready Tailwind CSS patterns for responsive layouts, cards, navigation, forms, buttons, and typography. Includes spacing scale, breakpoints, mobile-first patterns, dark mode, and Swiss International Style overrides for Resume Matcher. --- # Tailwind CSS Component Patterns ## Spacing Scale Use increments of 4: `gap-4`, `p-6`, `py-8`, `space-y-12`, `py-16`, `py-24` ## Responsive Breakpoints (Mobile-First) | Breakpoint | Min Width | Example | |------------|-----------|---------| | Base | 0px | `text-base` | | sm | 640px | `sm:text-lg` | | md | 768px | `md:grid-cols-2` | | lg | 1024px | `lg:px-8` | | xl | 1280px | `xl:max-w-7xl` | ## Essential Patterns ```tsx // Page Container