--- name: ui-ux-polish description: 'Iterative UI/UX polishing workflow for web applications. Use when improving visual polish, refining desktop and mobile UX separately, running iterative enhancement cycles, applying design patterns like glassmorphism or bento grids, or auditing accessibility and WCAG compliance. Use for Stripe-level visual quality, responsive optimization, and design system alignment.' license: MIT metadata: author: oakoss version: '1.1' --- # UI/UX Polish Iterative enhancement workflow that elevates working web applications from decent to world-class. Covers desktop and mobile optimization as separate modalities, visual design patterns, and accessibility standards. **When to use**: The app works correctly with basic styling in place and you want to elevate visual quality through iterative refinement. Also use for applying specific design patterns (glassmorphism, neumorphism, bento grids) or auditing accessibility. **When NOT to use**: The app is broken or buggy (fix bugs first), styling is fundamentally wrong (needs complete overhaul), or no basic design system exists yet. ## Quick Reference | Pattern | Technique | Key Point | | --------------------- | ----------------------------------------------- | --------------------------------------------- | | Iterative polish | Run the same polish prompt 10+ times | Small improvements compound dramatically | | Desktop/mobile split | Optimize each modality independently | Prevents compromises that hurt both | | Glassmorphism | `backdrop-blur-xl` + `bg-white/70` + border | Functional depth with legibility | | Neumorphism | Dual-direction box shadows | Best in light mode; use borders for a11y | | Bento grid | CSS Grid with `rounded-3xl` cells | Hero cell spans multiple columns/rows | | WCAG 2.2 AA | Contrast ratios + target sizes + focus visible | 4.5:1 text, 3:1 UI, 24x24px targets | | Reduced motion | `prefers-reduced-motion: reduce` | Disable animations for motion-sensitive users | | Semantic HTML | Landmarks + heading hierarchy + native elements | Use `