---
title: "Reference"
description: "Generated tables of every token, variable, attribute, key, contrast pair and type, with the error codes and both glossaries."
url: "https://opsinjs.pensievelabs.org/docs/reference"
source: "https://opsinjs.pensievelabs.org/docs/reference.md"
section: "Reference"
kind: "reference"
aliases: ["generated reference", "what is generated"]
---

The generated pages are written by scripts from the same sources the build ships, so a row cannot describe a token the build does not have. `pnpm run check` regenerates them and diffs the result, so a page that drifts from its source fails the build. To change a row, change the source. An edit between a page's generated markers is erased by the next `pnpm run generate`. A program should read the same lists from `/llms.txt`, the `.md` twin of each page, or `/r/index.json`.

| Page                                               | Contents                                                                                         |
| -------------------------------------------------- | ------------------------------------------------------------------------------------------------ |
| [Tokens](./generated/tokens.mdx)                   | Every design token, what it controls and what reads it                                           |
| [CSS variables](./generated/css-variables.mdx)     | Every `--opsin-*` custom property, with its light and dark defaults                              |
| [Data attributes](./generated/data-attributes.mdx) | Every `data-*` attribute the components emit. Empty until the script reads the component sources |
| [Keyboard](./generated/keyboard.mdx)               | Every keyboard interaction. Empty until the script reads each component page's table             |
| [Contrast](./generated/contrast.mdx)               | Measured WCAG 2.2 ratios and APCA Lc for every token pair, in both themes                        |
| [Types](./generated/types.mdx)                     | Every TypeScript symbol the site's `lib/` exports. Not an installable API                        |
| [Error codes](./error-codes.mdx)                   | Every development warning, its stable code and the page that prevents it                         |
| [Glossary](./glossary.mdx)                         | The words opsinjs uses about itself, written by hand                                             |
| [Plain English A to Z](./plain-english.mdx)        | The clinical terms a reader meets, and the plain words to use instead                            |
