/**
*   GENERATE HEADING
*/
$font-size-heading: $font-size-heading-1, $font-size-heading-2, $font-size-heading-3, $font-size-heading-4, $font-size-heading-5, $font-size-heading-6;
$font-types: 'Thin', 'ExtraLight', 'Light', 'Regular', 'Medium', 'SemiBold', 'Bold', 'ExtraBold', 'Black';
$font-weights: 100, 200, 300, 400, 500, 600, 700, 800, 900;

@for $i from 1 to 6 {
    h#{$i} {
        font-weight: 700;
        font-size: nth($font-size-heading, $i);
    }
}

@mixin add-font($fontName, $types: $font-types, $weights: $font-weights) {
    @for $i from 1 to length($types) {
            @font-face {
            font-family: $fontName;
            src: url('../src/assets/fonts/#{$fontName}/#{$fontName}-#{nth($types, $i)}.ttf') format('truetype');
            font-weight: nth($weights, $i);
        }
    }
}
