# Design Iteration Workflow ## Overview A structured 4-stage workflow for creating and iterating on UI designs. This process ensures thoughtful design decisions with user approval at each stage. ## Quick Reference **Stages**: Layout → Theme → Animation → Implementation **Approval**: Required between each stage **Output**: Single HTML file per design iteration **Location**: `design_iterations/` folder --- ## Workflow Stages ### Stage 1: Layout Design **Purpose**: Define the structure and component hierarchy before visual design **Process**: 1. Analyze user requirements 2. Identify core UI components 3. Plan layout structure and responsive behavior 4. Create ASCII wireframe 5. Present to user for approval **Deliverable**: ASCII wireframe with component breakdown **Example Output**: ``` ## Core UI Components **Header Area** - Logo/brand (Top left) - Navigation menu (Top center) - User actions (Top right) **Main Content Area** - Hero section (Full width) - Feature cards (3-column grid on desktop, stack on mobile) - Call-to-action (Centered) **Footer** - Links (4-column grid) - Social icons (Centered) - Copyright (Bottom) ## Layout Structure Desktop (1024px+): ┌─────────────────────────────────────────────────┐ │ [Logo] Navigation [User Menu] │ ├─────────────────────────────────────────────────┤ │ │ │ HERO SECTION │ │ (Full width, centered text) │ │ │ ├─────────────────────────────────────────────────┤ │ ┌─────────┐ ┌─────────┐ ┌─────────┐ │ │ │ Card 1 │ │ Card 2 │ │ Card 3 │ │ │ │ │ │ │ │ │ │ │ └─────────┘ └─────────┘ └─────────┘ │ ├─────────────────────────────────────────────────┤ │ [Call to Action] │ ├─────────────────────────────────────────────────┤ │ Links Links Links Social │ │ Copyright │ └─────────────────────────────────────────────────┘ Mobile (< 768px): ┌─────────────────┐ │ ☰ Logo [👤] │ ├─────────────────┤ │ │ │ HERO SECTION │ │ │ ├─────────────────┤ │ ┌───────────┐ │ │ │ Card 1 │ │ │ └───────────┘ │ │ ┌───────────┐ │ │ │ Card 2 │ │ │ └───────────┘ │ │ ┌───────────┐ │ │ │ Card 3 │ │ │ └───────────┘ │ ├─────────────────┤ │ [CTA] │ ├─────────────────┤ │ Links │ │ Social │ │ Copyright │ └─────────────────┘ ``` **Approval Gate**: "Would you like to proceed with this layout or need modifications?" --- ### Stage 2: Theme Design **Purpose**: Define colors, typography, spacing, and visual style **Process**: 1. Choose design system (neo-brutalism, modern dark, custom) 2. Select color palette (avoid Bootstrap blue unless requested) 3. Choose typography (Google Fonts) 4. Define spacing and shadows 5. Generate theme CSS file 6. Present theme to user for approval **Deliverable**: CSS theme file saved to `design_iterations/theme_N.css` **Theme Selection Criteria**: | Style | Use When | Avoid When | |-------|----------|------------| | Neo-Brutalism | Creative/artistic projects, retro aesthetic | Enterprise apps, accessibility-critical | | Modern Dark | SaaS, developer tools, professional dashboards | Playful consumer apps | | Custom | Specific brand requirements | Time-constrained projects | **Example Output**: ``` ## Theme Design: Modern Professional **Style Reference**: Vercel/Linear aesthetic **Color Palette**: Monochromatic with accent **Typography**: Inter (UI) + JetBrains Mono (code) **Spacing**: 4px base unit **Shadows**: Subtle, soft elevation **Theme File**: design_iterations/theme_1.css Key Design Decisions: - Primary: Neutral gray for professional feel - Accent: Subtle blue for interactive elements - Radius: 0.625rem for modern, friendly feel - Shadows: Soft, minimal elevation - Fonts: System-like for familiarity ``` **File Naming**: `theme_1.css`, `theme_2.css`, etc. **Approval Gate**: "Does this theme match your vision, or would you like adjustments?" --- ### Stage 3: Animation Design **Purpose**: Define micro-interactions and transitions **Process**: 1. Identify key interactions (hover, click, scroll) 2. Define animation timing and easing 3. Plan loading states and transitions 4. Document animations using micro-syntax 5. Present animation plan to user for approval **Deliverable**: Animation specification in micro-syntax format **Example Output**: ``` ## Animation Design: Smooth & Professional ### Button Interactions hover: 200ms ease-out [Y0→-2, shadow↗] press: 100ms ease-in [S1→0.95] ripple: 400ms ease-out [S0→2, α1→0] ### Card Interactions cardHover: 300ms ease-out [Y0→-4, shadow↗] cardClick: 200ms ease-out [S1→1.02] ### Page Transitions pageEnter: 300ms ease-out [α0→1, Y+20→0] pageExit: 200ms ease-in [α1→0] ### Loading States spinner: 1000ms ∞ linear [R360°] skeleton: 2000ms ∞ [bg: muted↔accent] ### Micro-Interactions inputFocus: 200ms ease-out [S1→1.01, ring] linkHover: 250ms ease-out [underline 0→100%] **Philosophy**: Subtle, purposeful animations that enhance UX without distraction **Performance**: All animations use transform/opacity for 60fps **Accessibility**: Respects prefers-reduced-motion ``` **Approval Gate**: "Are these animations appropriate for your design, or should we adjust?" --- ### Stage 4: Implementation **Purpose**: Generate complete HTML file with all components **Process**: 1. Build individual UI components 2. Integrate theme CSS 3. Add animations and interactions 4. Combine into single HTML file 5. Test responsive behavior 6. Save to design_iterations folder 7. Present to user for review **Deliverable**: Complete HTML file with embedded or linked CSS **File Organization**: ``` design_iterations/ ├── theme_1.css # Theme file from Stage 2 ├── dashboard_1.html # Initial design ├── dashboard_1_1.html # First iteration ├── dashboard_1_2.html # Second iteration ├── chat_ui_1.html # Different design └── chat_ui_1_1.html # Iteration of chat UI ``` **Naming Conventions**: | Type | Format | Example | |------|--------|---------| | Initial design | `{name}_1.html` | `table_1.html` | | First iteration | `{name}_1_1.html` | `table_1_1.html` | | Second iteration | `{name}_1_2.html` | `table_1_2.html` | | New design | `{name}_2.html` | `table_2.html` | **Implementation Checklist**: ```html