TLDefaultColorThemeColor
See source codeTable of contents
Defines the color variants available for each color in the default theme. Each color has multiple variants for different use cases like fills, strokes, patterns, and UI elements like frames and notes.
interface TLDefaultColorThemeColor {}Example
import { TLDefaultColorThemeColor } from '@tldraw/tlschema'
const blueColor: TLDefaultColorThemeColor = {
solid: '#4465e9',
semi: '#dce1f8',
pattern: '#6681ee',
fill: '#4465e9',
// ... other variants
}Properties
fill
fill: stringframeFill
frameFill: stringframeHeadingFill
frameHeadingFill: stringframeHeadingStroke
frameHeadingStroke: stringframeStroke
frameStroke: stringframeText
frameText: stringhighlightP3
highlightP3: stringhighlightSrgb
highlightSrgb: stringnoteFill
noteFill: stringnoteText
noteText: stringpattern
pattern: stringsemi
semi: stringsolid
solid: stringPrev
TLCursorNext
TLDocument