EchoKit Design System v2 — Implementation Report
Overview
Comprehensive refactoring of extension/shared/styles.css based on design mockups to implement enterprise-grade UI patterns.
Design Tokens Updated
Colors (Dark Theme)
- Background:
#0a0a0b (was #0a0a0a)
- Surface:
#111114 (was #121212)
- Surface-2:
#17171b (was #1a1a1a)
- Surface-3:
#1d1d22 (new)
- Border:
#25252b (was #27272a)
- Amber glow:
rgba(251, 191, 36, 0.25) (new)
Typography
- Font UI: IBM Plex Sans (400, 500, 600, 700, 800)
- Font Mono: JetBrains Mono (400, 500, 600, 700, 800)
- Font weights: Added CSS variables for consistency
- Spacing scale: Added 8-step spacing system
- Border radius scale: Added 5-step radius system
New Semantic Tokens
- Added light/dark variants for all semantic colors
- Added border variants for each color
- Added purple color for WebSocket/SSE methods
- Added shadow scale (sm, md, lg, xl)
- Added transition timing variables
New Components Implemented
1. Tab Navigation (.ek-tabs, .ek-tab)
- Horizontal tab bar with amber underline for active state
- Uppercase, monospace, letter-spaced labels
- Smooth color transitions
- Used in: Detail panels (Response/Request/Chain/Settings)
2. Stats Bar (.ek-stats-bar, .ek-stat)
- Shows metrics: Requests, Mocked, Average time, Errors
- Large numeric values with small labels
- Color-coded stats (amber for mocked, red for errors)
- Includes mini chart placeholder
3. Enhanced Logo
- Larger logo mark (32x32) with amber background
- Bold “EK” text in dark color
- Uppercase wordmark with letter-spacing
4. Banner Improvements
- Tighter spacing and better typography
- Smoother pulse animation
- Enhanced glow effect
- Added active state (translateY)
- Better focus states with shadow
- Improved disabled states
- Icon-only button variant
Components To Continue
Remaining sections from mockups:
- Domain grouping - Amber icon badges with count
- Request rows - Timing bars, status codes, toggle switches
- Code editor - Enhanced syntax highlighting
- Modal dialogs - Import, Export, Pro gate, Keyboard shortcuts
- Waterfall timeline - Visual request timeline with colored bars
- Settings panels - Toggle switches, form layouts
- Method badges - Border style improvements
- Status indicators - Color-coded badges
Next Steps
Continue implementing remaining component styles to match the provided design mockups exactly.