Solved Can't use relative colors in LESS

This topic has been solved
K

Kirby

Guest
The following CSS causes errors when used in LESS templates.

Code:

Code:
--color-red: hsl(0, 100%, 50%);
--color-red-alpha: hsl(from var(--color-red) h s l / 0.5);

Code:

ArgumentCountError: Too few arguments to function Less_Functions::hsl(), 1 passed in <redacted>/src/vendor/oyejorge/less.php/lib/Less/Tree/Call.php on line 76 and exactly 3 expected

Continue reading...