@mocanvas/editor · type

TLColorScheme

type TLColorScheme = TLColorMode | "system"

The colour-mode *setting*. "system" follows the host window's prefers-color-scheme; the other two pin the mode.

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.