title: How to generate multiple mixins (mixin lib) with loop in sass
body: <p>I would like to keep my sass code short. </p>
  
  <p>instead of </p>
  
  <pre><code>@mixin tg($font-size,$line-height) {
    something related to font-size and line-height
  }
  
  @mixin h1 {
    @include tg 
  }
  
  @mixin h2 {
    @include tg 
  }
  
  ....
  </code></pre>
  
  <p>How can i create a @mixin lib with loop?</p>
  
  <pre><code>$typography-list: h1, h2......
  @mixin tg($font-size,$line-height) {
    something related to font-size and line-height
  }
  
  
  @each $typography in $typography-list {
    create @mixin {
      @include tg()
    }
  }
  </code></pre>
  
  <p>if so, what is the best way of doing it?</p>