@mocanvas/mocanvas · constant
declare const ColorSchemeMenu: () => react.JSX.ElementLight, dark, or follow the system.
Writes through Editor.setColorMode as well as to the user's preferences. The theme manager is what the canvas and the CSS custom properties actually paint from; writing only the preference left the tick moving and the screen unchanged, which is what made this menu look dead.
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.