$asap-font-path: '/static/fonts/Asap' !default;

@mixin asap-font($type, $weight) {
	@font-face {
		font-family: 'Asap';
		src: url('#{$asap-font-path}/Asap-#{$type}.woff2') format('woff2'),
		     url('#{$asap-font-path}/Asap-#{$type}.woff') format('woff');
		font-weight: $weight;
		font-style: normal;
	}
	@font-face {
		font-family: 'Asap';
		src: url('#{$asap-font-path}/Asap-#{$type}Italic.woff2') format('woff2'),
		     url('#{$asap-font-path}/Asap-#{$type}Italic.woff') format('woff');
		font-weight: $weight;
		font-style: italic;
	}
}

@include asap-font('Regular', 400);
@include asap-font('Medium', 500);
@include asap-font('SemiBold', 600);
@include asap-font('Bold', 700);
