@mocanvas/editor · interface

ThemeManagerOptions

interface ThemeManagerOptions

This one ships without a description. The signature above is read from the package, and the guides cover the area it belongs to.


Properties · 4

colorScheme?: TLColorScheme

Light, dark, or follow the host window. Defaults to "light".

initialTheme?: TLThemeId

Which of them starts out current. Defaults to "default".

themes?: TLThemesInput

Themes to register, merged over the built-in default.

window?: TLColorSchemeWindow | null

Where "system" is read from. Defaults to the editor's own window.

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.