Skip to content

pantoken-root / renderers/foundation/src / toFoundationCss

関数: toFoundationCss() ​

toFoundationCss(options?): string

実験的

薄いランタイムCSSオーバーレイを出力します:Foundation のコンパイル済みクラスを var(--instui-*) でテーマ化します。

パラメーター ​

options? ​

ToFoundationCssOptions = {}

ToFoundationCssOptions.

戻り値 ​

string

オーバーレイの CSS 文字列。

例 ​

オーバーレイをコンテナに限定する

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