Skip to content

pantoken-root / renderers/shadcn/src / toShadcnCss

Functie: toShadcnCss() ​

toShadcnCss(options?): string

Experimenteel

Genereer de shadcn → Instructure-brug voor CSS-variabelen.

Parameters ​

options? ​

ToShadcnCssOptions = {}

ToShadcnCssOptions.

Retourneert ​

string

De CSS-tekenreeks voor de brug.

Voorbeeld ​

ts
import { toShadcnCss } from "@pantoken/shadcn";

const css = toShadcnCss();
// ":root { --primary: var(--instui-color-background-brand); … }"
// Emit alongside @pantoken/css, which defines the --instui-* properties.