Skip to content

pantoken / formats/components/src / componentsCss

Function: componentsCss()

componentsCss(options?): string

Beta

Build the aggregated component stylesheet: every component's rules in the COMPONENTS concat order. The size-alias and deprecated-alias twins are appended PER COMPONENT (within its own chunk) so each alias documents on its own page — the deprecated aliases are discovered from each record's @deprecated {@link -x} metadata (see withAliases), not a central hand-kept list. The --instui-elevation-* shadow scale the components reference is defined in the token sheet (@pantoken/css), so it's no longer inlined here.

Parameters

options?

ComponentOptions = {}

ComponentOptions.

Returns

string

The CSS string.