less/less-docs

Must I import the defined mixins files everywhere I need to use the mixins?

tidiib opened this issue · 1 comments

I need to reuse some styles many times like below:

.button-text( @space: 0px ) {
    letter-spacing: @space;
    &:first-letter {
        margin-left: @space;
    }
}

When I @import it in a root file and reuse it in child files, I got this

Module build failed: 

  color: #B2B2B2;
  .button-text();
^
.button-text is undefined

Must I import the defined mixins files everywhere I need to use the mixins?

This is a question for Stack Overflow, not a specific issue about docs.