misc: add Abel font (#35229)

This commit is contained in:
Frédéric Péters 2019-08-06 09:44:32 +02:00
parent ebfa871405
commit 9b295e1e1e
4 changed files with 21 additions and 0 deletions

8
README
View File

@ -171,6 +171,14 @@ copyright notices:
#
# This Font Software is licensed under the SIL Open Font License, Version 1.1
* Abel
# Copyright (c) 2011, Matthew Desmond (http://www.madtype.com | mattdesmond@gmail.com),
# with Reserved Font Name Abel.
#
# This Font Software is licensed under the SIL Open Font License, Version 1.1.
#
# https://www.fontsquirrel.com/license/abel
~~~~
Some theme variant files have their own specific licenses; refer to

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,13 @@
$abel-font-path: '/static/fonts/Abel' !default;
@mixin abel-font($type, $weight) {
@font-face {
font-family: 'Abel';
src: url('#{$abel-font-path}/abel-#{$type}-webfont.woff2') format('woff2'),
url('#{$abel-font-path}/abel-#{$type}-webfont.woff') format('woff');
font-weight: $weight;
font-style: normal;
}
}
@include abel-font('regular', 400);