TLThemes

See source code
Table of contents

A registry of available themes. Extend this interface via module augmentation to register custom themes for type-safe theme IDs.

interface TLThemes {}

Example

declare module "@tldraw/tlschema" {
  interface TLThemes {
    corporate: TLTheme;
  }
}

Properties

default

default: TLTheme;

Prev
TLThemeFonts
Next
TLUser