Skip to content

pantoken-root / formats/components/src / IconGlyphsOptions

Interface: IconGlyphsOptions ​

Beta

Options for iconGlyphsCss.

Extends ​

Properties ​

prefix? ​

optional prefix?: string | null

Beta

The class prefix. A truthy string namespaces every class ("instui" → .instui-button); any falsy value (null, undefined, "", or omitting the option) drops the prefix entirely (.button), so you can author class="heading -h1". The stylesheets shipped by this package are built with "instui".

Inherited from ​

ComponentOptions.prefix


theme? ​

optional theme?: ComponentTheme

Beta

Target theme for emitted CSS. Defaults to "rebrand" when omitted.

Inherited from ​

ComponentOptions.theme


values? ​

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

Beta

Icon name → --instui-icon-<name> data-URI value. When given, the sheet also declares those custom properties in :root, making it self-contained: the glyphs paint without a separate token sheet loaded alongside. Omit to emit the lean mapping-only sheet.