Rules: design-style
The project's design direction is defined in CLAUDE.md:
Affected files
These rules apply to files matching the following patterns:
**/*.tsx**/*.jsx**/components/****/pages/****/app/**
Detailed rules
Design Style Rules
Art Direction
The project's design direction is defined in CLAUDE.md:
## Design Direction
Style: <direction>
If no direction is specified, apply modern (equivalent of the former glass).
Available directions
terminal — The interface that codes
| Aspect | Direction |
|---|---|
| Palette | Black/very dark background, single neon accent (green, cyan, or amber), light high-readability text |
| Typography | Monospace (JetBrains Mono, Fira Code, IBM Plex Mono), hierarchy by weight and size |
| Radius | Sharp: 0-4px, crisp edges |
| Spacing | Compact, dense, tight padding (8-12px), aligned grids |
| Animations | Scan lines, glow pulse, caret blink, fast fade-in (100-150ms). No bounce or spring |
| Components | Bordered cards (1px solid), prompt-style inputs, outlined buttons, monochrome badges |
| Anti-patterns | Rounded corners > 8px, colored gradients, cartoon illustrations, diffuse shadows, pastels |
cockpit — The pilot's dashboard
| Aspect | Direction |
|---|---|
| Palette | Dark-first, functional colors (red alert, green OK, amber warning, blue info), layered dark background |
| Typography | Condensed sans-serif (Inter, DM Sans), monospace for numerical data, hierarchy by density |
| Radius | Low: 4-6px, functional |
| Spacing | Dense, multi-column grids, little whitespace, juxtaposed panels |
| Animations | Fast transitions (100-200ms), pulse on real-time indicators, fade for data updates |
| Components | Modular widgets, inline mini-charts, status badges, KPI cards, dense tables, sparklines |
| Anti-patterns | Large illustrations, excessive whitespace, very rounded corners, slow animations, single-column layouts |
vitality — Positive energy
| Aspect | Direction |
|---|---|
| Palette | Vivid and harmonious, 3-4 well-distinct category colors, light or cream background, energetic accents |
| Typography | Rounded and friendly sans-serif (Nunito, Plus Jakarta Sans, DM Sans), bold and engaging headings |
| Radius | Generous: 12-16px, soft shapes |
| Spacing | Airy, comfortable padding (16-24px), breathing space between sections |
| Animations | Progression micro-animations (bars, counters), subtle spring/bounce (200-300ms), celebratory feedback |
| Components | Colored cards with icons, progress bars, streaks, reward badges, full and rounded buttons |
| Anti-patterns | Default dark mode, monospace, technical/austere aesthetic, lack of color, dense layouts |