0002-add-archivo-narrow-font-29192.patch
README | ||
---|---|---|
126 | 126 |
# |
127 | 127 |
# https://www.fontsquirrel.com/license/khand |
128 | 128 | |
129 |
* Archivo Narrow |
|
130 |
# Copyright (c) 2012, Omnibus-Type (omnibus.type@gmail.com), |
|
131 |
# with Reserved Font Name "Archivo"; |
|
132 |
# |
|
133 |
# This Font Software is licensed under the SIL Open Font License, Version 1.1. |
|
134 |
# |
|
135 |
# https://www.fontsquirrel.com/license/archivo-narrow |
|
136 | ||
129 | 137 |
~~~~ |
130 | 138 | |
131 | 139 |
Some theme variant files have their own specific licenses; refer to |
static/includes/_font-archivo-narrow.scss | ||
---|---|---|
1 |
@mixin archivonarrow-font($type, $weight, $style) { |
|
2 |
@font-face { |
|
3 |
font-family: 'Archivo Narrow'; |
|
4 |
src: url('../fonts/ArchivoNarrow/archivonarrow-#{$type}-webfont.woff2') format('woff2'), |
|
5 |
url('../fonts/ArchivoNarrow/archivonarrow-#{$type}-webfont.woff') format('woff'), |
|
6 |
url('../fonts/ArchivoNarrow/archivonarrow-#{$type}-webfont.ttf') format('truetype'); |
|
7 |
font-weight: $weight; |
|
8 |
font-style: $style; |
|
9 |
} |
|
10 |
} |
|
11 | ||
12 |
@mixin archivonarrow-font-pair($type, $weight) { |
|
13 |
@include archivonarrow-font($type, $weight, normal); |
|
14 |
@include archivonarrow-font('#{$type}italic', $weight, italic); |
|
15 |
} |
|
16 | ||
17 |
@include archivonarrow-font-pair('regular', 400); |
|
18 |
@include archivonarrow-font-pair('bold', 700); |
|
0 |
- |