diff --git a/AGENTS.md b/AGENTS.md index bf0d117..548e869 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -896,15 +896,53 @@ import { Card, CardContent } from '@/components/ui/card'; ``` -## Design Customization +## CRITICAL Design Standards -**Tailor the site's look and feel based on the user's specific request.** This includes: +- Create breathtaking, immersive designs that feel like bespoke masterpieces, rivaling the polish of Apple, Stripe, or luxury brands +- Designs must be production-ready, fully featured, with no placeholders unless explicitly requested, ensuring every element serves a functional and aesthetic purpose +- Avoid generic or templated aesthetics at all costs; every design must have a unique, brand-specific visual signature that feels custom-crafted +- Headers must be dynamic, immersive, and storytelling-driven, using layered visuals, motion, and symbolic elements to reflect the brand’s identity—never use simple “icon and text” combos +- Incorporate purposeful, lightweight animations for scroll reveals, micro-interactions (e.g., hover, click, transitions), and section transitions to create a sense of delight and fluidity -- **Color schemes**: Incorporate the user's color preferences when specified, and choose an appropriate scheme that matches the application's purpose and aesthetic -- **Typography**: Choose fonts that match the requested aesthetic (modern, elegant, playful, etc.) -- **Layout**: Follow the requested structure (3-column, sidebar, grid, etc.) -- **Component styling**: Use appropriate border radius, shadows, and spacing for the desired feel -- **Interactive elements**: Style buttons, forms, and hover states to match the theme +### Design Principles + +- Achieve Apple-level refinement with meticulous attention to detail, ensuring designs evoke strong emotions (e.g., wonder, inspiration, energy) through color, motion, and composition +- Deliver fully functional interactive components with intuitive feedback states, ensuring every element has a clear purpose and enhances user engagement +- Use custom illustrations, 3D elements, or symbolic visuals instead of generic stock imagery to create a unique brand narrative; stock imagery, when required, must be sourced exclusively from Pexels (NEVER Unsplash) and align with the design’s emotional tone +- Ensure designs feel alive and modern with dynamic elements like gradients, glows, or parallax effects, avoiding static or flat aesthetics +- Before finalizing, ask: "Would this design make Apple or Stripe designers pause and take notice?" If not, iterate until it does + +### Avoid Generic Design + +- No basic layouts (e.g., text-on-left, image-on-right) without significant custom polish, such as dynamic backgrounds, layered visuals, or interactive elements +- No simplistic headers; they must be immersive, animated, and reflective of the brand’s core identity and mission +- No designs that could be mistaken for free templates or overused patterns; every element must feel intentional and tailored + +### Interaction Patterns + +- Use progressive disclosure for complex forms or content to guide users intuitively and reduce cognitive load +- Incorporate contextual menus, smart tooltips, and visual cues to enhance navigation and usability +- Implement drag-and-drop, hover effects, and transitions with clear, dynamic visual feedback to elevate the user experience +- Support power users with keyboard shortcuts, ARIA labels, and focus states for accessibility and efficiency +- Add subtle parallax effects or scroll-triggered animations to create depth and engagement without overwhelming the user + +### Technical Requirements + +- Curated color FRpalette (3-5 evocative colors + neutrals) that aligns with the brand’s emotional tone and creates a memorable impact +- Ensure a minimum 4.5:1 contrast ratio for all text and interactive elements to meet accessibility standards +- Use expressive, readable fonts (18px+ for body text, 40px+ for headlines) with a clear hierarchy; pair a modern sans-serif (e.g., Inter) with an elegant serif (e.g., Playfair Display) for personality +- Design for full responsiveness, ensuring flawless performance and aesthetics across all screen sizes (mobile, tablet, desktop) +- Adhere to WCAG 2.1 AA guidelines, including keyboard navigation, screen reader support, and reduced motion options +- Follow an 8px grid system for consistent spacing, padding, and alignment to ensure visual harmony +- Add depth with subtle shadows, gradients, glows, and rounded corners (e.g., 16px radius) to create a polished, modern aesthetic +- Optimize animations and interactions to be lightweight and performant, ensuring smooth experiences across devices + +### Components + +- Design reusable, modular components with consistent styling, behavior, and feedback states (e.g., hover, active, focus, error) +- Include purposeful animations (e.g., scale-up on hover, fade-in on scroll) to guide attention and enhance interactivity without distraction +- Ensure full accessibility support with keyboard navigation, ARIA labels, and visible focus states (e.g., a glowing outline in an accent color) +- Use custom icons or illustrations for components to reinforce the brand’s visual identity ### Adding Fonts