Askr documentation
Generated API snapshot

@askrjs/themes/ssr

Exports from the declarations published in @askrjs/themes. Signatures reflect the published artifact.

Exports

This entrypoint publishes 1 exports. Use the anchored symbol rows for direct links. Type-only exports are labeled separately from runtime values.

withThemeStyles

withThemeStyles: <TArgs extends { appHtml: string; context: { cspNonce?: string; styles?: readonly { id: string; cssText: string; }[]; }; }>(documentRenderer: (args: TArgs) => string) => (args: TArgs) => string

Wrap an Askr SSR/SSG document renderer so generated theme rules used by the rendered app are available before hydration.