# Premium Dark UI - Quick Start Guide **Goal**: Create a sophisticated, modern dark website with glassmorphism and depth. **Time to implement**: 30-60 minutes --- ## 1. COLOR PALETTE (Copy This) ```css /* Backgrounds */ --bg-deep-dark: #0a0f0d; /* Main background */ --bg-black: #000000; /* Alternate sections */ /* Text */ --text-heading: #ffffff; /* Headings */ --text-body: #cbd5e1; /* Body (slate-300) */ --text-muted: #94a3b8; /* Muted (slate-400) */ /* Accent */ --accent: #80cca5; /* Green - CTAs, links, highlights */ --accent-hover: #6bb890; /* Hover state */ /* Glass */ --glass-bg: rgba(255, 255, 255, 0.02); --glass-border: rgba(255, 255, 255, 0.1); ``` **Rule**: Use ONLY these colors. No exceptions. --- ## 2. CORE COMPONENTS (4 Building Blocks) ### A. Section Wrapper ```tsx // PremiumSection.tsx export function PremiumSection({ children, withGlow = true }) { return (
{withGlow && (
)}
{children}
) } ``` ### B. Glass Card ```tsx // PremiumCard.tsx export function PremiumCard({ children, className = "" }) { return (
{children}
) } ``` ### C. Heading ```tsx // PremiumHeading.tsx export function PremiumHeading({ children, accent, as: Tag = 'h2' }) { return ( {children} {accent && {accent}} ) } ``` ### D. Radial Glow ```tsx // RadialGlow.tsx export function RadialGlow({ className = "" }) { return (
) } ``` --- ## 3. SPACING SYSTEM ```css /* Use these values ONLY */ py-4 /* 16px - Small spacing */ py-8 /* 32px - Medium spacing */ py-12 /* 48px - Large spacing */ py-24 /* 96px - Section spacing */ px-4 /* 16px - Mobile padding */ px-8 /* 32px - Card padding */ px-12 /* 48px - Large card padding */ gap-4 /* 16px - Small gaps */ gap-8 /* 32px - Medium gaps */ gap-12 /* 48px - Large gaps */ mb-4 /* 16px - Small margin bottom */ mb-6 /* 24px - Medium margin bottom */ mb-8 /* 32px - Large margin bottom */ mb-16 /* 64px - Section margin bottom */ ``` **Rule**: Stick to multiples of 4 (4, 8, 12, 16, 24, 32, 48, 64, 96). --- ## 4. TYPOGRAPHY SCALE ```tsx // Page Title (H1)

Page Title

// Section Title (H2)

Section Title Accent

// Subsection (H3)

Subsection

// Body Text

Body text goes here

// Muted Text

Secondary information

// Accent Text

Call to action text

``` --- ## 5. BUTTONS & LINKS ```tsx // Primary CTA Button // Secondary Button // Link Link Text ``` --- ## 6. FORM INPUTS ```tsx // Text Input // Textarea