@mocanvas/editor · function

getColorNamesFromThemes

declare function getColorNamesFromThemes(themes: TLThemes): string[]

The colour names a set of themes defines, as the union of every ramp's palette keys, in the order they were first seen.

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.