Theme rules
The docs theme is set like a printed engineering manual: warm paper, numbered sections, hairline rules, and code on a light sheet. Full spec in src/themes/docs/THEME.md.
Type
Source Serif 4 · titles and section heads
Retry failed jobs
IBM Plex Sans · prose and interface, 17 px / 1.65
Ferrybox calls your endpoint, retries on failure, and keeps a record of every attempt.
IBM Plex Mono · code, paths, methods, numbers
POST /v2/jobs 0123456789 { } => !=
Palette
- Paper (60)
--paperPage background - Sheet
--sheetCode panels, tables - Side (30)
--sideSidebar, footer, code bars - Ink
--inkText, primary button - Graphite
--ink-2Secondary text - Rule
--ruleHairlines - Signal (10)
--signalAccent, active nav, POST - Link
--linkLinks - Harbor
--harborGET, success, strings - Ochre
--ochreNumbers, warnings - Dark band
--darkRetry timeline, featured guide
Syntax
- Keyword
.tk-k--tk-k - String
.tk-s--tk-s - Number / literal
.tk-n--tk-n - Function / key
.tk-f--tk-f - Comment
.tk-c--tk-c
Components
Page types
| Page | Contents |
|---|---|
| Home | Docs landing: install, quickstart steps, entry points, endpoint index, job lifecycle, libraries, latest release, help. |
| Category | Section index: guides grouped with level, reading time, and updated date. |
| Article | Long tutorial: numbered sections, code tabs, callouts, steps, tables, prev/next, edit link, feedback. |
| Listing | API reference for one endpoint: method and path, parameters, headers, examples, errors, rate limits. |
| About | Changelog by release, support plans, version policy, contacts. |
| Rules | This page. |
Do
- Number sections in long guides and keep the number in the right-hand contents.
- Label every code block with a filename or a tab. Put a copy button on every block.
- Use Source Serif 4 for page titles and section headings, IBM Plex Sans for prose and UI, IBM Plex Mono for code, paths, and methods.
- Show an endpoint’s method and path first, in mono, before any prose.
- Put a version and a last-updated date on every page.
- Keep callouts to Note, Tip, and Warning. One per screen at most.
Don’t
- Do not put code on a black slab; code panels sit on Sheet with a hairline.
- Do not use rounded pill badges. Methods are square, mono, and bordered.
- Do not hide the sidebar on desktop or show more than two levels in it.
- Do not invent benchmarks or customer logos on the landing page.
- Do not use the Signal color for body links; it is for methods, active states, and warnings.
Edit this page Last updated