OPTIONS

RapiDoc properties

Spec
Theme
theme
Brand color preset, or a custom brand color as a hex code. Each preset defines a dark and a light palette.Default: amber
Color palette preset
color-scheme
Base color scheme mode. 'system' automatically matches the user's OS preference. 'auto' follows the host page: it reads the page's CSS color-scheme (for example :root[data-theme='light'] { color-scheme: light }, as Starlight sets it) and updates when the page switches theme; when the page declares none, it falls back to the OS preference.Default: dark
Dark, light, or follow the system or the page
radius
Corner radius scale applied across cards, buttons, badges, inputs, and dialogs.Default: sm
Border radius for cards, inputs, and buttons
scale
Relative scale factor for typography and UI elements across the documentation portal.Default: default
Global scale for typography and spacing
Fonts
--font-sans
Main document body and heading font family
--font-mono
Monospace font family for code blocks and schema types