Skip to main content

inlineVars()

Call Signature

inlineVars(vars): Record<string, string>

Runtime creation of inline style CSS vars that enable CSS container queries

Parameters

vars

Record<string, Primitive>

Returns

Record<string, string>

Call Signature

inlineVars<T>(contract, values): Record<string, string>

Runtime creation of inline style CSS vars that enable CSS container queries

Type Parameters

T extends Contract

Parameters

contract

T

values

PartialMapLeafNodes<T, Primitive>

Returns

Record<string, string>