thomasdavis / kaleistyleguide

This project aims at making sure your style sheets are fully documented whilst being synchronized with your webpages styles. To do this it actually uses your live stylesheets in so that at anytime you can review how your styleguide looks.
http://kaleistyleguide.com
The Unlicense
669 stars 106 forks source link

LESS' :extend not working #56

Open born2webdesign opened 9 years ago

born2webdesign commented 9 years ago

Hi,

Kalei looks really nice (no need to explicitly compile the styleguide), but LESS' :extend doesn't seem to work - I tried this:

.media {
  &:extend(.block);
  overflow: hidden;
}

While lessc does compile this correctly, in kalei the :extend seems to be ignored. A mixin does work, though. Even though :extend was introduced in less 1.4.0 (I think), I also tried to swap out kalei's less.js (1.7.3) with a current one (2.5.0) - that ends up in an almost empty page, just Loading styles? Am I doing something wrong or how can this be fixed? TIA