Skip to content

Rule.io SDK


Rule.io SDK / client/src / BrandStyleFont

Interface: BrandStyleFont

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

A font entry embedded in a BrandStyle.

Properties

brandStyleId

brandStyleId: number

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


createdAt

createdAt: string

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


id

id: number

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


name

name: string

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

Font family name.


origin?

optional origin?: BrandStyleFontOrigin | null

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

Where the font is sourced from.


originId?

optional originId?: string | null

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

Google Fonts ID or other origin-specific identifier.


originName?

optional originName?: string | null

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

Human-readable origin name.


type

type: BrandStyleFontType

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


updatedAt

updatedAt: string

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


url?

optional url?: string | null

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

URL to the font file for custom fonts.


weights?

optional weights?: string[] | null

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

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