Skip to content

pantoken-root / renderers/foundation/src / toFoundationCss

函式: toFoundationCss() ​

toFoundationCss(options?): string

實驗性

輸出薄型執行時 CSS 覆蓋層:使用 var(--instui-*) 與 theme Foundation 的已編譯類別。

參數 ​

options? ​

ToFoundationCssOptions = {}

ToFoundationCssOptions.

回傳 ​

string

覆蓋層的 CSS 字串。

範例 ​

將覆蓋層限定於容器內

ts
toFoundationCss({ scope: ".instui" });