title: Can I use url parameters in LESS css?
body: <p><strong>Intro:</strong></p>
  
  <p>I'm trying out LESS in an asp.net mvc environment.</p>
  
  <p>I use dotless for server side processing (and I wouldn't want to use client side processing especially afer publishing the complete project).</p>
  
  <p>I have to apply a design where there are different color schemes depending on different things (e.g. time of the day).</p>
  
  <p>Less felt very powerful in this case as designing a parameterized css and only changing like 10 variables at the beginning of the file for every theme was really uplifting.</p>
  
  <p><strong>Problem:</strong></p>
  
  <p>But I would need to somehow change the color themes from an outside parameter.</p>
  
  <p><strong>Ideas:</strong></p>
  
  <p>First I thought that an URL parameter like style.less?theme=fuschia would be good, but I found no way to parse something like this.</p>
  
  <p>Then I thought that making a very short blue.less, green.less, orange.less consisting only declared color variables, and including the main.less in every one of them would be a solid solution.</p>
  
  <p>I had no chance to try out the second solution, but I thought this would be a good time to ask for advice on the most robust way of doing this.</p>
  
  <p>The problem again is: I want to control some things in my less file from the outside.</p>