Skip to content

pantoken / renderers/foundation/src / toFoundationCss

함수: toFoundationCss()

toFoundationCss(options?): string

실험적

얇은 런타임 CSS 오버레이를 출력합니다: var(--instui-*)로 theme Foundation의 컴파일된 클래스를.

매개변수

options?

ToFoundationCssOptions = {}

ToFoundationCssOptions.

반환값

string

오버레이 CSS 문자열.

예제

오버레이를 컨테이너에 한정하기

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