FontObject
type FontObject = { display?: 'auto' | 'block' | 'swap' | 'fallback' | 'optional'; family: string; src: string; style?: 'normal' | 'italic' | 'oblique'; unicodeRange?: string; weight?: string | number;};
A webfont source used by ChatKit typography.
Properties
Section titled “Properties”display?
Section titled “display?”optional display: "auto" | "block" | "swap" | "fallback" | "optional";
Font rendering behavior.
family
Section titled “family”family: string;
CSS font-family name.
src: string;
URL of the font file.
style?
Section titled “style?”optional style: "normal" | "italic" | "oblique";
Font style.
unicodeRange?
Section titled “unicodeRange?”optional unicodeRange: string;
Optional unicode range descriptor.
weight?
Section titled “weight?”optional weight: string | number;
Font weight.