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

How to use the .less output from the themeBuilder

1 Answer 206 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Olivier
Top achievements
Rank 1
Olivier asked on 24 Oct 2012, 03:31 PM
Hi,

I've generated a less file via the theme builder and as written there (http://docs.kendoui.com/getting-started/themebuilder), I,ve also added the template.less to my project. So right now I have the following files :

- mixins.less
- kendo.default.less
- common.less
- template.less
- and finally my custom.less generated via the theme builder.

When I launch my website, I've got this error message :

variable @widget-background-color is undefined

in template.less on line 106, column 23:

  • {
  •     background-color: @widget-background-color;
  • }
What am I missing ?

Thanks

1 Answer, 1 is accepted

Sort by
0
Olivier
Top achievements
Rank 1
answered on 24 Oct 2012, 05:47 PM
Allright, here's what I've found out :

Telerik has a modified less compiler (https://github.com/telerik/less.js). So if you use the one from lesscss.org, dotLess or anything else not linked to this compiler, it simply won't work. This is what the template.less is used for.

So basically, we went back to original css ... It's a shame.
Tags
General Discussions
Asked by
Olivier
Top achievements
Rank 1
Answers by
Olivier
Top achievements
Rank 1
Share this question
or