TLThemeFonts
Table of contents
The font palette for a theme. Contains named font definitions mapping font style names to their CSS font-family strings and font face descriptors.
Extend this interface via module augmentation to add custom fonts:
interface TLThemeFonts {}Example
declare module "@tldraw/tlschema" {
interface TLThemeFonts {
cursive: TLThemeFont;
}
}Properties
draw
draw: TLThemeFont;mono
mono: TLThemeFont;sans
sans: TLThemeFont;serif
serif: TLThemeFont;Prev
TLThemeFontNext
TLThemes