Appearance
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?
optionalfont?: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?
optionalname?: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?
optionaloriginId?: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?
optionalweights?:string[] |null
Defined in: client/src/resources/brand-styles/brand-styles.types.ts:204
Available font weights, e.g. ['400', '700'].