Call this if there is a 1-1 relationship between an input property 'prop' and a generated output CSS variable (varName). There must be no computation involved in order to generate the CSS variable value from the value of the property. Note: this means that the CSS variables are dynamically updated when the 'prop' property is updated.
The CSS variable name (without the leading --);
The unit that is appended to the value of the variable.
The input property from which the CSS variable value is derived
Optional cb: ((propVar: CSSVariableKind) => void)Call this when there is a more complicated relationship between input properties and output CSS variables.
A unique name.
Any number of properties which are monitored for changes before calling 'cb'.
The callback called each time all 'props' are initialized and any values change.
Generated using TypeDoc
The CSS code generator.