Skip to content

pantoken-root / renderers/pendo/src / BuildPendoCssOptions

Interface: BuildPendoCssOptions ​

Beta

Options for buildPendoCss.

Properties ​

theme? ​

optional theme?: Theme

Beta

Theme to source the --instui-* layer from (default "rebrand").


scopeSelector? ​

optional scopeSelector?: string

Beta

The @scope root selector (default [class*="instui"]._pendo-step-container).


scope? ​

optional scope?: boolean

Beta

Wrap component rules in @scope for DOM containment (default true).


important? ​

optional important?: boolean

Beta

Add !important to component declarations so they beat Pendo's styles (default true).


prune? ​

optional prune?: boolean

Beta

Tree-shake unused --instui-* tokens (default true; off ships the full token set).


flatten? ​

optional flatten?: boolean | FlattenPropertyOptions

Beta

Convert @property at-rules to plain custom-property declarations via flattenProperty (default false). true uses plugin defaults with injectSelector: ":scope" so the declarations land inside the @scope block. Pass a FlattenPropertyOptions object to override individual defaults.


mangle? ​

optional mangle?: boolean | MangleCustomPropsOptions

Beta

Mangle --instui-* names to minimal base-26 identifiers via mangleCustomProps (default false). Safe here because the full token + component stylesheet is a self-contained bundle. Pass a MangleCustomPropsOptions object to override defaults.