@mixin inter-font($type, $weight, $style) {
	@font-face {
		font-family: 'Inter';
		src: url('/static/fonts/Inter/Inter-#{$type}.woff2') format('woff2'),
		     url('/static/fonts/Inter/Inter-#{$type}.woff') format('woff');
		font-weight: $weight;
		font-style: $style;
	}
}

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

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