Skip to content

pantoken-root / renderers/astro/src / pantokenCss

Fonction: pantokenCss() ​

pantokenCss(options?): string

Alpha

Génère la feuille de style pantoken pour un thème (avec CSS de plugin optionnelle). Accessible pour un usage direct.

Paramètres ​

options? ​

InstUIOptions = {}

InstUIOptions.

Renvoie ​

string

La chaîne CSS.

Exemple ​

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

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