🎨 Color System
Our palette is built around a primary brand hue, supported by semantic colors for feedback and state. Always use tokens, not raw hex values.
Primary
#6C5CE7Secondary
#00CEC9Success
#00B894Warning
#FDCB6EDanger
#FF7675Text Primary
#0A0E27Text Secondary
#5A6188Background
#F8F9FC🔤 Typography
We use Inter for UI text and Space Grotesk for headings, code, and technical data. Maintain a 1.25 modular scale.
📐 Spacing & Layout
All spacing is based on a 4px base unit. Use the named tokens to maintain rhythm and consistency.
🧩 Core Components
Pre-built UI elements with standardized states, sizing, and behavior. Always import from the component library.
Buttons
Inputs & Forms
Cards & Containers
Analytics Dashboard
Track user engagement, conversion rates, and performance metrics in real-time.
API Gateway
Secure, rate-limited endpoints with automatic retry logic and webhook support.
♿ Accessibility Standards
We follow WCAG 2.1 AA guidelines. Every component must be usable via keyboard and screen reader.
| Rule | Requirement | Implementation |
|---|---|---|
| Color Contrast | Min 4.5:1 for normal text, 3:1 for large text | --text on --bg passes AAA. Never use --text-muted for interactive labels. |
| Focus States | Visible, high-contrast outline on :focus-visible | outline: 3px solid var(--primary-light) with outline-offset: 2px |
| Touch Targets | Min 44x44px for interactive elements | Buttons and inputs use min-height: 44px and min-width: 44px |
| Semantic HTML | Use native elements over divs | <button> for actions, <a> for navigation, <label> for forms |
| ARIA Labels | Provide context when visual text isn't enough | aria-label="Close menu", role="status" for dynamic updates |