misc: add Abel font (#35229)
This commit is contained in:
parent
ebfa871405
commit
9b295e1e1e
8
README
8
README
|
@ -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.
|
@ -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);
|
Loading…
Reference in New Issue