This is a migrated thread and some comments may be shown as answers.

Kendo UI v2019.3.917 Less generation error

2 Answers 57 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Paul van Eijk
Top achievements
Rank 1
Paul van Eijk asked on 19 Sep 2019, 09:18 AM

Hello,

I downloaded the new Kendo UI v2019.3.917 version, integrated it in my web app and generated less file and got the following error:

`rgba`: color functions take numbers as parameters

 

I tracked it down to two widgets: Rating and Filter

If I comment the following lines in "type-bootstrap.less", then generation works:

// Rating
/*@rating-icon-text: @widget-border-color;
@rating-icon-selected-text: @accent;
@rating-icon-hover-text: @accent;
@rating-icon-focused-text: @accent;

@rating-icon-focused-shadow: 0 2px 3.6px rgba(255, 255, 255, .1);
@rating-icon-focused-selected-shadow: 0 2px 3.6px rgba(@accent, .5);*/

@import "Default/filter/_theme.less";

@import "Default/rating/_theme.less";

2 Answers, 1 is accepted

Sort by
0
Accepted
Preslav
Telerik team
answered on 22 Sep 2019, 04:15 PM

Hello Paul,

I checked the scenario and the "less" files were successfully compiled to CSS on my side. Could you please elaborate on what tooling are you using to compile the "less" files?

I look forward to hearing from you.

 

Regards,
Preslav
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Paul van Eijk
Top achievements
Rank 1
answered on 31 Jan 2020, 09:58 AM

I found the issue for this when I updated to 2020 R1 and it was a custom less file that was passing a variable, that stored color in hex value, to argb function.

 

Thanks anyway.

Tags
General Discussions
Asked by
Paul van Eijk
Top achievements
Rank 1
Answers by
Preslav
Telerik team
Paul van Eijk
Top achievements
Rank 1
Share this question
or