@mocanvas/mocanvas · function

getFontFamily

declare function getFontFamily(font: DefaultFontStyle, theme?: TLTheme): string

The CSS font stack a font style resolves to, in theme.

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.