add archivo narrow font (#29192)
This commit is contained in:
parent
85c04e5667
commit
cff0390924
8
README
8
README
|
@ -126,6 +126,14 @@ copyright notices:
|
|||
#
|
||||
# https://www.fontsquirrel.com/license/khand
|
||||
|
||||
* Archivo Narrow
|
||||
# Copyright (c) 2012, Omnibus-Type (omnibus.type@gmail.com),
|
||||
# with Reserved Font Name "Archivo";
|
||||
#
|
||||
# This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
#
|
||||
# https://www.fontsquirrel.com/license/archivo-narrow
|
||||
|
||||
~~~~
|
||||
|
||||
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.
|
@ -0,0 +1,18 @@
|
|||
@mixin archivonarrow-font($type, $weight, $style) {
|
||||
@font-face {
|
||||
font-family: 'Archivo Narrow';
|
||||
src: url('../fonts/ArchivoNarrow/archivonarrow-#{$type}-webfont.woff2') format('woff2'),
|
||||
url('../fonts/ArchivoNarrow/archivonarrow-#{$type}-webfont.woff') format('woff'),
|
||||
url('../fonts/ArchivoNarrow/archivonarrow-#{$type}-webfont.ttf') format('truetype');
|
||||
font-weight: $weight;
|
||||
font-style: $style;
|
||||
}
|
||||
}
|
||||
|
||||
@mixin archivonarrow-font-pair($type, $weight) {
|
||||
@include archivonarrow-font($type, $weight, normal);
|
||||
@include archivonarrow-font('#{$type}italic', $weight, italic);
|
||||
}
|
||||
|
||||
@include archivonarrow-font-pair('regular', 400);
|
||||
@include archivonarrow-font-pair('bold', 700);
|
Loading…
Reference in New Issue