0001-fonts-add-orkney-54644.patch
README | ||
---|---|---|
321 | 321 |
# This Font Software is licensed under the SIL Open Font License, Version 1.1. |
322 | 322 |
# |
323 | 323 |
# https://github.com/cadsondemak/Krub/ |
324 | ||
325 |
* Orkney |
|
326 |
# Concept Sketches: Samuel Oakes, font development: Alfredo Marco Pradil |
|
327 |
# This Font Software is licensed under the SIL Open Font License, Version 1.1. |
|
328 |
# |
|
329 |
# https://fontlibrary.org/en/font/orkney |
|
330 | ||
324 | 331 |
~~~~ |
325 | 332 | |
326 | 333 |
Some theme variant files have their own specific licenses; refer to |
static/includes/fonts/_okney.scss | ||
---|---|---|
1 |
@mixin orkney-font($type, $weight, $style: normal) { |
|
2 |
@font-face { |
|
3 |
font-family: 'Orkney'; |
|
4 |
src: url('/static/fonts/Orkney/orkney-#{$type}.woff2') format('woff2'), |
|
5 |
url('/static/fonts/Orkney/orkney-#{$type}.woff2') format('woff2'); |
|
6 |
font-weight: $weight; |
|
7 |
font-style: $style; |
|
8 |
} |
|
9 |
} |
|
10 | ||
11 |
@mixin orkney-font-pair($type, $weight) { |
|
12 |
@include orkney-font($type, $weight); |
|
13 |
@include orkney-font(#{$type}-italic, $weight, italic); |
|
14 |
} |
|
15 | ||
16 |
@include orkney-font-pair('light', 300); |
|
17 |
@include orkney-font-pair('regular', 400); |
|
18 |
@include orkney-font-pair('medium', 500); |
|
19 |
@include orkney-font-pair('bold', 700); |
|
0 |
- |