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