@mocanvas/editor · type

TLThemeDefaultColors

type TLThemeDefaultColors = Omit<Record<DefaultColorStyle$1, TLDefaultColor>, keyof TLRemovedDefaultThemeColors>

The palette: one TLDefaultColor per style colour name, minus any an app has removed by augmenting TLRemovedDefaultThemeColors.

With no augmentation the subtraction is a no-op, so this is exactly the built-in palette until an app says otherwise.

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.