registerColorsFromThemes

See source code

Scan theme definitions and sync color registrations to match. A color entry is any key in TLThemeColors whose value is an object (i.e. a TLDefaultColor), as opposed to utility strings like background or text.

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

function registerColorsFromThemes(definitions: TLThemes): void;

Parameters

NameDescription

definitions

Returns

void;
Prev
isUserId
Next
registerFontsFromThemes