These are chat archives for less/less.js

27th
Jan 2019
dimtabu
@taburetkin
Jan 27 11:16

i have a question
what will be in result css in this case:

//common.less
.common-mixin(@c, @bg) {
  color: @c;
  background-color: @bg;
}
.common {
   text-decoration: underline;
   .common-mixin(#444, #eee);
}
//main.less

@import './common.less;
.common.a {
  .common-mixin(white, tomato);
}

@import './common.less;
.common.b {
  .common-mixin(white, teal);
}

i wonder, how many times .common will be included in resulting css?