Skip to content

@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 · #f4f5f8

Published surface

Components

ReferencePage

@sarj/docs-ui/ReferencePage.astro

Render 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.astro

Navigate 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.