Skip to content

pantoken / shadcn

shadcn

實驗性

@pantoken/shadcn — 使用 Instructure 代幣的 shadcn/ui 主題。

toShadcnCss 會輸出一個 :root 區塊,將 shadcn 的 CSS 變數指向 var(--instui-*)。 將它與 @pantoken/css(定義自訂屬性)放在一起,shadcn 元件即可採用 Instructure 的外觀。圖示會自動對齊 —— shadcn 與 Instructure 都使用 Lucide。

介面

變數

函式

參考

default

重新命名並重新匯出 shadcnCss