registerFontsFromThemes

See source code

Scan theme definitions and sync font registrations to match. A font entry is any key in TLThemeFonts whose value is a TLThemeFont object (i.e. has a fontFamily property).

Fonts present in themes but not yet registered will be added. Fonts currently registered but absent from all themes will be removed.

function registerFontsFromThemes(definitions: TLThemes): void;

Parameters

NameDescription

definitions

Returns

void;
Prev
registerColorsFromThemes
Next
toRichText