Skip to content

pantoken / renderers/shadcn/src / toShadcnCss

Funció: toShadcnCss()

toShadcnCss(options?): string

Experimental

Emetre el pont de variable CSS shadcn → Instructure.

Paràmetres

options?

ToShadcnCssOptions = {}

ToShadcnCssOptions.

Retorna

string

La cadena CSS de connexió.

Exemple

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.