@sarj/docs-ui
Documentation UI
Live exports and tokens from @sarj/docs-ui.
- Components
- 4
- Tokens
- 6
Color contract
Tokens
--sarj-color-report Diagnostic and rejection emphasis.
#c34453 · #ff8794--sarj-color-pass Accepted example and success emphasis.
#16806d · #62d5bd--sarj-color-warning Warning-level diagnostic emphasis with AA text contrast.
#986a00 · #a97708--sarj-color-rule Structural borders and separators.
#e4e6eb · #272a32--sarj-color-paper Reference surface background.
#ffffff · #0b0c10--sarj-color-ink Primary reference text.
#12141a · #f4f5f8Published surface
Components
Breadcrumbs
@sarj/docs-ui/Breadcrumbs.astroShow a compact, accessible path to the current reference page.
ancestors- Ordered links from the reference root to the current page.
current- Current page label, announced with aria-current="page".
PageAnchor
@sarj/docs-ui/PageAnchor.astroProvide the focusable top anchor used by Starlight reference pages.
ReferencePage
@sarj/docs-ui/ReferencePage.astroRender a Starlight reference shell with explicit robots behavior.
HeaderReferencePageDocument surface
title- Document title and primary accessible page identity.
description- Concise page description used by document metadata.
sidebar- Starlight sidebar definition for this reference surface.
indexable- Whether robots may index the public page; defaults to true.
hasSidebar- Whether the Starlight sidebar is rendered; defaults to true.
template- Starlight document or splash template; defaults to doc.
RulePager
@sarj/docs-ui/RulePager.astroNavigate between adjacent rules with accessible links and guarded arrow-key shortcuts.
previous- Optional previous rule link and label.
next- Optional next rule link and label.