LightDarkColor

Represents a CSS light-dark() expression.

This expression resolves to either its first or second argument depending
on the active color scheme in the resolution context.

Methods

public function resolve(CssContext $ctx): ColorInterface|CssResolvableInterface
Parameters
NameTypeDefault
$ctx CssContext -
public function toCss(): string