lookColourCss
One value's colour as CSS: a name or a literal through the palette, a ramp's { apply } finished at its place, fallback for anything else.
@internote/canvas-sdkOn this page
import { lookColourCss } from '@internote/canvas-sdk';#Signature
(value: unknown, fallback: string): string#Parameters
valueOne look, as a style attribute's expression evaluates to.
fallbackThe CSS where the value gives no colour.
Declared in packages/canvas-sdk/src/data/item-looks.ts:158.