@mocanvas/editor · interface

TLRemovedDefaultThemeColors

interface TLRemovedDefaultThemeColors

Built-in palette colours an app has removed, declared by augmenting this interface.

Empty by design. It exists to be augmented:

``ts declare module "@mocanvas/editor" { interface TLRemovedDefaultThemeColors { "light-violet": true } } ``

Any key added here is dropped from {@link ./types.TLThemeDefaultColors}, so TypeScript stops asking a custom theme to define a colour the app does not want — and stops an app from referring to one it removed. The UI colours in TLThemeUiColorKeys cannot be removed: the canvas is drawn with them.

Mentioned here

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.