Skip to content

pantoken-root / renderers/shadcn/src / toShadcnCss

Fonksiyon: toShadcnCss() ​

toShadcnCss(options?): string

Deneysel

shadcn → Instructure CSS değişken köprüsünü oluştur.

Parametreler ​

options? ​

ToShadcnCssOptions = {}

ToShadcnCssOptions.

Döndürür ​

string

Köprüleyici CSS dizesi.

Örnek ​

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.