Skip to content

pantoken / renderers/shadcn/src / toShadcnCss

फंक्शन: toShadcnCss()

toShadcnCss(options?): string

प्रयोगात्मक

shadcn → Instructure CSS-variable bridge को जेनरेट करें।

पैरामीटर

options?

ToShadcnCssOptions = {}

ToShadcnCssOptions.

वापसी

string

ब्रिजिंग CSS स्ट्रिंग.

उदाहरण

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.