Skip to content

pantoken-root / renderers/foundation/src / toFoundationCss

Funzione: toFoundationCss() ​

toFoundationCss(options?): string

Sperimentale

Genera il sottile overlay CSS a runtime: applica il tema alle classi compilate di Foundation con var(--instui-*).

Parametri ​

options? ​

ToFoundationCssOptions = {}

ToFoundationCssOptions.

Restituisce ​

string

La stringa CSS dell'overlay.

Esempio ​

Restringi l'overlay a un contenitore

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