Skip to content

pantoken-root / shadcn

shadcn ​

Compatibility ​

Target: shadcn/ui CSS variables. Current format: Tailwind 4.3.3 compiles the Pantoken primary theme alias. Minimum host version: 4.3.3. Tested through 4.3.3. Newer releases require review.

Full compatibility matrix

實驗性

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

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

介面 ​

變數 ​

函式 ​

參考 ​

default ​

重新命名並重新匯出 shadcnCss