title: SCSS @if variable == value @import not possible?
body: <p>I am using scss in a project.
  I have a variable which depending on it's value I want to determine which scss file is imported.</p>
  <p>So I'm trying this:</p>
  <pre><code>$test: 1;
  
  @if $test == 1 {
    @import &quot;./theme1.scss&quot;;
  }
  </code></pre>
  <p>Error I'm getting is:</p>
  <pre><code>'This at-rule is not allowed here.'
  </code></pre>
  <p>Can this be done? If so how?</p>