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:175

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:185

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:178

Font family name.


origin

origin: BrandStyleFontOrigin

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


originId?

optional originId?: string | null

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

Google Fonts ID or other origin-specific identifier.


type

type: BrandStyleFontType

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


weights?

optional weights?: string[] | null

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

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