fonts: add Muli (#37367)
This commit is contained in:
parent
c42912b710
commit
c94d423156
8
README
8
README
|
@ -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.
|
@ -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);
|
Loading…
Reference in New Issue