Found while writing content/docs/ui/theming.mdx for #10237 (docs PR #10483). Out of that card's declared file surface (ruling: the four files in the claim comment), so filed rather than fixed.
1. A retired key is advertised as a theme capability
content/docs/ui/index.mdx, "The building blocks":
Themes define palettes, typography, and spacing as metadata — the showcase example ships light and dark theme variants.
spacing was removed from ThemeSchema at #3494 and is a guidance tombstone today, with this prescription:
spacing was removed in #3494 — the theme engine (objectui generateThemeVars) never emitted a spacing variable, so authoring it was a silent no-op. Emit your own scale through customVars (e.g. { "space-4": "1rem" }).
So the index page names, as one of three headline theme capabilities, a key the schema now rejects by name. "typography" is also weaker than it reads: after #5021 the only live typography input is fontFamily.base, which emits --font-sans; the size / weight / line-height / letter-spacing scales are tombstones too.
Suggested replacement, accurate against the current schema:
Themes define palettes, a base font family, radii and shadows as metadata — the showcase example ships light and dark theme variants.
The frontmatter description on the same file carries "themes" only, so it needs no change.
2. The Cards grid has drifted from meta.json
The "What's in this module" grid lists 7 pages; the sidebar carries 13 in the top group. Missing: actions, react-pages, translations, and — once PR #10483 lands — reports and theming. Nothing gates the grid against meta.json, which is why it drifts quietly: check:docs-audit-scope reconciles the audit workflow's list against the filesystem, and check:doc-anchors resolves fragments, but neither has an opinion about whether an index page links its siblings.
This half is an observation rather than a defect — a hand-curated index legitimately need not list everything. Worth a decision on which it is, because the answer determines whether a gate should exist.
Scope note
Both are one-file edits to content/docs/ui/index.mdx. Item 1 is mechanical and pinned by the schema's own tombstone text; item 2 needs the curation decision first.
Found while writing
content/docs/ui/theming.mdxfor #10237 (docs PR #10483). Out of that card's declared file surface (ruling: the four files in the claim comment), so filed rather than fixed.1. A retired key is advertised as a theme capability
content/docs/ui/index.mdx, "The building blocks":spacingwas removed fromThemeSchemaat #3494 and is aguidancetombstone today, with this prescription:So the index page names, as one of three headline theme capabilities, a key the schema now rejects by name. "typography" is also weaker than it reads: after #5021 the only live typography input is
fontFamily.base, which emits--font-sans; the size / weight / line-height / letter-spacing scales are tombstones too.Suggested replacement, accurate against the current schema:
The frontmatter
descriptionon the same file carries "themes" only, so it needs no change.2. The Cards grid has drifted from
meta.jsonThe "What's in this module" grid lists 7 pages; the sidebar carries 13 in the top group. Missing:
actions,react-pages,translations, and — once PR #10483 lands —reportsandtheming. Nothing gates the grid againstmeta.json, which is why it drifts quietly:check:docs-audit-scopereconciles the audit workflow's list against the filesystem, andcheck:doc-anchorsresolves fragments, but neither has an opinion about whether an index page links its siblings.This half is an observation rather than a defect — a hand-curated index legitimately need not list everything. Worth a decision on which it is, because the answer determines whether a gate should exist.
Scope note
Both are one-file edits to
content/docs/ui/index.mdx. Item 1 is mechanical and pinned by the schema's own tombstone text; item 2 needs the curation decision first.