# Dark Background Pattern Implementation Guide ## Standard Dark Page Structure Every page should follow this consistent pattern: ```tsx export function PageName() { return (
{/* Hero Section - Always dark */}
{/* Hero content */}
{/* Content Sections - Alternate between bg-background and bg-black */}
{/* Section content */}
{/* Section content */}
{/* Process Section - Always use component's built-in dark styling */} {/* CTA Section - Dark background */}
{/* CTA content */}
{/* FAQ Section - Component handles dark styling */} {/* Footer - Component handles dark styling */}
); } ``` ## Key Pattern Rules ### 1. Page Wrapper ```tsx
``` - **Always** use `dark` class - **Always** use `bg-background` for main wrapper - **Always** include `min-h-screen` ### 2. Section Backgrounds ```tsx // Option 1: Primary dark background
// Option 2: Pure black (for contrast)
// Option 3: For special sections
``` ### 3. Text Colors for Dark Backgrounds ```tsx // Headings

Primary Heading

Secondary Heading

// Body text

Regular body text

Muted text

// Accent text WDI Pink Accent Accent Color ``` ### 4. Card Components ```tsx // Dark cards // Card text

Card Title

Card description

``` ## Background Replacement Patterns ### Replace These Patterns: ```tsx // ❌ WRONG - Light backgrounds
// ✅ CORRECT - Dark backgrounds
``` ### Text Color Adjustments: ```tsx // ❌ WRONG - Dark text on dark background

// ✅ CORRECT - Light text on dark background

``` ## Component Integration ### Using Existing Dark Components: ```tsx // These components already handle dark styling // ✅ Dark by default