KeyLook

How the key draws a name's swatch: its colour, and the stroke, the fill or the marker where that is what it means. The one description of a swatch, so anything else that shows a thing's colour — a tooltip's card — shows it as the key does.

@internote/canvas-sdkType
On this page
import { KeyLook } from '@internote/canvas-sdk';

colour is a colour VALUE, as an attribute carries it (teal, light-teal, hex(0064FA)), never the CSS a mark paints with: the swatch takes two steps of a hue, which CSS no longer says.

#Signature

Pick<KeyEntry, 'colour' | 'stroke' | 'fill' | 'shape'>

Declared in packages/canvas-sdk/src/footer/index.ts:125.

Last updated