# IGNY8 Design System Guide > **Single Source of Truth for UI Components** > > 🔒 **STYLE LOCKED** - This design system is enforced by ESLint. All frontend code must comply. **Last Updated:** January 3, 2026 **Version:** 1.3.2 --- ## Quick Links | Resource | Path | Description | |----------|------|-------------| | **Component System** | [COMPONENT-SYSTEM.md](COMPONENT-SYSTEM.md) | Full component reference with props, examples, and usage | | **Design Tokens Doc** | [DESIGN-TOKENS.md](DESIGN-TOKENS.md) | Detailed token documentation | | **ESLint Plugin** | `frontend/eslint/` | Custom rules enforcing design system | | **Live Demo** | `/ui-elements` route | Interactive component showcase | | **CSS Tokens** | `frontend/src/styles/design-system.css` | CSS variables source file | | **Icons** | `frontend/src/icons/` | All SVG icons | --- ## 🎨 Color System (CRITICAL!) ### Only 6 Base Colors in Entire System All colors derive from 6 primary hex values defined in `design-system.css`: | Token | Hex | Purpose | |-------|-----|---------| | `--color-primary` | #0077B6 | Brand Blue - main CTA, links | | `--color-success` | #2CA18E | Success Green - confirmations | | `--color-warning` | #D9A12C | Warning Amber - alerts | | `--color-danger` | #A12C40 | Danger Red - errors, destructive | | `--color-purple` | #2C40A1 | Purple - premium features | | `--color-gray-base` | #667085 | Neutral gray - text, borders | ### Tailwind Color Utilities **⚠️ Tailwind default colors are DISABLED!** Only use: ```css /* ✅ AVAILABLE */ brand-50 through brand-950 /* Primary blue scale */ gray-25 through gray-950 /* Neutral scale */ success-25 through success-950 /* Green scale */ error-25 through error-950 /* Red scale */ warning-25 through warning-950 /* Amber scale */ purple-25 through purple-950 /* Purple scale */ /* ❌ DISABLED - These will NOT work */ blue-*, red-*, green-*, emerald-*, amber-*, indigo-*, pink-*, rose-*, sky-*, teal-*, cyan-*, etc. ``` ### Usage Examples ```tsx // ✅ CORRECT
Primary Button
Card content
Active // ❌ WRONG
...
// Default blue disabled
...
// Hardcoded hex
...
// Inline style ``` --- ## Core Principles ### 1. Use Components, Never Raw HTML ```tsx // ❌ NEVER // ✅ ALWAYS