Design language
Octant looks like a graphite workbench, not a dashboard. The interface is quiet, dense where work happens, and coloured only where something has a name. This page distils the system from the application's design contract and its theme tokens, and the documentation site uses the same language.
Source
The application's DESIGN.md owns the full visual specification, and packages/theme/src/tokens.ts owns the runtime values. This page is a reading of those sources, not a second system.
Character
- One active surface. A thread, board, Project overview, or list is the work surface. Everything else is navigation or a tool beside it.
- Hierarchy from type and space, then weight, then colour. Never from capitals, gradients, or chrome.
- Flat by default. A hairline bounds a discrete object. Shadow means something genuinely floats.
- One scarce accent. The accent marks the primary action and the active state. Status keeps its own roles; colour never substitutes for a label.
- Honest states. Loading, stale, unavailable, denied, and failed states explain themselves and offer the next action. A capability that is not available stays out of the primary layout.
Colour
A near-black page, a slightly lighter reading surface, one more step for floating objects, and hairlines that register as edges. In light mode the sidebar and page share a near-white ground and a hairline separates them.
Appearance
Choose how Octant looks. Use a built-in theme or make your own.
Color scheme
Window
Colour, the default style, lets the places that name something carry hue — the accent, count tiles, board marks, a Project's accent, a Canvas kind — while warnings, failures, and diffs keep their own roles. Mono keeps everything grey. Increased contrast always publishes Mono.
Status roles are paired to the surface they render on. Waiting and idle states are neutral; a warning is reserved for an actionable warning, not every thread that can be resumed. Success, failure, and diffs may carry colour, but always with a label or a shape.
Typography
The interface uses the platform face — SF Pro on a Mac — at 13px by default. Code, paths, branches, identifiers, and terminal text use the monospace stack. Geist and Geist Mono are bundled and available as explicit choices.
| Rule | Value |
|---|---|
| Weights | 400 reading, 500 labels and names, 600 emphasis and section labels, 700 page title only |
| Tracking | −0.025em for titles and the welcome question, none for body |
| Body leading | 1.5 for interface text, 1.7 for code |
| Minimum | Nothing essential below 12px at the default interface size |
The documentation site deliberately reads larger than the app: 16px body with 1.7 leading, because prose is read for longer than a settings row.
Shape and depth
| Token | Value | Role |
|---|---|---|
--oct-radius-sm | 8px | A control or a row |
--oct-radius-md | 12px | A card, panel, or well |
--oct-radius-lg | 14px | A composer or dialog |
--oct-radius-pill | 9999px | Compact chips and circular controls only |
A surface is flat. A card is a discrete object you act on as a whole; a plain list or an empty state is never a card. The window is a frame and one sheet: sidebar and title band form an L, and the workspace sits inside it with hairline divisions.
Pointer
Controls keep the arrow pointer, as in any Mac app: buttons, rows, tabs, and menus. Only a link or a mention in text you read shows the hand.
Motion
Motion is functional and short:
- 160ms for colour, border, and hover transitions.
- Motion explains a state change — a panel opening, a row moving, a count updating — and never decorates an idle screen.
- Reduced motion is respected everywhere; transparency and contrast have their own settings.
Voice
- Sentence case everywhere. Titles, labels, buttons, menus. Product nouns keep their capital: Project, Chat, Work, Code, Canvas.
- Say what happens. A posture name never promises more than the runtime does.
- Name the owner and the limit. "Octant cannot tell which server this is" is better than "Unknown error".
- No hype. A technical preview is called a technical preview.
How the docs apply it
| App rule | Docs expression |
|---|---|
| Hairlines, not shadows | Cards, tables, callouts, and code blocks are bounded by one hairline |
| One accent | Links, the active sidebar row, and the primary button; everything else is ink |
| Type first | Page titles at 34/700, sections at 23/600, body at 16/400 |
| Density with air | 740px measure, 52px section spacing, 4px spacing ladder |
| Honest states | Callouts state preview status instead of hiding it |
| Reduced motion | All transitions collapse under prefers-reduced-motion |
Try it
Switch the site theme with the toggle in the top bar. Both modes come from the same semantic roles; nothing is hand-picked per page.