Design systems
A design system is a DESIGN.md file in a Work or Code Project's folder. It says how your product looks, reads, and behaves, in prose you and agents both read, with optional tokens for colours, type, corner radius, and spacing. Octant reads the file itself; nothing is copied into Octant, so your editor, your repository, and Octant always agree.
A Chat Project has no folder, so it uses its brand kit instead.
Where design systems live
- Any file named exactly
DESIGN.mdin the Project's main folder or an extra folder is a design system. - A
DESIGN.mdgoverns the files under its own folder; the nearest one above a file wins. A monorepo can keep one per app. - The Project's own design system speaks for the whole Project: the
DESIGN.mdat the top of the main folder, else the only one the Project has. You can choose another, or turn design systems off (see Swap design systems).
Write one
Tokens go in front matter between --- lines; everything after it is prose.
---
name: Acme
description: Calm, confident, and quick.
colors:
primary: "#1a73e8"
secondary: "#0b8043"
chart-1: "#1a73e8"
chart-2: "#0b8043"
chart-3: "#f9ab00"
typography:
heading: "Georgia, serif"
body: "Inter, system-ui, sans-serif"
radius:
card: 12
spacing:
md: 16
---
# Acme
## Colour
Primary blue is for the one main action on a screen.colors(orcolours),typography,radius(orrounded), andspacingare read as tokens.chart-1tochart-6undercolorsare your chart palette.- A key like
onPrimarybecomescolor-on-primary. A bare number inradiusorspacingmeans pixels. - Fonts are system faces or generic families. Canvas never downloads a font, so
Geist, Inter, sans-serifis drawn asInter, sans-serif, and Octant tells you so. - An optional
componentslist in front matter describes your Project's reusable UI components (name, summary, props, states, and source path). Octant reads that bounded catalogue and exposes it to agents so generated mockups and designs match the components your codebase actually ships. - A file with no front matter still counts: agents follow its text.
View, edit, and create
Open the Project overview and choose Manage next to Design system.
- The list shows every
DESIGN.md, with the Project's own marked Project. - Choose one to see it drawn: colour swatches, a type sample per font, radius and spacing samples, and the sections of its prose. Anything Canvas cannot use is listed with the reason.
- Edit opens the file's text; Save writes it to your folder. If the file changed after you opened it, for example in your editor or by an agent, Octant does not overwrite it: your draft is kept and Reload from disk brings in the newer text.
- Create DESIGN.md writes a starter file with a palette, fonts, radius and spacing scales, and sections to fill in. Leave the folder empty for the top of the Project, or name an existing folder such as
apps/web.
How agents use it
- Code and Work. Every turn in the Project is told to follow the design system for anything a person sees: interface code, styles, components, and every Canvas document, deck, design, or diagram. The Project's own
DESIGN.mdis part of each turn, and agents are told where the others are. A Code turn reads the file from its own worktree. Agents change aDESIGN.mdonly when you ask. - Canvas designs. Documents, slide decks, websites, app screens, UI kits, and flows are drawn with the design system's tokens. When a design system has tokens, it takes the place of the Project's brand kit.
- Charts, tables, and other typed blocks. A Canvas an agent makes in the Project follows its design system, so charts, metrics, treemaps, and diagrams draw in your chart palette (else your primary and secondary colours). Status colours and text stay in your workspace theme so they stay readable in light and dark. The same colours appear in Present and in a saved HTML file.
Swap design systems
For the whole Project. In the Design system panel:
- Choose a file and select Use for this Project to make it the Project's own.
- Turn off design systems stops agents from getting one and returns Canvas to the brand kit or the workspace colours.
- Follow the top-level file returns to the default.
If the file you chose is deleted, the Project follows no design system until it is back or you choose another; Octant does not quietly switch to a different one.
For one Canvas. Open the Canvas and choose Design system… in its More menu. Pick any of the Project's design systems, or Use no design system. Charts and tables redraw at once, and designs drawn in a brand are redrawn in the new one. Each switch is a new version in the Canvas's history, so switching back undoes it. A Canvas keeps the copy it was given, so later edits to the file reach it when you apply the design system again.
Limits
- Only a window on this computer can view, edit, create, or swap a Project's own design system; a paired phone cannot. A browser you paired yourself can also switch the design system of one Canvas (see the list); a device paired below Full or introduced by a hub cannot.
- Octant never follows a link: it skips linked folders, hidden folders, and dependency or build folders when listing.
- Files over 256 KB are left to your editor.
- A public link shows charts as data tables, so it does not carry a Canvas's design system. Designs keep their brand everywhere.