Error when compiling menu.less

Support desk for Multipurpose Quark Theme
GK User
Thu Aug 13, 2015 9:24 am
Joomla. I get an error when compiling the menu.less file

Error
expected color value: failed at `color: fade(@white, 75%)!important; ` ......../templates/gk_quark//less/menu.less on line 252

An error occurred. Failed to compile.

I need to change the @dark colour to @white and when I clicked the "compile LESS" button, I get the error.
User avatar
Fresh Boarder

teitbite
Sat Aug 15, 2015 1:10 pm
Hi

I'm not sure why this error appeared, but I would solve it by compiling LESS into CSS with default black value and than change it to white in CSS directly.
User avatar
Moderator

GK User
Tue Aug 25, 2015 9:34 pm
Sorry, but that does not truly fix the issue. The benefits of the less file are lost doing this.

I did notice a double slash in the URL, does that have anything to do with it?

"...templates/gk_quark//less/menu.less..."
User avatar
Junior Boarder

GK User
Tue Aug 25, 2015 9:58 pm
jokele wrote:Sorry, but that does not truly fix the issue. The benefits of the less file are lost doing this.

I did notice a double slash in the URL, does that have anything to do with it?

"...templates/gk_quark//less/menu.less..."


In further research it looks like it has something to do with the fade(@...) when you replace the @white with #ffffff it compiles fine.
User avatar
Junior Boarder

teitbite
Sat Aug 29, 2015 2:39 pm
Hi

Yes, I believe so. I will inform programmers about this. Meanwhile please use the solution You've found out.
User avatar
Moderator


cron