fonts: add Poppins (#32279)

This commit is contained in:
Frédéric Péters 2019-04-15 11:45:41 +02:00
parent a78d592956
commit d2de964a96
38 changed files with 31 additions and 0 deletions

7
README
View File

@ -157,6 +157,13 @@ copyright notices:
#
# https://www.fontsquirrel.com/license/cabin
* Poppins
# Copyright (c) 2014, Indian Type Foundry (info@indiantypefoundry.com).
#
# This Font Software is licensed under the SIL Open Font License, Version 1.1
#
# https://www.fontsquirrel.com/license/poppins
~~~~
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.

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.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,24 @@
@mixin poppins-font($type, $weight, $style) {
@font-face {
font-family: 'Poppins';
src: url('../fonts/Poppins/poppins-#{$type}-webfont.woff2') format('woff2'),
url('../fonts/Poppins/poppins-#{$type}-webfont.woff') format('woff');
font-weight: $weight;
font-style: $style;
}
}
@mixin poppins-font-pair($type, $weight) {
@include poppins-font($type, $weight, normal);
@include poppins-font('#{$type}italic', $weight, italic);
}
@include poppins-font-pair('thin', 100);
@include poppins-font-pair('extralight', 200);
@include poppins-font-pair('light', 300);
@include poppins-font-pair('regular', 400);
@include poppins-font-pair('medium', 500);
@include poppins-font-pair('semibold', 600);
@include poppins-font-pair('bold', 700);
@include poppins-font-pair('extrabold', 800);
@include poppins-font-pair('black', 900);