Appearance
Rule.io SDK / client/src / emailThemeFromBrandStyle
Function: emailThemeFromBrandStyle()
emailThemeFromBrandStyle(
brandStyle):EmailTheme
Defined in: client/src/brand-style-to-theme.ts:79
Build an EmailTheme directly from a Rule.io BrandStyle entity. Unknown colour/link/image types and fonts without a usable name are silently dropped so a partial brand style produces a partial theme rather than throwing.