Can't use relative colors in LESS

The following CSS causes errors when used in LESS templates.

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

Читать далее...
 
Активность
Пока что здесь никого нет
Назад
Верх Низ