$yantramanav-font-path: '/static/fonts/Yantramanav' !default;

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

@include yantramanav-font('thin', 100);
@include yantramanav-font('light', 300);
@include yantramanav-font('regular', 400);
@include yantramanav-font('medium', 500);
@include yantramanav-font('bold', 700);
@include yantramanav-font('black', 900);

