@motion-script/core / resolveEffectColor
Function: resolveEffectColor()
resolveEffectColor(
color):NormalizedColor
Defined in: attributes/shape/effects/effect-data.ts:65
Resolve a colour-valued effect option to its RGBA tuple.
Colour options are stored as authored (a CSS string, a theme alias, or an
already-normalised tuple) rather than parsed at build time, so a raw effect
literal — { type: 'outline', color: 'primary', … } — behaves exactly like the
builder form, and a theme alias still resolves against whatever setTheme
installed. Backends call this to get numbers; lerp calls it on both ends.