20 lines
639 B
SCSS
20 lines
639 B
SCSS
@mixin orkney-font($type, $weight, $style: normal) {
|
|
@font-face {
|
|
font-family: 'Orkney';
|
|
src: url('/static/fonts/Orkney/orkney-#{$type}.woff2') format('woff2'),
|
|
url('/static/fonts/Orkney/orkney-#{$type}.woff') format('woff');
|
|
font-weight: $weight;
|
|
font-style: $style;
|
|
}
|
|
}
|
|
|
|
@mixin orkney-font-pair($type, $weight) {
|
|
@include orkney-font($type, $weight);
|
|
@include orkney-font(#{$type}-italic, $weight, italic);
|
|
}
|
|
|
|
@include orkney-font-pair('light', 300);
|
|
@include orkney-font-pair('regular', 400);
|
|
@include orkney-font-pair('medium', 500);
|
|
@include orkney-font-pair('bold', 700);
|