@tenphi/starlight
v0.18.2
Published
Astro and Starlight renderer for Cookbook
Readme
@tenphi/starlight
The supported Astro/Starlight renderer for Cookbook. The default export is a complete Astro integration; consumers do not compose Starlight themselves.
The integration uses one graph-backed route pipeline for convention, explicit, and locked-package sources. It targets Astro 7.3 and Starlight 0.42, including the Popover-based mobile sidebar contract. Application-owned Astro content collections remain independent.
@tenphi/starlight/styling exports tasty, useGlobalStyles, mergeStyles,
the Styles type, and the defineComponent and resolveComponentStyles
helpers for merging theme.styles into custom components. The facade exposes
the same API through @tenphi/cookbook/styling.
@tenphi/starlight/eslint-plugin exports the default Tasty ESLint plugin,
recommended and strict rule maps, its configuration types, and a
validationConfig preset covering Cookbook's theme names and styling helpers.
Use extends: "@tenphi/starlight" in tasty.config.ts to inherit this preset
and list only your additional tokens, states, or presets.
It matches @tenphi/cookbook/eslint-plugin; see
Linting custom styles
for ESLint and oxlint setup.
