rampTypeSpec
The compiler's declaration of RAMP_TYPE: the named ramps and the nine bare hues — a hue's ramp is its own run, pale to deep — each applying a number to a colour with no logic in the library. #self.value -> -1..1 -> temperature normalises the reading over the window and hands the place to the ramp; the compiler answers { apply: { type: 'ramp', f, x } } and appliedRampCss finishes it.
@internote/canvas-sdkOn this page
import { rampTypeSpec } from '@internote/canvas-sdk';#Signature
TypeSpecDeclared in packages/canvas-sdk/src/paint/index.ts:182.