title: How to use LESS to manage multiple site themes
body: <p>So I understand that a similar question has been asked somewhat before : <a href="https://stackoverflow.com/questions/17442827/structure-a-stylesheet-to-manage-skins-or-themes">Structure a stylesheet to manage skins or themes</a> Although I think due to <a href="https://stackoverflow.com/users/2068084/kapsula">kapsula</a> not being able to articulate (him/her)self properly it was deemed unclear.</p>
  
  <p>I am working on a large project with mulitple CSS/LESS files. We have broken up a lot of the monolithic CSS files into individual ones for CSS specific to certain pages as well as common CSS files for common elements on each page (menus, image placeholders, etc..)</p>
  
  <p>We would like to incorporate multiple themes for the project so we decided upon the following structure:</p>
  
  <p>In the base directory we have all the CSS/LESS specific to all the pages in project, except the colours which we set in the theme directories which are situated within the base directory.</p>
  
  <p>So it looks something to the effect of this:</p>
  
  <pre><code>-CSS
    - ORANGE [directory]
      -&gt; classic.less
      -&gt; controls.less
    -&gt; classic.less
    -&gt; controls.less
  </code></pre>
  
  <p>Inside the classic.less file in the ORANGE directory we simply insert the directive <code>@import "../classic.less"</code> and upon saving the file our CSS is generated with all our lovely colour themeing as stipulated in the <code>ORANGE-&gt;classic.less</code> file. </p>
  
  <p>So while this process has saved a little bit of work in terms of management of the files, every time I make a change in base directory (maybe i added a new element type to the front end) I have to go into each LESS file that inherits from it and save it again in order for the new CSS to be generated.</p>
  
  <p>Is there a more efficient way of doing this? Or am I looking at doing themeing in an incorrect manner. Should I illustrate what I am trying to do a little bit more?</p>