@mocanvas/editor · interface
interface TLDefaultColorOne palette entry — every way a single colour name can be painted.
All values are CSS colour strings so a consumer never has to branch on the
shape of a token (this is what lets getColorValue return string).
Properties · 13
fill: stringThe hue as an opaque interior.
frameFill: stringBody of a frame.
frameHeadingFill: stringBody of the strip a frame's name sits in.
frameHeadingStroke: stringBorder of that strip.
frameStroke: stringBorder of a frame.
frameText: stringThe frame's name.
highlightP3: stringHighlighter ink in Display P3, for wide-gamut screens.
highlightSrgb: stringHighlighter ink, sRGB — the fallback everywhere.
noteFill: stringBody of a sticky note.
noteText: stringText drawn on a sticky note.
pattern: stringStroke colour of the hatch pattern used by pattern fills.
semi: stringA pale tint of the hue, for lightly filled interiors.
solid: stringInk: strokes, text, arrowheads — the hue at full strength.
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.