Design guide
Typography, color, and interaction patterns for the workbench and run logs.
Brand and color
Primary buttons use ink gray in light mode and warm white in dark mode. Coral marks the K logo and illustrations. Amber highlights points of focus and traces the path of a run.
| Role | Token | Use |
|---|---|---|
| Coral | #FF6B4A | K mark and brand artwork |
| Amber | #FFB02E | Brand dot and focus markers |
| Action | --primary | Primary actions such as New task and Save |
| Canvas | --background | Page background |
| Surface | --card | Cards and other raised surfaces |
| Ink | --foreground | Headings and key results |
Brand motion
The cover and circuit board sit in layers above the base. The run diagram uses the same shapes and an amber dot to show where a check request goes. The illustration plays a short lift when motion is allowed and shows the static assembly with reduced motion enabled.
Type scale and weight
| Role | Size and line height | Sample |
|---|---|---|
| Page title | 24–30 px, Geist 650 | Workbench |
| Section heading | 20 / 26 px | Task board |
| Body text | 14 / 21 px | Select a run to see its exit code and logs. |
| Logs | Monospace, 13 / 21 px | $ bun run kpdev check |
Spacing and shape
The spacing scale is 4, 8, 12, 16, 24, and 32 px. Allow 4–8 px inside controls and 16 px between cards. Panel padding scales from 16 px on mobile to 24 px on desktop.
| Component | Corner radius |
|---|---|
| Nav item | 8 px |
| Task card | 10 px |
| Focus panel | 16 px |
Pages and interactions
- Workbench. Task titles take up to two lines in the focus card and on the board. Select Edit task or a task card to read and edit the full title.
- Run history. Each status has a label and a symbol. The exit code and logs share a panel. Long lines wrap and preserve the original output. See the local runner guide to run a check.
- Forms and dialogs. Keep labels visible and show errors beside their fields. The editor opens on the right on desktop and in a centered dialog on narrow screens. Closing it returns focus to the control that opened it.
- Narrow screens. Keep the title and New task on one line. On mobile, the completed count and progress bar share a row. Touch targets are at least 44 × 44 px.
- Keyboard and motion. Use a visible 2 px focus ring on interactive controls. When reduced motion is enabled, show state changes immediately.