With the introduction of custom properties in CSS 4, I would like to bind them in Angular.
Normally, one would use custom properties like so:
<div style="--custom:red;">
<div style="background-color: var(--custom);">
hello
</div>
</div>
However, when using Angular's binding mechanism, it does not result in a red rectangle:
<div [style.--custom]="'red'">
<div style="background-color: var(--custom);">
hello
</div>
</div>
So how do I bind custom properties?