fonts: add Manrope font (#69851)
This commit is contained in:
parent
fab640c536
commit
ba28e5b7a4
7
README
7
README
|
@ -394,6 +394,13 @@ copyright notices:
|
||||||
#
|
#
|
||||||
# https://www.fontsquirrel.com/license/rubik
|
# https://www.fontsquirrel.com/license/rubik
|
||||||
|
|
||||||
|
* Manrope
|
||||||
|
# Copyright 2018 The Manrope Project Authors. All rights reserved
|
||||||
|
#
|
||||||
|
# TThis Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||||
|
#
|
||||||
|
# https://github.com/sharanda/manrope
|
||||||
|
|
||||||
~~~~
|
~~~~
|
||||||
|
|
||||||
Some theme variant files have their own specific licenses; refer to
|
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.
|
@ -0,0 +1,16 @@
|
||||||
|
$manroppe-font-path: '/static/fonts/Manrope' !default;
|
||||||
|
|
||||||
|
@mixin manrope-font($type, $weight, $style: normal) {
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Manrope';
|
||||||
|
src: url('#{$manroppe-font-path}/manrope-#{$type}.woff2') format('woff2');
|
||||||
|
font-weight: $weight;
|
||||||
|
font-style: $style;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@include manrope-font('Light', 300);
|
||||||
|
@include manrope-font('Regular', 400);
|
||||||
|
@include manrope-font('Medium', 500);
|
||||||
|
@include manrope-font('SemiBold', 600);
|
||||||
|
@include manrope-font('Bold', 700);
|
Loading…
Reference in New Issue