Skip to content

pantoken-root / packages/core/src / CssContribution

Interface: CssContribution ​

Beta

A CSS contribution a plugin can return from its css hook.

Properties ​

prepend? ​

optional prepend?: string

Beta

Raw CSS emitted before the generated base.


append? ​

optional append?: string

Beta

Raw CSS emitted after the generated base.


properties? ​

optional properties?: PropertyRule[]

Beta

Typed @property registrations to add.


declarations? ​

optional declarations?: [string, string][]

Beta

Scoped --var: value declarations to add.


marker? ​

optional marker?: string

Beta

A data-* marker for the emitted block, for debugging.