fonts: add orkney (#54644)
This commit is contained in:
parent
ec5446e06c
commit
426f264840
7
README
7
README
|
@ -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.
|
@ -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);
|
Loading…
Reference in New Issue