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

@include krub-font('Extralight', 200);
@include krub-font('Light', 300);
@include krub-font('Regular', 400);
@include krub-font('Medium', 500);
@include krub-font('Semibold', 600);
@include krub-font('Bold', 700);
