Skip to content

pantoken-root / platforms/email/src / InlineEmailHtmlOptions

Interface: InlineEmailHtmlOptions ​

Experimental

Options for generating email-compatible HTML with pantoken styles.

Properties ​

theme? ​

optional theme?: Theme

Experimental

Token theme to use. Defaults to rebrand.


mode? ​

optional mode?: "light" | "dark"

Experimental

Color scheme to resolve. Defaults to light.


prefix? ​

optional prefix?: string | null

Experimental

Component class prefix. Defaults to instui.


customColor? ​

optional customColor?: string

Experimental

Add generated rules for this custom brand color.


color? ​

optional color?: PantokenColorNamespace

Experimental

Apply one of the plugin's shipped or custom color scales.


preserveFallbacks? ​

optional preserveFallbacks?: boolean

Experimental

Retain pseudo-class and media-query rules in a style element. Defaults to false.


client? ​

optional client?: EmailClient

Experimental

Email client capability profile. Defaults to generic.


allowComponents? ​

optional allowComponents?: readonly string[]

Experimental

Component names to allow in addition to the default email-safe set.


denyComponents? ​

optional denyComponents?: readonly string[]

Experimental

Component names to remove from the email output.


extraCss? ​

optional extraCss?: string

Experimental

Additional caller-supplied CSS.