fonts: add Now Alt (#34260)

This commit is contained in:
Frédéric Péters 2019-06-24 13:03:39 +02:00
parent 8636b9e734
commit c4165c2e18
14 changed files with 23 additions and 0 deletions

7
README
View File

@ -164,6 +164,13 @@ copyright notices:
#
# https://www.fontsquirrel.com/license/poppins
* Now Alt
# Copyright (c) 2015, Alfredo Marco Pradil
# (<http://behance.net/pradil | ammpradil@gmail.com>),
# with Reserved Font Name Now Alt.
#
# This Font Software is licensed under the SIL Open Font License, Version 1.1
~~~~
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.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,16 @@
@mixin nowalt-font($type, $weight) {
@font-face {
font-family: 'Now Alt';
src: url('/static/fonts/NowAlt/nowalt-#{$type}-webfont.woff2') format('woff2'),
url('/static/fonts/NowAlt/nowalt-#{$type}-webfont.woff') format('woff');
font-weight: $weight;
font-style: normal;
}
}
@include nowalt-font('thin', 100);
@include nowalt-font('light', 300);
@include nowalt-font('regular', 400);
@include nowalt-font('medium', 500);
@include nowalt-font('bold', 700);
@include nowalt-font('black', 900);