Documentation / @finchart/core / index / resolveStyle
Function: resolveStyle()
resolveStyle<
Spec>(spec,read,overrides?):StyleOf<Spec>
Defined in: packages/core/src/render/style-spec.ts:146
override > CSS variable > fallback. The order shows up as the code's order.
It only walks keys the spec declared — an undeclared key on the override (including __proto__) can't get into the result, and undefined/null are demoted to "no value."
Type Parameters
Spec
Spec
Parameters
spec
Spec
read
overrides?
StyleOverridesOf<Spec>
Returns
StyleOf<Spec>