@mixin ibm-font($type, $weight, $style) {
	@font-face {
		font-family: 'IBM Plex Serif';
		src: url('/static/fonts/IbmPlexSerif/IBMPlexSerif-#{$type}.woff2') format('woff2'),
		     url('/static/fonts/IbmPlexSerif/IBMPlexSerif-#{$type}.woff') format('woff');
		font-weight: $weight;
		font-style: $style;
	}
}

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

@include ibm-font-pair('Thin', 100);
@include ibm-font-pair('ExtraLight', 200);
@include ibm-font-pair('Light', 300);
@include ibm-font-pair('Medium', 500);
@include ibm-font-pair('SemiBold', 600);
@include ibm-font-pair('Bold', 700);
@include ibm-font-pair('Text', 400);
@include ibm-font('Regular', 400, normal);
@include ibm-font('Italic', 400, italic);
