mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-04-03 23:53:29 +08:00
2.5 KiB
2.5 KiB
This file extends common/patterns.md with web-specific design-quality guidance.
Web Design Quality Standards
Anti-Template Policy
Do not ship generic template-looking UI. Frontend output should look intentional, opinionated, and specific to the product.
Banned Patterns
- Default card grids with uniform spacing and no hierarchy
- Stock hero section with centered headline, gradient blob, and generic CTA
- Unmodified library defaults passed off as finished design
- Flat layouts with no layering, depth, or motion
- Uniform radius, spacing, and shadows across every component
- Safe gray-on-white styling with one decorative accent color
- Dashboard-by-numbers layouts with sidebar + cards + charts and no point of view
- Default font stacks used without a deliberate reason
Required Qualities
Every meaningful frontend surface should demonstrate at least four of these:
- Clear hierarchy through scale contrast
- Intentional rhythm in spacing, not uniform padding everywhere
- Depth or layering through overlap, shadows, surfaces, or motion
- Typography with character and a real pairing strategy
- Color used semantically, not just decoratively
- Hover, focus, and active states that feel designed
- Grid-breaking editorial or bento composition where appropriate
- Texture, grain, or atmosphere when it fits the visual direction
- Motion that clarifies flow instead of distracting from it
- Data visualization treated as part of the design system, not an afterthought
Before Writing Frontend Code
- Pick a specific style direction. Avoid vague defaults like "clean minimal".
- Define a palette intentionally.
- Choose typography deliberately.
- Gather at least a small set of real references.
- Use ECC design/frontend skills where relevant.
Worthwhile Style Directions
- Editorial / magazine
- Neo-brutalism
- Glassmorphism with real depth
- Dark luxury or light luxury with disciplined contrast
- Bento layouts
- Scrollytelling
- 3D integration
- Swiss / International
- Retro-futurism
Do not default to dark mode automatically. Choose the visual direction the product actually wants.
Component Checklist
- Does it avoid looking like a default Tailwind or shadcn template?
- Does it have intentional hover/focus/active states?
- Does it use hierarchy rather than uniform emphasis?
- Would this look believable in a real product screenshot?
- If it supports both themes, do both light and dark feel intentional?