Skip to content

Rule.io SDK


Rule.io SDK / client/src / BrandStyleFontEntry

Interface: BrandStyleFontEntry

Defined in: client/src/resources/brand-styles/brand-styles.types.ts:196

A font entry in a create or update payload.

Properties ​

font? ​

optional font?: object

Defined in: client/src/resources/brand-styles/brand-styles.types.ts:206

Custom font file — only needed when origin is 'custom'.

file ​

file: string

name? ​

optional name?: string


name ​

name: string

Defined in: client/src/resources/brand-styles/brand-styles.types.ts:199

Font family name.


origin ​

origin: BrandStyleFontOrigin

Defined in: client/src/resources/brand-styles/brand-styles.types.ts:200


originId? ​

optional originId?: string | null

Defined in: client/src/resources/brand-styles/brand-styles.types.ts:202

Google Fonts ID or other origin-specific identifier.


type ​

type: BrandStyleFontType

Defined in: client/src/resources/brand-styles/brand-styles.types.ts:197


weights? ​

optional weights?: string[] | null

Defined in: client/src/resources/brand-styles/brand-styles.types.ts:204

Available font weights, e.g. ['400', '700'].