Site inspiration
The research behind Primer's documentation structure.
Primer needs to explain a visual vocabulary shared by web and terminal applications. These references informed the documentation; their component libraries and palettes remain their own.
| Reference | What informed Primer |
|---|---|
| Adobe Spectrum — design tokens | Explain meaning and aliases alongside raw values. The explorer shows source references and resolved themes together. |
| GOV.UK — styles | Give color, typography and spacing focused foundation pages with practical guidance. |
| Radix Themes — color | Put visual specimens beside the variables that produce them; distinguish accent, neutral and functional color roles. |
The platform
Section titled “The platform”Astro Starlight supplies navigation, static search, theme selection, code formatting, and responsive documentation. Primer owns its visual specimens and token explorer. Content lives in Markdown and MDX, so changes can be reviewed in Git and edited with an LLM.
There is no hosted editor or presentation account to maintain. GitLab Pages publishes a static build from the repository.