Skip to content

pantoken / renderers/shadcn/src / toShadcnCss

Funktion: toShadcnCss()

toShadcnCss(options?): string

Experimentell

Generera shadcn → Instructure CSS-variabelbro.

Parametrar

options?

ToShadcnCssOptions = {}

ToShadcnCssOptions.

Returnerar

string

Den bryggande CSS-strängen.

Exempel

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.