getFontCheckboxStyle

See source code

The custom properties that draw task list checkboxes in a font's own style, from its theme entry. Set them on an element containing rich text. Returns nothing for a font without its own checkboxes, which then gets the standard ones.

function getFontCheckboxStyle(
  theme: TLTheme,
  font: string,
): Record<string, string> | undefined;

Parameters

NameDescription

theme

TLTheme;

font

string;

Returns

Record<string, string> | undefined;
Prev
getEmbedInfo
Next
getFontFamily