Skip to content

Rule.io SDK


Rule.io SDK / rcml/src / EmailThemeFont

Interface: EmailThemeFont

Defined in: rcml/src/email/theme-types.ts:154

A web-font registration. Materialises as an <rc-font name="…" href="…"> child of <rc-head>. System fonts have no URL and therefore no rc-font.

Properties

fontFamily

fontFamily: string

Defined in: rcml/src/email/theme-types.ts:155


url?

optional url?: string

Defined in: rcml/src/email/theme-types.ts:157

Omit for system fonts that don't need a web-font registration.