title: How to use variables in different less files?
body: <p>Let's say I separate a less files into many less files to be easy to organize.
  Here is my repository:</p>
  
  <pre><code>/reset.less
  /variables.less
  /mixins.less
  /main.less
  /styles.less 
  </code></pre>
  
  <p>The styles.less is just importing the other files:</p>
  
  <pre><code>@import "reset.less";
  @import "mixins.less";
  @import "variables.less";
  @import "main.less";
  </code></pre>
  
  <p>However, when I add some codes into main.less and use the @line-color which is defined in the variables.less. It shows Name <code>Error: variable @line-color is undefined</code> and I cannot compile it- I use PHPStorm with less plugin.</p>
  
  <p>Could you pleas suggest me?</p>