Skip to content

pantoken-root / renderers/astro/src / pantokenCss

Function: pantokenCss() ​

pantokenCss(options?): string

Alpha

Build the pantoken stylesheet for a theme (with optional plugin CSS). Exposed for direct use.

Parameters ​

options? ​

InstUIOptions = {}

InstUIOptions.

Returns ​

string

The CSS string.

Example ​

ts
import { pantokenCss } from "@pantoken/astro";

const css = pantokenCss({ theme: "canvas" });