getFontStyleItems
Returns the current list of font style items for the style panel, derived from the theme's font palette.
Fonts are ordered by their position in DefaultFontStyle, followed by any additional theme fonts in their object key order.
function getFontStyleItems(theme: TLTheme): StyleValuesForUi<string>;Parameters
| Name | Description |
|---|---|
|
Returns
StyleValuesForUi<string>;Prev
getFontFamilyNext
getHitShapeOnCanvasPointerDown