CssResolvableInterface
InterfaceInterface for CSS color expressions that can be resolved at runtime.
Methods
public function resolve(CssContext $ctx): ColorInterface|CssResolvableInterface
Resolve the expression into a concrete color using the provided context.
Returns a ColorInterface instance if fully resolved, or a new
CssResolvableInterface if only partially resolved.
Parameters
| Name | Type | Default |
|---|---|---|
$ctx |
CssContext | - |