$museomoderno-font-path: '/static/fonts/MuseoModerno' !default;

@mixin museomoderno-font($type, $weight, $style: normal) {
    @font-face {
        font-family: 'MuseoModerno';
        src: url('#{$museomoderno-font-path}/MuseoModerno-#{$type}.woff2') format('woff2');
        font-weight: $weight;
        font-style: $style;
    }
}

@mixin museomoderno-font-pair($type, $weight) {
    @include museomoderno-font($type, $weight);
    @include museomoderno-font(#{$type}Italic, $weight, italic);
}

@include museomoderno-font-pair('Thin', 100);
@include museomoderno-font-pair('ExtraLight', 200);
@include museomoderno-font-pair('Light', 300);
@include museomoderno-font-pair('Regular', 400);
@include museomoderno-font-pair('Medium', 500);
@include museomoderno-font-pair('SemiBold', 600);
@include museomoderno-font-pair('Bold', 700);
@include museomoderno-font-pair('Black', 900);
