0002-static-provide-Oswald-font-24487.patch
README | ||
---|---|---|
71 | 71 |
# |
72 | 72 |
# https://www.fontsquirrel.com/license/raleway |
73 | 73 | |
74 |
* Oswald font |
|
75 |
# Copyright (c) 2012, Vernon Adams (vern@newtypography.co.uk), |
|
76 |
# with Reserved Font Name Oswald |
|
77 |
# |
|
78 |
# This Font Software is licensed under the SIL Open Font License, Version 1.1. |
|
79 |
# |
|
80 |
# https://www.fontsquirrel.com/license/oswald |
|
81 | ||
74 | 82 |
~~~~ |
75 | 83 | |
76 | 84 |
Some theme variant files have their own specific licenses; refer to |
static/includes/_font-oswald.scss | ||
---|---|---|
1 |
$oswald-font-path: '../fonts/Oswald' !default; |
|
2 | ||
3 |
@mixin oswald-font($type, $weight) { |
|
4 |
@font-face { |
|
5 |
font-family: 'Oswald'; |
|
6 |
src: url('#{$oswald-font-path}/oswald-#{$type}-webfont.woff2') format('woff2'), |
|
7 |
url('#{$oswald-font-path}/oswald-#{$type}-webfont.woff') format('woff'); |
|
8 |
font-weight: $weight; |
|
9 |
font-style: normal; |
|
10 |
} |
|
11 |
} |
|
12 | ||
13 |
@include oswald-font('regular', 400); |
|
14 |
@include oswald-font('medium', 500); |
|
15 |
@include oswald-font('semibold', 600); |
|
16 |
@include oswald-font('bold', 700); |
|
0 |
- |