TLCanvasUiColor
See source codeA union type representing the available canvas UI color types.
Canvas UI colors are semantic color types used for interface elements that overlay the drawing canvas, such as selection indicators, accents, and other UI components.
type TLCanvasUiColor = SetValue<typeof TL_CANVAS_UI_COLOR_TYPES>
Example
const selectionColor: TLCanvasUiColor = 'selection-stroke'
const accentColor: TLCanvasUiColor = 'accent'
const backgroundColor: TLCanvasUiColor = 'white'
Prev
TLCameraIdNext
TLCursorType