Expected to be assigned by --pgy-border-radius。Do not want to use @border-radius-base:16px to assign
What is actually happening?
transition: left @animation-duration-slow ease-out;
.roundedArrow(@arrow-size, 5px, @calendar-bg);
^
Error evaluating function unit: the first argument to unit must be a number
Error in /Users/bingchuan/work/test/test2/node_modules/ng-zorro-antd/date-picker/style/index.less (line 332, column 4)
Reproduction link
https://stackblitz.com/github/okgo123/test2?file=src%2Fstyles.less
Steps to reproduce
body{ --pgy-border-radius:16px; --ant-primary-color: blue; } @border-radius-base:~'var(--pgy-border-radius)';
What is expected?
Expected to be assigned by --pgy-border-radius。Do not want to use @border-radius-base:16px to assign
What is actually happening?
transition: left @animation-duration-slow ease-out; .roundedArrow(@arrow-size, 5px, @calendar-bg); ^ Error evaluating function
unit
: the first argument to unit must be a number Error in /Users/bingchuan/work/test/test2/node_modules/ng-zorro-antd/date-picker/style/index.less (line 332, column 4)