fonts: add Muli (#37367)

This commit is contained in:
Frédéric Péters 2019-10-30 15:18:56 +01:00
parent c42912b710
commit c94d423156
22 changed files with 30 additions and 0 deletions

8
README
View File

@ -234,6 +234,14 @@ copyright notices:
#
# https://www.fontsquirrel.com/license/quattrocento-sans
* Muli
# Copyright (c) 2011 by vernon adams (vern@newtypography.co.uk),
# with Reserved Font Name “Muli”.
#
# This Font Software is licensed under the SIL Open Font License, Version 1.1.
#
# https://www.fontsquirrel.com/license/muli
~~~~
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.

View File

@ -0,0 +1,22 @@
$muli-font-path: '/static/fonts/Muli' !default;
@mixin muli-font($type, $weight, $style: normal) {
@font-face {
font-family: 'Muli';
src: url('#{$muli-font-path}/muli-#{$type}-webfont.woff2') format('woff2'),
url('#{$muli-font-path}/muli-#{$type}-webfont.woff') format('woff');
font-weight: $weight;
font-style: $style;
}
}
@mixin muli-font-pair($type, $weight) {
@include muli-font($type, $weight);
@include muli-font(#{$type}italic, $weight, italic);
}
@include muli-font-pair('extralight', 200);
@include muli-font-pair('light', 300);
@include muli-font-pair('regular', 400);
@include muli-font-pair('semibold', 600);
@include muli-font-pair('bold', 700);