Skip to content

pantoken-root / formats/components/src / IconGlyphsOptions

인터페이스: IconGlyphsOptions ​

베타

Options for iconGlyphsCss에 대한 옵션.

확장함 ​

속성 ​

prefix? ​

optional prefix?: string | null

베타

클래스 접두사입니다. 참값 문자열은 모든 클래스의 네임스페이스를 지정합니다 ("instui" → .instui-button); 반면에 거짓값(null, undefined, "" 또는 해당 옵션을 생략하면) 접두사를 완전히 제거합니다 (.button), 따라서 class="heading -h1"를 작성할 수 있습니다. 이 패키지에 포함된 스타일시트는 "instui"로 빌드되어 제공됩니다.

상속됨 ​

ComponentOptions.prefix


theme? ​

optional theme?: ComponentTheme

베타

생성된 CSS의 대상 테마입니다. 생략하면 기본값은 "rebrand"입니다.

상속됨 ​

ComponentOptions.theme


values? ​

optional values?: Readonly<Record<string, string>>

베타

아이콘 이름 → --instui-icon-<name> 데이터 URI 값. 제공되면 시트는 해당 커스텀 속성을 :root에 선언하여 자체 포함형이 됩니다: 글리프는 별도의 토큰 시트를 함께 로드하지 않고도 렌더됩니다. 가벼운 매핑 전용 시트를 내보내려면 생략하세요.