Tries each parameter in turn, returning the value
for the first that resolves. This can be useful for
having fallback values.
// Try a CSS variable, a object property or finally fallback to red. element.style.backgroundColor = resolveToString('--some-var', opts.background, `red`);
Like resolve, but returns a CSS-ready string representation.
Tries each parameter in turn, returning the value for the first that resolves. This can be useful for having fallback values.