fonts: add orkney (#54644)

This commit is contained in:
Thomas Jund 2021-06-08 10:07:13 +02:00
parent ec5446e06c
commit 426f264840
18 changed files with 26 additions and 0 deletions

7
README
View File

@ -321,6 +321,13 @@ copyright notices:
# This Font Software is licensed under the SIL Open Font License, Version 1.1.
#
# https://github.com/cadsondemak/Krub/
* Orkney
# Concept Sketches: Samuel Oakes, font development: Alfredo Marco Pradil
# This Font Software is licensed under the SIL Open Font License, Version 1.1.
#
# https://fontlibrary.org/en/font/orkney
~~~~
Some theme variant files have their own specific licenses; refer to

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,19 @@
@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);