import { T } from '@bigbluebutton/validate' import { SetValue } from '../util-types' /** * The colors used by tldraw's default shapes. * * @public */ export const TL_CANVAS_UI_COLOR_TYPES = new Set([ 'accent', 'white', 'black', 'selection-stroke', 'selection-fill', 'laser', 'muted-1', ] as const) /** * A type for the colors used by tldraw's default shapes. * * @public */ export type TLCanvasUiColor = SetValue /** * A validator for the colors used by tldraw's default shapes. * * @public */ export const canvasUiColorTypeValidator = T.setEnum(TL_CANVAS_UI_COLOR_TYPES)