Skip to content

Reference

Design language

The design language behind Octant, distilled from the app's design system: character, colour, type, shape, motion, and voice.

  • 4 min read
  • 9 sections

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.

Settings → Appearance: the color scheme, Light and Dark presets, Colour or Mono style, one accent, and the window's Glass. The docs reuse the same roles.
app background#151515 / #fafaf9
chrome#151515 / #fafaf9
sidebar#101010 / #fafaf9
workspace#1a1a1a / #ffffff
floating#232323 / #fdfdfc
scrim#000000 / #000000
control#2b2b2b / #f0f0ef
control hover#333333 / #e8e8e6
control pressed#3b3b3b / #dfdfdd
border#303030 / #e0e0de
border strong#4d4d4d / #bdbdbb
divider strong#808080 / #6f6f6d
text primary#f5f5f7 / #141414
text secondary#bcbcc2 / #45454a
text muted#949494 / #666666
primary foreground#141414 / #ffffff
focus ring#4d9ec8 / #1f6f96
selection#2c2c2c / #ebebea
accent#5b9cf5 / #1f5fc7
accent foreground#141414 / #ffffff
accent text#5b9cf5 / #1f5fc7
success surface#16281f / #bfd8cc
success text#6bb299 / #0f6144
warning surface#33270b / #fbe9bd
warning border#c99a2e / #8a6218
warning text#f2c75c / #5c3d00
danger text#e17d96 / #a8102f
addition text#6bb299 / #0f6144
deletion text#e17d96 / #a8102f
palette red#d95778 / #a8102f
palette orange#e09b52 / #9d5a12
palette yellow#d9a441 / #8a6218
palette green#93cb58 / #41761c
palette teal#45c8bc / #0f6f68
palette blue#74b0f3 / #1e5fae
palette purple#ab98f2 / #5b4bb0
palette pink#f4809a / #b3356e
chart sequential 1#4e8680 / #548c86
chart sequential 2#4f9f97 / #267b73
chart sequential 3#4db9ae / #01665f
chart sequential 4#46d3c6 / #00504b
chart sequential 5#3aeedf / #003c38
chart diverging 1#fe9eb0 / #821828
chart diverging 2#da8a99 / #94494c
chart diverging 3#929292 / #808080
chart diverging 4#76a9e2 / #3a649b
chart diverging 5#8ec2fd / #00458e

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.

Page title · 28 / 32 / 700Projects
Section label · 14 / 600Thread tools
Row label · 14 / 500Browser profile
Body · 13 / 400The agent reads the page you opened.
Subtitle · 14 / 400One line under the page title.
Meta · 12 / 400Running 4m
Identifier · 12 / 400feature/checkout-retry
RuleValue
Weights400 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 leading1.5 for interface text, 1.7 for code
MinimumNothing 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 ​

TokenValueRole
--oct-radius-sm8pxA control or a row
--oct-radius-md12pxA card, panel, or well
--oct-radius-lg14pxA composer or dialog
--oct-radius-pill9999pxCompact 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 ruleDocs expression
Hairlines, not shadowsCards, tables, callouts, and code blocks are bounded by one hairline
One accentLinks, the active sidebar row, and the primary button; everything else is ink
Type firstPage titles at 34/700, sections at 23/600, body at 16/400
Density with air740px measure, 52px section spacing, 4px spacing ladder
Honest statesCallouts state preview status instead of hiding it
Reduced motionAll 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.

Octant documentation · local-first by design