1---2name: forge-design-intelligence3description: Design intelligence for building professional UI/UX across platforms. Industry-specific reasoning rules, UI style taxonomy, color palettes, typography pairing, accessibility guidelines, and anti-patterns. Use when any agent builds web surfaces, landing pages, dashboards, or UI.4---56# FORGE-design-intelligence — Design Intelligence Knowledge Base78> **DITEMPA BUKAN DIBERI** — Forged, Not Given.9> **Kebijaksanaan:** Captured from external research (ui-ux-pro-max), distilled for federation use.1011---1213## Purpose1415Provide agents with comprehensive design intelligence when building any UI:16- Federation cockpit surfaces17- Landing pages (arif-fazil.com, federation dashboards)18- MCP GUI applications19- Internal tools and admin panels20- External-facing web properties2122## When to Use2324- Building any new web page or component25- Designing dashboard layouts26- Choosing color schemes for a project27- Selecting typography for a brand28- Reviewing UI for accessibility compliance29- Generating design systems for new projects30- Auditing existing UI for anti-patterns3132## When NOT to Use3334- Token-level Tailwind config → use `FORGE-tailwind-tokens`35- MCP Apps iframe/CSP wiring → use `FORGE-mcp-gui`36- Browser automation or navigation → use `agentic-web` doctrine37- Runtime theme switching logic → use `FORGE-tailwind-tokens`3839---4041## Constitutional Floor Alignment4243| Floor | Application |44|-------|-------------|45| F1 AMANAH | Design decisions must serve the user, not aesthetic ego |46| F4 CLARITY | Every element must communicate purpose; no decorative noise |47| F6 MARUAH | WCAG AA contrast minimum; dignity in readability; no exclusionary design |48| F13 SOVEREIGN | Brand colours and visual identity approved by Arif before any public deploy |4950---5152## §1 — Industry Design Rules5354When building for a specific domain, apply these industry-specific patterns:5556### Tech & SaaS57| Domain | Pattern | Style Priority | Anti-Patterns |58|--------|---------|---------------|---------------|59| SaaS | Feature-centric hero + social proof | Minimalism, Bento Grid | Cluttered hero, generic stock photos |60| Developer Tool | Code-first, terminal aesthetics | Dark Mode, Brutalism | Marketing fluff, corporate speak |61| AI/Chatbot | Conversation-forward, trust indicators | Glassmorphism, Soft UI | Overpromising sentience, uncanny valley |62| Cybersecurity | Shield imagery, dark palette, zero-trust signals | Dark Mode, Minimalism | Bright neon, cartoon hackers |6364### Finance & Banking65| Domain | Pattern | Style Priority | Anti-Patterns |66|--------|---------|---------------|---------------|67| Fintech | Trust-first, regulatory badges | Minimalism, Clean Lines | AI purple/pink gradients, gamification of risk |68| Banking | Institutional credibility, conservative palette | Corporate, Clean | Trendy animations, dark mode (unless user-opted) |69| Crypto/Web3 | Transparency, real-time data | Dark Mode, Dashboard | Overly complex tokenomics visuals, moon imagery |7071### Healthcare72| Domain | Pattern | Style Priority | Anti-Patterns |73|--------|---------|---------------|---------------|74| Medical Clinic | Clean, professional, appointment-forward | Soft UI, Minimalism | Playful animations, casual tone |75| Pharmacy | Product grid, trust seals, clear pricing | Clean, Functional | Dark themes, complex navigation |76| Mental Health | Calming palette, gentle interactions | Soft UI, Warm Minimalism | Urgency cues, alarming statistics |7778### E-commerce79| Domain | Pattern | Style Priority | Anti-Patterns |80|--------|---------|---------------|---------------|81| General | Product-first, clear CTAs, trust signals | Clean, Responsive Grid | Overwhelming carousels, pop-up overload |82| Luxury | Editorial layout, whitespace, premium feel | Minimalism, Editorial | Discount badges, urgency timers |83| Food Delivery | Appetizing visuals, location-aware | Warm, Card-based | Complex menus, tiny touch targets |8485### Services86| Domain | Pattern | Style Priority | Anti-Patterns |87|--------|---------|---------------|---------------|88| Restaurant | Hero image, menu-forward, reservation CTA | Warm, Card-based | Auto-playing video, complex parallax |89| Beauty/Spa | Calming palette, before/after, booking | Soft UI, Editorial | Neon accents, aggressive CTAs |90| Legal | Professional credibility, case results | Corporate, Minimalism | Friendly/casual tone, bright colors |9192---9394## §2 — UI Style Taxonomy959679 searchable styles organized by visual family:9798### General Visual Styles (43 active)99| Style | Best For | Key Characteristics |100|-------|----------|---------------------|101| **Minimalism** | SaaS, luxury, portfolios | Whitespace, clean typography, limited palette |102| **Brutalism** | Developer tools, creative agencies | Raw HTML aesthetic, bold type, no rounded corners |103| **Glassmorphism** | AI products, creative tools | Frosted glass, blur, transparency layers |104| **Neumorphism** | Smart home, wellness apps | Soft shadows, subtle depth, monochrome |105| **Dark Mode** | Developer tools, media, gaming | Dark backgrounds, light text, reduced eye strain |106| **Bento Grid** | Dashboards, feature showcases | Apple-style grid layout, varied card sizes |107| **Soft UI (evolution)** | Wellness, beauty, premium | Soft shadows, organic shapes, calming palette |108| **Claymorphism** | Playful apps, education, kids | 3D clay-like elements, rounded, friendly |109| **Skeuomorphism** | Utility apps, legacy audiences | Realistic textures, familiar metaphors |110| **Flat Design** | Enterprise, dashboards | No shadows/depth, solid colors, clean |111| **Material Design** | Android-first, enterprise | Elevation, ripple effects, consistent grid |112| **Organic/Nature** | Wellness, eco-brands | Natural shapes, earth tones, flowing forms |113| **Gradient Mesh** | Creative, portfolios | Complex multi-color gradients, visual depth |114| **Duotone** | Media, photography sites | Two-color treatment, dramatic contrast |115| **Isometric** | Tech, data visualization | 3D isometric illustrations, technical feel |116| **Retro/Vintage** | Food, lifestyle, nostalgia brands | Muted colors, classic typography, textures |117| **Cyberpunk** | Gaming, crypto, nightlife | Neon on dark, glitch effects, futuristic |118| **Aurora** | Creative, SaaS | Gradient animations, northern lights inspiration |119120### Mobile-Specific (2)121| Style | Platform | Notes |122|-------|----------|-------|123| **iOS Native** | iOS | SF Pro, rounded groups, blur backgrounds |124| **Material You** | Android 12+ | Dynamic color, large titles, expressive |125126### Platform Design Systems (3)127| System | When to Use |128|--------|-------------|129| **Fluent 2** | Microsoft ecosystem, Windows apps |130| **Shopify Polaris** | E-commerce, Shopify ecosystem |131| **Adobe Spectrum** | Creative tools, Adobe ecosystem |132133### Mobile Material (1)134| Style | Notes |135|-------|-------|136| **Material 3 Expressive** | Android Material with expressive motion |137138### Analytics (1)139| Style | Notes |140|-------|-------|141| **Dashboard Analytics** | Data-dense, chart-forward, information hierarchy |142143---144145## §3 — Color Palettes by Industry146147### Palette Selection Rules1481. **Primary** — brand identity, 60% of color usage1492. **Secondary** — supporting, 30% of color usage1503. **Accent/CTA** — action color, 10% of color usage1514. **Background** — canvas, never pure white (#FFF) in dark themes1525. **Text** — must meet WCAG AA (4.5:1 contrast minimum)153154### Industry Palettes155156| Industry | Primary | Secondary | CTA | Background | Notes |157|----------|---------|-----------|-----|------------|-------|158| **SaaS/Tech** | #2563EB (Blue) | #7C3AED (Purple) | #F59E0B (Amber) | #F8FAFC | Trust + innovation |159| **Fintech** | #1E40AF (Deep Blue) | #059669 (Green) | #DC2626 (Red) | #F1F5F9 | Stability + growth |160| **Healthcare** | #0891B2 (Teal) | #059669 (Green) | #2563EB (Blue) | #F0FDFA | Calm + healing |161| **E-commerce** | #7C3AED (Purple) | #EC4899 (Pink) | #F59E0B (Amber) | #FFFBEB | Energy + conversion |162| **Luxury** | #18181B (Near-black) | #D4AF37 (Gold) | #B45309 (Bronze) | #FAFAF9 | Exclusivity + elegance |163| **Food/Beverage** | #DC2626 (Red) | #F59E0B (Amber) | #059669 (Green) | #FEF2F2 | Appetite + warmth |164| **Wellness/Spa** | #E8B4B8 (Soft Pink) | #A8D5BA (Sage) | #D4AF37 (Gold) | #FFF5F5 | Calm + premium |165| **Gaming** | #7C3AED (Purple) | #EC4899 (Pink) | #10B981 (Emerald) | #0F172A | Energy + excitement |166| **Legal** | #1E3A5F (Navy) | #92400E (Brown) | #B45309 (Bronze) | #F8FAFC | Authority + trust |167| **Education** | #2563EB (Blue) | #059669 (Green) | #F59E0B (Amber) | #EFF6FF | Clarity + growth |168169---170171## §4 — Typography Pairing172173### Pairing Principles174- **Maximum 2 font families** per project (1 for display, 1 for body)175- **Contrast in weight**, not in style (avoid mixing script + sans-serif unless intentional)176- **Test at all sizes** — some fonts break at small sizes177178### Curated Pairings179180| Pairing | Display | Body | Mood | Best For |181|---------|---------|------|------|----------|182| **Professional** | Inter | Inter | Clean, modern | SaaS, dashboards |183| **Editorial** | Playfair Display | Source Serif Pro | Elegant, authoritative | Luxury, editorial |184| **Technical** | JetBrains Mono | Inter | Code-forward, precise | Developer tools |185| **Friendly** | DM Sans | DM Sans | Warm, approachable | Consumer apps |186| **Premium** | Cormorant Garamond | Montserrat | Sophisticated, calm | Wellness, luxury |187| **Bold** | Space Grotesk | Inter | Geometric, modern | Tech, startups |188| **Warm** | Lora | Open Sans | Comfortable, readable | Blog, content sites |189| **Minimal** | Outfit | Outfit | Geometric, neutral | Clean interfaces |190191### Google Fonts Import Pattern192```193https://fonts.google.com/share?selection.family=Inter:wght@400;500;600;700|Playfair+Display:wght@400;600;700194```195196---197198## §5 — Accessibility Guidelines (Non-Negotiable)199200### WCAG AA Compliance201| Rule | Requirement | Check |202|------|-------------|-------|203| **Text Contrast** | 4.5:1 minimum for normal text | Use WebAIM Contrast Checker |204| **Large Text Contrast** | 3:1 minimum for 18pt+ or 14pt bold | Same tool |205| **Focus States** | Visible focus ring on all interactive elements | Test with keyboard nav |206| **Reduced Motion** | Respect `prefers-reduced-motion` | CSS media query |207| **Touch Targets** | Minimum 44x44px for interactive elements | Measure in dev tools |208| **Alt Text** | All meaningful images have descriptive alt | Screen reader test |209| **Color Independence** | Never use color as the only indicator | Add icons/patterns |210| **Text Scaling** | Layout survives 200% text zoom | Test in browser zoom |211212### Semantic HTML213- Use `<button>` not `<div onClick>`214- Use `<nav>`, `<main>`, `<header>`, `<footer>`215- Use `<h1>`-`<h6>` in order (no skipping levels)216- Use `aria-label` when visible text is insufficient217218---219220## §6 — Anti-Patterns (What NOT To Do)221222### Universal Anti-Patterns223| ❌ Anti-Pattern | ✅ Instead |224|----------------|-----------|225| Auto-playing video/carousel | Static hero with clear CTA |226| Pop-up on load | Exit-intent or scroll-triggered |227| Cookie banner covering content | Minimal, dismissible banner |228| Hover-only interactions on mobile | Touch-friendly alternatives |229| Walls of text without hierarchy | Scannable sections with headings |230| Stock photos of people shaking hands | Authentic imagery or illustrations |231| Rainbow gradients everywhere | Purposeful accent gradients |232| Centered vertical navigation | Left sidebar or top nav |233| Infinite scroll without cues | Pagination or "load more" with count |234| Form errors after submission | Inline validation, real-time feedback |235| Broken layouts at 375px width | Mobile-first responsive testing |236| Focus trapping without escape | Keyboard-accessible modals |237238### Federation-Specific Anti-Patterns239| ❌ Anti-Pattern | ✅ Instead |240|----------------|-----------|241| Overly complex federation dashboards | 5-panel HUD model (from HUD doctrine) |242| Raw data dumps to users | Curated mission health indicators |243| Console.log in production surfaces | Structured logging with receipts |244| Hardcoded color values | Use Trinity design tokens |245| No loading states | Skeleton screens or spinners |246247---248249## §7 — Pre-Delivery Checklist250251Before shipping any UI surface:252253```254[ ] No emojis as icons (use SVG: Heroicons, Lucide, or Phosphor)255[ ] cursor-pointer on all clickable elements256[ ] All interactive elements keyboard-accessible257[ ] Focus states visible and styled258[ ] prefers-reduced-motion respected259[ ] Text contrast meets WCAG AA (4.5:1)260[ ] Responsive: tested at 375px, 768px, 1024px, 1440px261[ ] No horizontal scroll on any viewport262[ ] Images have meaningful alt text263[ ] Forms have labels (not just placeholders)264[ ] Error states are clear and actionable265[ ] Loading states exist for async operations266[ ] Dark mode tested (if applicable)267[ ] No layout shift on load (CLS < 0.1)268[ ] Touch targets minimum 44x44px269[ ] Content reflows without clipping at narrow widths270[ ] Badges/chips don't break with long text271[ ] Interaction timing feels responsive (< 100ms feedback)272```273274---275276## §8 — Design System Generation Pattern277278When asked to generate a complete design system for a new project:279280```2811. IDENTIFY the industry/domain2822. SELECT pattern (hero-centric, dashboard, editorial, etc.)2833. CHOOSE style family (minimalism, soft UI, dark mode, etc.)2844. PICK palette (industry-aligned, WCAG compliant)2855. PAIR typography (display + body, max 2 families)2866. DEFINE effects (shadows, transitions, hover states)2877. LIST anti-patterns to avoid (industry-specific)2888. APPLY pre-delivery checklist289```290291---292293## Refusal Surface294295- ❌ Never use pure black (#000) for text — use #18181B or similar296- ❌ Never use pure white (#FFF) for backgrounds in dark mode297- ❌ Never use font size below 14px for body text298- ❌ Never use auto-playing media without user control299- ❌ Never sacrifice accessibility for aesthetics300- ❌ Never skip WCAG AA contrast verification301- ❌ Never use more than 2 font families302- ❌ Never ship without mobile testing at 375px303304---305306*Forged: 2026-08-20 by Hermes under F13 SOVEREIGN directive.*307*Kebijaksanaan captured from external research, distilled for federation governance.*308*DITEMPA BUKAN DIBERI — Forged, Not Given. ⚒️*