title: Store mixin in mixin's parameter with SASS
body: <p>I have a code which builds up the required styles with query in the class. What I want to earn:</p>
  
  <pre><code>@mixin views ($mixinToApply) {
    @include $mixinToApply;
    &amp;-from-tablet {
      @media only screen and (min-width: 768px) {
        @include $mixinToApply;
      }
    }
    &amp;-from-desktop {
      @media only screen and (min-width: 1280px) {
        @include $mixinToApply;
      }
    }
  }
  
  $colors: (
    red, blue, purple
  );
  
  @mixin setColors {
    @each $color in $colors {
      &amp;-#{$color} {
        color: $color;
      }
    }
  }
  
  .colors { @include setColors }
  
  /*
  it will set the colors initially, but if I want to change colors
  if the window reaches the breakpoint, we'd need something like this
  */
  
  .colors { @include views ($setColors) }
  </code></pre>
  
  <p>It could save a lot of time, if we have multiple mixins. They'd only need to be processed through <code>views</code>.</p>
  
  <p>Any idea how to reach the above effect?</p>