Skip to content

pantoken / renderers/shadcn/src / toShadcnCss

Funktion: toShadcnCss()

toShadcnCss(options?): string

Experimentell

Erzeuge die shadcn → Instructure CSS-Variablenbrücke.

Parameter

options?

ToShadcnCssOptions = {}

ToShadcnCssOptions.

Rückgabe

string

Der CSS-String für die Brücke.

Beispiel

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.