Lesscss> bootstrap darken () and lighten () do not compile

My Less files do not compile as they should. I use Bootstrap less files, the most recent.

It seems that fewer files are not working due to the darken () and lighten () classes.

Error:

lessc fatal error: expected color value: failed background-color: darken(@inputBackground, 1%); /Applications/MAMP/htdocs/foobar/application/less/forms.less on line 195

When I go to this line, I find darken () lighten (), delete it and the error disappears. But a new error appears, also a line with dark () of the lighten () class. Strange, right, or not? Are there any problems that anyone knows about? Since I don't want to remove lighten () and darken () everywhere, these are the finest features in Bootstrap less!

Saving files in UTF8 without specification already in SublimeText2

Edit: strange, it works when it is on my NAS. Not locally on my MacBook .. Is this an OSX problem?

+4
source share
1 answer

My problems were resolved after I reordered the smaller rules of the @import file. The color definition should be analyzed before calling darken ().

+2
source

All Articles